Blockchain: How does it work? Part I

So you’ve read some stuff about blockchain (maybe even my last article), you’ve had a few conversations about it… But still don’t really get it?

What you really want to know is…

How does blockchain work?

Blockchain technology consists of many different pieces. Just like with Lego, you choose the pieces you use to make the finished product.  This post and my next post will explore the key building blocks and how blockchains are made:In this post we will look at 2 of the building blocks that show how blockchain works:

1) Transactions (Bitcoin as an example: sending money between participants, proving ownership and identity)
2) The blockchain structure (the chain of blocks and how to put one together)

To do this, we need to know more about the concept of 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.

Building Block 1) Transactions – public and private keys

One use of hash references in blockchains is creating transactions; sending money or an equivalent ‘cryptocurrency’ (digital money) from one participant to another. The Bitcoin blockchain is the most well known example of this.


Public and Private Keys

The public and private key system enables one person to send cryptocurrency to another. Each person needs a pair of keys, one public and one private, to enter into transactions.  We can use the public key to generate the private key through a mathematical formula, so that they’re digitally linked.

The public key also produces your ‘address’, which you need for someone to send you something (eg. A Bitcoin) on a blockchain.

There is a private key linked to each public key. The private key is secret and only its owner should know what it is, like a password.

If someone else gets access to your private key, they can use it to impersonate you and steal your stuff.

Private keys are simultaneously a proof of ownership and of identity. By proving you have the private key linked to a particular public key, you can prove you are the owner of a token or asset on a blockchain.

Private keys are used to provide a digital ‘signature’ on every transaction that is sent on the blockchain – to prove authorisation by the true owner of the value being moved.

It is possible to require multiple private key holders to sign a particular transaction to provide extra security – this is called ‘multisig’ and can be useful if more than one person’s authorisation is required to release funds.

If you have a business and want multiple staff to sign off on certain purchases for example, this could be one way of doing it.

Building block 2) The blockchain structure

This is about how we put the information about transactions into the blockchain.

Each transaction is hashed into a structure known as a ‘Merkle tree’. This looks like an upside-down tree with multiple branches, where the hash of each transaction is used to combine multiple transactions into blocks.

By using the hash references of the data, the information is condensed down into a more manageable format and packaged together in the blockchain structure. Yet you can still trace all the way back to the underlying information, because the system of hashing links everything together.

Merkle Trees

The hash of transaction 1 and transaction 2 is combined, this is then hashed and combined with the hash of transactions 3 and 4, etc. In this way , the hash of all transactions are combined in one block, whose hash contains a reference to all the transactions within it:


You can see above that transactions 1 and 2 are hashed into reference R12. This is then hashed into R1234 with the reference R34. R1234 therefore references back to all 4 underlying transactions.

Transactions 1,2,3 and 4 are added into a block whose ‘block header’ (like the title of each block) will contain the R1234 hash reference to them.

Block Headers

The block header of each block contains a few things:
– A hash pointer – which links to the previous block.
– A timestamp
– The hashed data

Using this system, all transactions in the blockchain are ordered and marked.

How to alter a blockchain

Once recorded on the blockchain, the transactions cannot be modified, because changing the data within each block will change the hash references (remember hashes are dependent on the data within them, like in the ‘Amanda loves blockchain’ example above).  

So if the sentence was changed to ‘Amanda hates blockchain’, the hash might become ‘934tnglaao3ri82000ofoajda002eu12473’, and would be instantly unrecognisable if compared to the original hash output.

Which is good, because no one would ever write that, let alone make a permanent record of it on a blockchain.

This system makes fraud impracticable, although not impossible, in a blockchain. Because changing a hash reference must involve changing all the previous hash references that have contributed to that hash.


So a fraudster trying to change some information (maybe registration details, transaction amount etc) would need to alter the hash of the relevant transaction, all the hashes that refer to it within the same block, and then all the previous block hash references and data hashes within them back to the beginning of the blockchain… You see how it is possible, but highly improbable.

The sequence of data made up by the chain of blocks constitutes the digital distributed ledger of transactions, or the blockchain. As blocks are added to the chain, the previous blocks are further cemented into the blockchain.

You now know about some of the main principles on which blockchain technologies are built – celebrate!

Watch out for part II of How blockchain works coming soon where we’ll explore mining and how cryptocurrencies like Bitcoin are created!

