package
0.0.0-20240209070917-68f1f64a0020
Repository: https://github.com/elarsaks/go-blockchain.git
Documentation: pkg.go.dev
# Functions
NewBlock creates a new block with the given parameters.
NewBlockchain creates a new instance of Blockchain.
NewTransaction creates a new transaction.
# Constants
Network related constants.
Network related constants.
Network related constants.
Mining related constants.
Mining related constants.
Mining related constants.
Mining related constants.
Network related constants.
Network related constants.
# Structs
AmountResponse represents the response with the amount in a transaction.
Block represents a block in the blockchain.
Blockchain represents the entire blockchain structure.
--- Types --- Transaction represents a single transaction in the blockchain.
TransactionRequest represents a request to create a new transaction.