Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 385 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 385 Bytes

go-blockchain

Data Structures

  • Block: A struct used to define the blocks
  • Blockchain: A struct for the chain itself
  • ProofOfWork: A struct for the proof of work

Methods

Struct methods

  • Block
    • DeriveHash
  • Blockchain
    • AddBlock
  • ProofOfWork
    • InitData
    • Run
    • Validate

Other Methods

  • CreateBlock
  • Genesis
  • InitBlockchain
  • NewProof
  • ToHex