~/talk

Building Blockchains on the Go

Talkat Conf42 Golang 2021 · on Thursday, 2021-06-24· [blockchain, microservices]
slides:none on file

Live demo builds a runnable blockchain distribution in Go using gRPC and protocol buffers and a microservice layout, generating a genesis block named "genesis_hash", hashing blocks with SHA256, and linking them by previous-hash. Implements proto RPCs addBlock and streamGetBlocks, a server listening on :8004 and a client that appends a new block every second and consumes a continuous block stream. The code compiles, the server streams updated blocks, and hashes match in the demo.

AI-written summary · about

  1. 0:00Building blockchains on Go
  2. 2:47Blockchain structure and security
  3. 9:33Blockchain as database benefits
  4. 10:14Why Go for blockchain
  5. 11:58Go routines and compiler
  6. 12:19gRPC for blockchain microservices
  7. 14:51gRPC and Protocol Buffers
  8. 15:13Setting up blockchain project
  9. 27:46Blockchain data model in Go
  10. 30:17Block creation and hashing
  11. 33:57Genesis block and chain
  12. 36:53Linking blocks and appending
  13. 38:58gRPC server for blockchain
  14. 44:04Server methods for blockchain
  15. 48:43Run server and testing
  16. 49:06Client to interact blockchain
  17. 53:18Add blocks from client
  18. 57:28Stream blockchain data
  19. 1:01:03Final demo and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.