package
0.0.0-20210426105106-098cde10e9b5
Repository: https://github.com/nguyenhoaiphuong/go-web-dev.git
Documentation: pkg.go.dev

# README

# Functions

IntToHex converts an int64 to a byte array.
NewBlock creates and returns Block.
NewBlockchain creates a new Blockchain with genesis Block.
NewGenesisBlock creates and returns genesis Block.
NewProofOfWork builds and returns a ProofOfWork.

# Structs

Block keeps block headers.
Blockchain keeps a sequence of Blocks.
ProofOfWork represents a proof-of-work.