632 Trackbacks / Pingbacks

  1. 3mc8w5wt4twyvnmtc5twmcw
  2. 3cm5wy4ctw54mtwno5cytwib45t
  3. viagra 5mg price
  4. generic cialis for sale
  5. cialis without prescription
  6. generic cialis cost
  7. cialis super active
  8. viagra generic
  9. cheap erectile dysfunction pills
  10. ed pills
  11. best ed pills
  12. cialis for sale
  13. pharmacy online
  14. levitra generic
  15. play casino online
  16. online casino games
  17. viagra for women
  18. best slots to play online
  19. real online casino
  20. tadalafil 20 mg
  21. pay day loans
  22. online payday loans
  23. payday loans online
  24. viagra prescription
  25. betting sites with jackpots
  26. cialis 20
  27. efcaxdszdfszgd
  28. buy cialis
  29. m980u9oy9y98o8y9pm
  30. m90uojmuy7hjhhhh
  31. new cialis
  32. rxc43rw435tr53t453t
  33. cialis buy
  34. cialis 5 mg
  35. casino online real money
  36. conferance car
  37. uk taxi company contact
  38. play casino
  39. casino online
  40. best online casino for money
  41. canadian pharmacy viagra
  42. what is sildenafil
  43. viagra prescription
  44. Large Wall Tapestry
  45. cxqw234xracrwcr4
  46. discount cialis
  47. xdsffx4crta4rtxa34w
  48. order viagra online
  49. generic cialis reviews
  50. Face Mask Pack
  51. pharmacy cheap no prescription
  52. Google
  53. buy generic viagra online usa
  54. generic pills in usa
  55. real money casino online
  56. counterfeit money
  57. Buy LSD Online
  58. undetectable counterfeit money online
  59. casino world
  61. Venice photography
  62. free download for windows pc
  63. Group health insurance plans
  64. Employee benefits
  65. Eon Thailand
  66. airport pick up
  67. booking login
  69. London’s heart of music
  70. Gel nail polish
  71. bitsler
  73. job
  74. cialis price
  75. trade coin
  76. cialis vs viagra
  77. how to start your own internet marketing business
  78. Denver SEO
  79. hydroxychloroquine price canada
  80. pueblo seo
  81. cialis online purchase
  82. اغانى شعبى
  83. wedding bartenders
  84. cialis no prescription
  85. it disposal wokingham
  88. generic viagra no perception
  89. cialis buy
  90. Plastic Surgery in Turkey
  91. apex legends hile satın al
  92. Sphynx Kittens For Sale Near Me
  93. kittens for adoption
  95. dildo for beginners
  96. alex more
  97. viagra canada
  98. en uygun uçak bileti
  99. redclovefoods
  101. ترفند تضمینی بازی انفجار
  102. giayu2
  103. additional reading panos germanos
  104. find out this here ΠΑΝΟΣ ΓΕΡΜΑΝΟΣ
  105. cialis order online
  106. Damiana
  107. witgoed reparatie
  109. buy marijuana online
  111. Mini Aussies
  112. tablet klor
  113. mobilya çeþitleri
  115. from this source ΑΠΟΦΡΑΞΕΙΣ
  116. best grills
  118. Used guns for sale near me
  119. Magic Mushrooms
  120. Beretta m9a1 for sale
  121. Gun Shops Near Me
  122. Puppies near me
  124. CBD Vape Cartridge
  125. Mall of Islamabad
  127. şişme mont
  128. yatırım teşvik belgesi
  129. arıtma cihazı filtre değişimi
  130. uscojufm9r4tue4urtse4
  131. haber
  132. hrdf training course penang
  134. free followers
  135. karlsruhe
  136. chương trình sinp
  137. find out more
  143. royal cbd
  144. cbd gummies
  146. approved pharmacy
  147. o-dsmt
  149. royal cbd oil
  150. Pure Colombian Cocaine
  151. cbd for sale
  152. Change DMT
  153. Maltipoo puppies
  154. Fire Herbal Incense
  155. Dank Cartridges
  157. film
  158. mitrade lua dao
  159. Wedding jewelry for her
  160. apps download for windows 8
  161. pubg mobile hile
  162. online pharmacy usa
  163. pharmacy canada pharmacy
  164. Fix Insta­gram Not Work­ing
  165. Best price for viagra
  166. 메리트카지노 추천
  168. xe88
  169. transexual
  170. natural skin care products canada
  171. 47995
  172. Đồ cúng tâm linh
  173. 메리트카지노
  174. marmoset monkey
  175. cockatoo for sale
  176. insulation definition
  177. toucan tongue
  178. gülsim ali ilhan
  179. Generic viagra usa
  180. canada pharmacist
  181. Order viagra online
  182. proven customer reviews
  183. Roberto Badalotti
  184. Buy Lortab 5/500, 7.5/325 online
  185. canadian me
  186. Free viagra samples
  187. Ankara ceza avukatý
  188. 샌즈카지노
  189. 메리트카지노
  190. 코인카지노
  191. exchange eu driving license for uk
  192. phim sex online
  193. داستان سکسی مامان
  194. Evergreen medical marijuana
  195. magnitic knife block
  196. omega guldklocka
  197. Loozap Home furniture Sudan
  198. 우리카지노
  199. silencil scam
  200. real signups
  201. mega888 online
  202. kadikoy escort
  204. brokerreview scam
  206. motor vehicle accident injuries Alberta
  207. sme loan
  208. pedopornografia
  209. 퍼스트카지노
  210. online transcription service
  211. sàn forex uy tín
  212. خرید فالوور خارجی
  213. private detective spain
  214. detectives
  215. Gelato Strain
  216. albuterol sulfate without dr prescription
  217. taxis
  218. supplements
  219. Victoria Cakes Kenzie Reeves Lesbian Sex
  220. Apartemen bsd
  221. health supplements canada
  222. Women’s Crocodile Leather Shoulder Bag
  223. how much viagra can you take safely
  224. sisteme de copiat
  225. custom gift printing
  226. Sibil Çetinkaya
  227. các sàn forex uy tín traderviet
  228. Mink Eyelashes Set
  229. Women’s 3D Thick False Eyelashes 5 Pair Set
  230. cialis weekend dose
  231. Women`s Professional Make up Tool Set
  232. Soft Faux Mink Individual Lashes
  233. free new movies online
  234. Colorful Waterproof Silicone Face Cleansing Brush
  235. Reusable Natural 3D Mink Eyelashes
  236. best thrillers of 2010s
  237. Waterproof Eyebrow
  238. Stylish Soft Makeup Brushes
  239. Professional Makeup Brushes
  240. Champagne Color Makeup Brushes Set
  241. Waterproof Strong Eyelash Glue
  242. 3D Natural Soft Mink Eyelashes 10 set
  243. Nail Polish Remover Wipes
  244. False Eyelashes Set
  245. Professional Ceramic Hair Curler
  246. Colorful Nail Art Dotting Pens Set
  247. 3D Mink Magnetic Eyelashes with Eyeliner Kit
  248. Makeup Eyeshadow Palette
  249. Women’s Mink 3D Faux Eyelashes Set 5 Pcs
  250. Home Appliances
  251. detectives privados albacete
  252. Temel Dini Bilgiler Konu Anlatýmý
  253. online chat with doctor free
  254. Aloe Lip Balm For Women
  255. Velvet Waterproof Lipstick 5 Pcs Set
  256. Flower Nail Stickers
  257. Colorful UV and LED Nail Gel
  258. Anti-aging Face Steamer
  259. Disposable Eyelash Brushes Set
  260. Waterproof Shimmer Lipstick
  261. Goat Hair Eye Makeup Brushes Set
  262. Pearls Hairband for Women
  263. magic mushroom canada
  264. canada pharmacy canada
  265. Double-headed Gradient Color Nail Art Brush
  266. Metal Alligator Hair Clips
  267. Disposable Lipgloss Brush Set
  268. Aluminium Foil Nail Polish Remover
  269. Y-Shaped Facial Massage Roller
  270. Eyelash Brushes Disposable
  271. Crystal Nail Art Brush
  272. hd film izle
  273. film izle
  274. film izle
  275. generic cialis safe
  276. acyclovir tablets
  277. surrey handyman
  278. natural skincare
  279. their usa website
  280. burnaby cash for cars
  281. star casino
  282. cara menang mega888 modal rm10
  283. viagra on line with prec
  284. chloroquine phosphate coronavirus dosage
  285. prednisone 2.5 mg for dogs
  286. generic vidalista fast shipping
  287. Drucker Miete
  288. Aaron Lal
  289. Aaron Lal
  290. ivermectin for mange dosage
  291. my mega888 company e wallet
  293. is viagra from china safe
  294. Adam Robinson Bendigo
  295. my mega888 digi
  296. international
  297. Tangela Allman
  298. malaysia mega888 for pc
  299. generic cialis tadalafil best buys
  300. nytimes
  301. vidalista without a doctor's prescription
  302. proper use of cefixime
  303. color hair
  304. norwaytoday
  305. vidalista 5mg cost
  306. wax doll
  307. amazon ivermectin
  308. silk hair wigs
  309. silk hair wigs
  310. ラブドールとは
  311. mega888 hack slot
  312. click now
  313. dutchnews
  314. 34cr4rxq3crq34rq3r4
  315. download mega888 xe88
  316. cphpost
  317. aftonbladet
  318. corporate secretarial services singapore
  319. Julian Di Benedetto
  320. Buy Weed Online
  321. buy viagra on line without prescription
  322. THC Cartridge
  323. spiegel
  324. postimees
  325. lemonde
  326. cialis for men
  327. gayhub
  328. does hydroxychloroquine help with coronavirus
  329. can you buy viagra over the counter in greece
  330. 1xbet android
  331. helsinkitimes
  332. remote control dildo
  333. icelandreview
  334. anal suppository
  335. stray kids merch
  336. thesouthafrican
  337. mature porn
  338. take cialis with viagra
  339. مهرجانات
  340. c34r54wxw4r34c3
  341. Japanese Porn Land
  342. TransHub
  343. xnxn
  344. alcohol and cialis side effects
  345. order adderall online
  346. generic azithromycin without doctor visit
  347. generic tadalafil tadalafil 20 mg from india
  348. plumber langley
  349. weight loss diet pills
  350. residential fire sprinkler systems
  351. galaforex scam
  352. fast lose weight
  353. g idle social media
  354. GayHub
  355. beagle puppies for sale
  356. English bulldog puppies for sale
  357. ivermectin for humans for sale
  358. twitter web
  359. granddaddy purple seeds online
  360. Mining
  361. Mining
  362. Twink
  363. generic viagra without subscription
  364. MILF Porn
  365. tadalafil
  366. hold'em
  367. hydroxychloroquine production usa
  368. kienthucfx
  369. Digital Marketing Services
  370. Mountain bike clothing
  371. generic tadalafil without subscription
  373. silencil side effects
  374. bare knuckle
  375. kratom for sale
  376. tadalafil 20 mg best price
  377. serp
  378. butt lift underwear
  379. lowest price
  380. amoxicillin clavulanate 875 125 interactions
  381. Atturo
  382. cut files
  383. extra large dog beds
  385. 샌즈카지노
  386. 메리트카지노
  387. 퍼스트카지노
  388. horse racing betting
  389. interior designer courses
  390. 코인카지노
  391. t shirt
  392. Buy Weed Online
  393. acheter en Vefa
  394. metronidazole pills pink
  396. scratcher game
  397. sildenafil goldreillas
  398. unprescribed viagra
  399. AnaGlobal
  400. cbd oil for dogs
  401. check out canada immigration news
  402. candle subscription box
  403. best cbd oil for anxiety
  404. best cbd oil
  405. cargo ship for sale
  406. tadalafil without a doctor prescription
  407. cbd oil near me
  408. generic viagra without doctor visit
  409. cbd for dogs
  410. best cbd gummies
  411. best cbd for dogs
  412. sexercise workout
  413. Sphynx Cats for Sale
  414. best cbd gummies
  415. prostate vibrator
  416. can women take sildenafil 100mg
  417. best cbd gummies
  418. best cbd gummies
  419. cbd for dogs
  420. cbd oil
  421. best cbd oil
  422. landed property singapore for rent
  423. best cbd for dogs
  424. super cialis 80 mg
  425. my latest blog post
  426. red maeng da kratom
  427. GST billing software
  428. green maeng da kratom
  429. white maeng da kratom
  430. science diet cat food near me
  431. gene-vihodsef
  432. red star astronomy
  433. gene vihodsef
  434. Inuit Art
  435. working visa
  436. cost cialis 5 mg
  437. 우리카지노
  438. kpop outfit
  439. leaking basement fix
  440. buy instagram followers
  441. cbd for sale
  442. best cbd dog treats
  443. cbd dog treats
  444. cbd oil for pain
  445. cbd gummies for pain
  446. cialis tablets 20mg australia
  447. virtual credit card
  448. best cbd dog treats
  449. cbd oil near me
  450. best cbd gummies
  451. buy cialis online us pharmacy
  452. cbd for dogs
  453. cbd gummies for anxiety
  454. best cbd gummies for anxiety
  455. viagra result
  456. Order Dank Vapes Online
  457. how to read betting odds plus minus
  458. best cbd dog treats
  459. 레플리카
  460. hydroxychloroquine from india
  461. cialis en espanol
  462. مزاداتي
  463. hydroxychloroquine for rheumatoid arthritis
  465. can you overdose on cialis
  466. 먹튀검증
  467. tv-smarters
  468. best classic vibrator
  469. erotic masturbation
  470. Michigan Fake driver's license
  471. 5-meo DMT For Sale
  472. hydroxychloroquine vs chloroquine phosphate
  473. Can I buy Tramadol online
  474. kratom for sale
  475. kratom nerve pain
  476. hydroxychloroquine sulfate 300 mg
  477. hydroxychloroquine nyc trial results
  478. real doll
  479. Jake
  481. kopen
  482. hydroxychloroquine sulfate 200mg
  483. Crypto Mining
  484. how to use clit stimulator
  485. 강남 안마
  486. 강남안마
  487. 강남안마
  489. Puppies Orlando
  491. compare free alternative workflow management tools
  492. business loan
  493. knmc overseas verification
  494. budowlanka sulecin
  495. Cannabis oil online
  496. ivermectin dose calculator
  497. online sports betting sites
  498. Ben marks Mackay
  499. g shock watch
  501. kratom tea for sale
  502. kratom capsules for sale
  503. kratom powder for sale
  504. giaodichforex fraud
  505. car detailing
  506. acyclovir 800 mg pills
  507. Pornhome XXX
  508. Great Dane puppies for sale
  509. Outsourcing Agency
  510. vidalista dosage when to take
  511. safestore auto
  512. albuterol sulfate syrup
  513. safestore auto
  514. new town live casino
  515. free download for windows 10
  516. free download for pc windows
  517. online pharmacy
  518. used tires surrey bc
  519. download app apk for windows pc
  520. free download for windows pc
  521. apps download for windows 10
  522. canadian online pharmacy generic cialis
  523. Eli Dangerfield
  524. Buy Safecoin easy
  525. safestore auto
  526. pet supply store
  527. reparation volet roulant paris
  529. esoteric
  530. buy cialis online safely
  531. THC vape juice Saudi Arabia
  532. livonia mi ac maintenance
  533. divorce lawyer singapore
  534. online cigars
  535. singapore divorce lawyer
  536. cookies frozen
  537. best free mp3 downloader
  538. Florida Fake driver's license
  539. what is ampicillin resistance
  540. best wireless over ear headphones for working out
  541. pet collars and harnesses
  542. pussy
  543. covent garden loans
  544. gout
  545. large abstract painting
  546. slot online
  547. veganskincare
  548. Get an ATM Machine in Escondido California
  549. Flexeril online
  550. free back ground checks
  551. tadalafil 5 mg
  552. psychedelic mushroom growing kit usa
  553. Световая сигнализация
  555. title 24 report
  556. birthday cake for dogs
  557. website bouwen
  558. aprender guitarra do zero
  559. Superslot
  560. κρύβεται μια μεγάλη συνεργασία "
  562. buy crack cocaine online
  563. sildenafil 5 mg tablet
  564. crypto news
  565. All-in-One Migration Unlimited Extension Free Download
  566. ハンサム
  567. 2.5 mg tadalafil generic daily
  568. cialis 5mg price uk
  569. click here
  570. Affirmation accessories
  571. Webdesign wolfhausen
  572. computer hilfe wagen
  573. 인싸포커
  574. doxycycline hyclate capsule peg tube
  575. liquid herbal incense
  576. thc vape juice
  577. buy generic cialis mastercard
  578. generic tadalafil canada
  579. visit here
  580. water stockpile for wshtf
  581. amazing italian places to see
  582. find a freelance writer
  583. prima visita dentista torino
  585. Men's Clothing
  586. pinball machines for sale in md
  587. buy guns online tn
  588. dapoxetine generic in india
  589. new shipping containers for sale
  590. trump stops taking hydroxychloroquine
  591. nagelstudio wien
  592. when will viagra be available in generic
  594. crypto news
  595. what is keflex generic for
  596. horoskopi koha Krokodili
  597. Altrenogest Powder For Sale
  599. tadalafil 20mg price in usa
  600. cerified us pharmacy
  601. como ganar dinero en internet
  602. cryptocard
  603. virtual card buy
  604. Buy THC Weed In Cork
  605. Star Wars Pinball Machine
  606. mobile homes
  607. copper wire for sale
  608. vape juice for sale europe
  609. vidalista used for bph
  610. takipçi satın al
  612. original cialis
  613. telegram investment bot
  614. pharmacies in canada
  615. delta 8 THC for sale
  616. delta 8 near me
  617. Kamagra opinie
  619. ethereum
  620. Trans Sex Guide
  621. Kamagra cena
  622. Services
  624. para kazanma
  625. how to buy guns and ammo online
  626. bactrim with or without food
  627. ethics training
  628. customer service training courses
  629. cialis cost in usa
  630. levitra generic south africa
  631. tadalafil 40 mg uk
  632. real cialis from canada

Leave a Reply