Part II: Mining and the Chain

Let’s delve further into the workings of blockchain. We learnt about blocks last time – but what about the chain?

The hashing concept is still all-important for the way blocks get added to the chain and then spread (‘distributed’) around the network. So here’s a recap on hashing:


Making a hash of it

A hash (or hash reference) is a random string of numbers. Hash functions are a method of creating an identifier for a set of data. You put something in, the function does its thing with the code, and it spits something out. That something is called a hash (or hash reference).

The hash spat out by the function is determined by whatever you put into it in the first place.

For example, when you input the sentence ‘Amanda loves blockchain’, the output might be ‘288ejald20038afljadl463283lqpppskw42839’. This is called the ‘hash’.

The hash of ‘Amanda loves blockchain’ will always be ‘288ejald20038afljadl463283lqpppskw42839 when that sentence is run through a hash function, because it is determined by the sentence I entered.

Hash references are usually irreversible, which means that given ‘288ejald20038afljadl463283lqpppskw42839’, I cannot work out that the input was ‘Amanda loves blockchain’.  I’ve just used random combinations of characters here, but usually hash references are set lengths depending on the function that produces them.

Hashing can therefore be used to prove the ‘identity’ or content of a particular set of data, without revealing the content itself.

Hash puzzles in Blockchain

If someone wanted to know my sentence, they cannot discover it from the hash ‘2884659200387546328342839’. However, they can guess the sentence input, make a hash of that and compare it to my hash to see if they match. If their hash is ‘2884659200387546328342839’, they will know they guessed correctly.

This is called a ‘hash puzzle’. Hash puzzles involve finding the solution to a problem by trial and error, which uses up computing power.

Hash puzzles are used in blockchain to provide security to the network.


The participants in a blockchain network are called ‘nodes’. Nodes are basically the different computers connected to the network.

The ‘miners’ in a blockchain network are specific nodes who use their own computing power and electricity to create and maintain the blockchain. This now requires specialised hardware to deal with the processing power required, but when Bitcoin first started it was possible to mine from a laptop.

Miners are set the task of solving hash puzzles in order to add blocks to the blockchain. They use their computing power to solve the puzzles. Once the puzzle is solved, the new block is attached to the end of the blockchain. The process is called ‘proof of work’ because the miners are proving their ‘work’ or effort by solving the hash puzzle.

Note – not all blockchains use proof of work and not all create cryptocurrency in the same way, but the Bitcoin blockchain is used here as an example of the first proof of work blockchain.


Currency creation

The process of mining in the Bitcoin blockchain serves the purpose of creating new Bitcoins. Miners receive a certain amount of Bitcoins that they have created, which is called the ‘block reward’. The amount of Bitcoins released into the Bitcoin blockchain is set for each block in the underlying code of Bitcoin.

Currently the block reward is set to 12.5 Bitcoins per block, which you can see here.  The first transaction in every block is the block reward plus the transaction fees. The amount of block reward halves every 210,000 blocks.

When Satoshi Nakamoto set up Bitcoin, he/she/they specified that only 21 million Bitcoins will ever be released. There is no constant amount of new coins, there are only the rules set to determine the supply over time through the mining process.  This was the beginning of the very interesting area called ‘crypto-economics’ which I will explore in a future post!

The miners therefore get paid for maintaining the blockchain network. It is in their interests to mine as efficiently as possible in order to beat competitor miners, solve the puzzle first and receive the compensation.

The compensation is the combination of the ‘block reward’, ie the newly mined currency, and a transaction fee that is charged for transactions being added to the blockchain. These things represent the ‘cost’ of the integrity of data in the system because the ‘reward’ of payment to miners ensures it is in their interests to act honestly.

Distributing the ledger

The miner distributes the new history of blocks with the new block attached to the end to the other nodes. It uses what is known as the ‘gossip protocol’, which is a set of rules that work by essentially spreading the word through the network.

Word spreads that there is a new block to attach to the chain.  As each node receives the new block, it appends it to the end of the blockchain and maintains the new record going forward.

It is possible that different miners solve hash puzzles almost simultaneously, producing more than one potential version of the blockchain ledger. Nodes do not keep the same version of the ledger at all times. Instead, the highest ‘rated’ version of the database that each node is aware of is stored by them.


