Categorygithub.com/AgbaD/go-blockchain
modulepackage
0.0.0-20230319023059-190f0f3e8f11
Repository: https://github.com/agbad/go-blockchain.git
Documentation: pkg.go.dev

# README

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

# Packages

No description provided by the author

# Structs

No description provided by the author