Putting the ‘chain’ in blockchain

The way a ‘version’ or branch of the blockchain is rated is by being the longest chain. Nodes will therefore accept a version of the chain that is the same as their current version, but with a new block attached.



In the event they are distributed a version that conflicts with their own version, the chain with the highest amount of cumulative proof-of-work is accepted. This is because the probability that a block will be replaced decreases quickly as more blocks are added after it.

The correct ‘version’ of a blockchain ledger therefore is the longest chain of blocks in the system.  Some transactions might not be in the longest chain and are unconfirmed. They will be dropped from the mining process and still available for mining. They can now be added to future blocks in the chain.

Blockchains grow as more blocks are created and added to the chain. There are different types of blockchain out there and in future posts we’ll take a look at some of them.

416 Trackbacks / Pingbacks

  1. viagra from india
  2. cialis 20 mg
  3. generic for cialis
  4. cialis pills
  5. cialis 20
  6. viagra 100mg
  7. pills for erection
  8. ed pills online
  9. ed pills for sale
  10. buy cialis generic
  11. online canadian pharmacy
  12. cialis visa
  13. cheap levitra
  14. buy levitra
  15. hollywood casino online
  16. generic viagra cost
  17. online casinos for usa players
  18. online casinos
  19. cash loans
  20. online loans
  21. viagra prescription
  22. online casino betting sites
  23. cialis to buy
  24. efcaxdszdfszgd
  25. 5 mg cialis
  26. m980u9oy9y98o8y9pm
  27. m90uojmuy7hjhhhh
  28. generic cialis
  29. rxc43rw435tr53t453t
  30. generic for cialis
  31. online viagra
  32. real money online casinos usa
  33. Brighton to Heathrow Taxi
  34. online casinos real money
  35. free slots
  36. buy generic viagra online
  37. cheapest generic viagra
  38. generic viagra without subscription walmart
  39. viagra online prescription free
  40. Selfie Face Mask Nose
  41. when to take viagra
  42. cxqw234xracrwcr4
  43. xdsffx4crta4rtxa34w
  44. tadalafil generique
  45. viagra prescription
  46. viagra buy
  47. viagra without a doctor prescription not scam
  48. generic viagra
  49. buy viagra without prescription
  50. viagra without a doctor prescription
  51. viagra fast shipping overnight
  52. viagra coupon
  53. where can i buy viagra on the high street
  54. cialis without a doctor prescription
  55. cialis cialis online
  56. cialis coupon
  57. cheap viagra
  58. viagra cheap
  59. buy cialis
  60. cheapest generic viagra
  61. sildenafil
  62. viagra without prescription
  63. viagra prescription
  64. canadian pharmacy viagra
  65. cialis pills
  66. cialis without prescription
  67. where to buy cialis
  68. brand viagra pfizer 100mg
  69. cialis price costco
  71. cialis 1800
  72. viagra erection
  73. is generic cialis from india safe
  74. generic viagra online india
  75. cialis 5mg
  76. viagra sex
  77. uscojufm9r4tue4urtse4
  78. hạt macca úc 500g
  79. news
  81. royal cbd
  87. best cbd oil
  88. viagra 100mg online sales
  90. cbd oil
  91. royal cbd
  92. mitrade lua dao
  93. maisgeek
  94. side effects of taking viagra
  95. bestratedmerch
  96. viagra nitric oxide
  97. 메리트카지노 주소
  100. 918kisslogin
  101. viagra for sale in canada
  102. 메리트카지노 사이트
  103. transexual
  104. natural skin care products
  105. washington pa
  107. cbd for sale
  108. 메리트카지노
  109. xe88 dealer
  110. coating inspector
  111. learn more
  112. proven customer reviews
  113. cialis with dapoxetine
  114. Roberto Badalotti
  115. generic viagra mexico
  116. weight loss pills that work
  117. eu driving license post brexit
  118. free porn video
  119. women's sunglasses
  120. sälja klocka på auktion
  121. Loozap Vehicules Congo Kinshasa
  122. silencil reviews
  123. blackjack online
  125. escort kadikoy
  126. brokerreview scam
  127. scam site
  128. cialis 200mg pills generic
  129. hydroxychloroquine side effects eyes
  130. price of albuterol
  131. rev transcription
  132. buy viagra in canada online
  133. sàn giao dịch forex
  134. airport car
  135. Apartemen bsd
  136. health supplements
  137. here
  138. viagra pills cheap
  139. no insurance doctors office
  140. sisteme de copiat
  141. tamilgun new movie
  142. sàn giao dịch forex uy tín
  143. best horror films on netflix uk
  144. agencia detectives valencia
  145. Visit our site
  146. order viagra pills
  147. prescription cost for cialis
  148. canada pharmacy
  149. microdose mushrooms
  150. best prices cialis 5mg
  151. benefits of ivermectin
  152. mexican cialis fast delivery
  153. film izle
  154. film izle
  155. hd film izle
  156. alternative to cenforce for men
  157. deltasone 10
  158. scrap car removal vancouver
  159. canada news usa
  160. residential handyman
  161. 777 casino
  162. ivermectin dose for corona
  163. hydroxychloroquine cost
  164. cara hack mesin slot online
  165. vidalista advertisement
  166. when to take cialis
  167. A3 Drucker
  168. is sildenafil the same as viagra
  169. Aaron Lal
  170. why is hydroxychloroquine so expensive
  171. Aaron Lal
  172. my mega888 claim
  173. dapoxetine for sale
  175. trusted online sites for viagra
  176. my mega888 demo id
  177. Adam Robinson Bendigo
  178. manufacturer of plaquenil
  179. Malisa Shrum
  180. best price generic vidalista
  181. malaysia mega888 halloween
  182. international
  183. what happens when you take viagra
  184. human hair lace wigs
  185. 等身大リアルドール
  186. silkhair
  187. human hair
  188. mega888 game tips
  189. description
  190. 34cr4rxq3crq34rq3r4
  191. download download game mega888 original
  192. young entrepreneur singapore
  193. Kingpen
  194. Julian Di Benedetto
  195. Pound of Weed
  196. buy cialis
  197. can canadians buy viagra online
  198. stray kids merch
  199. aurogra doctor
  200. c34r54wxw4r34c3
  201. j c social media
  202. cialis generic date
  203. fire sprinkler maintenance engineers
  204. galaforex
  205. diet pills
  206. quick weight loss
  207. buy viagra 150 mg red pill online no prescription
  208. generic vidalista without a doctor prescription
  209. hydroxychloroquine coronavirus africa
  210. twitter followers free
  211. generic cialis 10mg online
  212. 원샷홀덤
  213. cialis online
  214. walmart pharmacy cialis 20mg price
  215. kienthucfx
  216. casino online malaysia
  217. silencil scam
  218. daily
  219. sildenafil online
  220. lingerie bras and things
  221. provoli epiheirisis internet
  222. high quality battery
  223. viagra 50 mg for sale
  224. real casino online malaysia
  225. svg files
  226. click here
  227. t-shirt print
  228. room for improvement
  229. acheter en Vefa
  231. scratch-off
  232. best cbd for dogs
  233. best cbd gummies
  234. vanilla candle benefits
  235. cbd oil for dogs
  236. tadalafil without an rx
  237. best cbd oil for depression
  238. is viagra a prescription drug
  239. cbd near me
  240. best cbd oil for dogs
  241. cbd oil for anxiety
  242. best cbd oil
  243. best cbd gummies
  244. best cbd oil for depression
  245. best cbd gummies
  246. best cbd for dogs
  247. tadalafil 40mg price
  248. prescription for viagra over the internet
  249. Website
  250. sensitive cat food
  251. no prescription generic tadalafil
  252. astrophotography tracking mount
  253. real estate
  254. GST billing software
  255. genevihodsef
  256. ethical fashion
  257. cialis and alcohol side effects
  258. order viagra discreetly
  259. cialis 20mg walmart price
  260. Google
  261. roof box for car
  262. best cbd dog treats
  263. best cbd gummies for sleep
  264. drug interactions with cialis
  265. cbd gummies for sleep
  266. cbd gummies for pain
  267. cbd dog treats
  268. cbd gummies for sale
  269. cbd near me
  270. cbd dog treats
  271. cbd oils for pain
  272. cbd for dogs
  273. buy cbd oil
  274. generic form of cialis
  275. buy instagram followers
  276. treats
  277. slot
  278. fda warning on hydroxychloroquine
  279. tv-smarters
  280. hydroxychloroquine in south dakota
  281. 토토커뮤니티
  282. Buy Oxycodone Online
  283. buy kratom online
  284. hydroxychloroquine use for covid19
  285. kratom for anxiety
  287. Binance Review
  288. Geruson
  290. 강남 안마
  291. Puppies Orlando
  293. cialis generic vs brand name
  294. 강남 안마
  295. 우리카지노
  296. 퍼스트카지노
  297. personal loan
  298. 강남안마
  299. compare free alternative remote team management tools
  301. nursing job interview questions
  302. does hydroxychloroquine really work
  303. hydroxychloroquine treatment for coronavirus
  304. ivermectin at walgreens
  306. woroniec budowlanka
  307. cialis bph reviews
  308. paypal online casinos
  309. Ben marks Mackay
  310. digital g shock
  312. kratom powder
  313. kratom capsules
  314. kratom tea for sale
  315. giaodichforex fraud
  316. yorkie puppies for sale
  317. cialis dosage instructions
  318. effectiveness of cialis vs viagra
  319. where can i get cialis over the counter
  320. Hospitality & Entertainment Recruitment Agency
  321. safestore auto
  322. roulette
  323. canada pharmacy
  324. free download for laptop pc
  325. surrey tires
  326. pc apk free download for windows
  327. free download for windows 7
  328. Eli Dangerfield Reviews
  329. miroitier paris
  330. Make millions with crypto safemoon?
  332. cheap pet supplies
  333. esoteric
  334. Emaille pin
  335. dapoxetine us approval
  336. THC vape juice Saudi Arabia
  337. taking tadalafil with aurogra 100mg
  338. cigar clubs
  339. divorce lawyer singapore
  340. livonia air conditioner service
  341. discount pet supplies online
  342. top download mp3
  343. best way to make pizza in oven
  344. Alabama Fake driver's license
  345. dog collars and harnesses
  346. best wireless over ear headphones for working out
  347. love tantra
  348. melhores hospedagens
  349. gout
  350. 网络作弊
  351. canvas paintings
  352. sensitiveskinsolution
  353. slot online
  354. buy oxycodone acetaminophen 10/325 en español
  355. SD ATM Supply
  356. purpose of flagyl cipro combination
  357. tinder background checks
  358. Маршрутизаторы
  360. Aaron Lal
  361. title 24 report
  362. pet supply stores
  363. social media
  364. Superslot
  365. bitcoin brokers
  366. Τα νέα κάθε δυναμικής γυναίκας που σέβεται και αγαπά τον εαυτό της. Το HerNews ενημερώνει για ό
  368. Dokan Pro WordPress Plugin Nulled
  369. シーズンセールイベント
  370. Affirmation Shop or Be Enough Affirmation Shop
  371. click here
  372. price of albuterol at walmart
  373. laptop support jona
  374. Herbal incense
  375. 온라인홀덤
  376. Herbal incense
  377. hydroxychloroquine acr pdf
  378. find a ghostwriter
  380. best travel quotes
  381. prepping
  382. studio dentistico torino
  383. Electronics
  384. buy guns online nc
  385. shipping containers for sale virginia
  386. nageldesign wien
  389. buy tadalafil online no prescription
  390. online pharmacies canada
  391. como ganar dinero en internet
  392. virtual visa card buy with bitcoin
  393. antibiotics for animals for sale
  394. Buy Weed Tins Online Europe
  395. shipping crates for sale, 20ft container
  396. Copper energy rings
  397. virtual card buy
  398. instagram takipçi satın al
  400. buy delta 8
  401. canadian pharmacies
  402. where to buy delta 8
  404. Viagra dla kobiet
  405. how to earn bitcoin for free
  406. Viagra cena
  407. para kazanma
  408. tsescorts
  409. tele consultancy
  410. where can i buy cialis tablets
  411. smith & wesson
  412. buy heroin online
  413. communication training courses
  414. train the trainer courses sydney
  415. 샌즈카지노
  416. 메리트카지노

Leave a Reply