Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blockchain ¶
type Blockchain interface { Verify(timestamp int64) Blocks() []*network.BlockResponse CalculateTotalAmount(currentTimestamp int64, blockchainAddress string) uint64 AddBlock(timestamp int64, transactions []*network.TransactionResponse, registeredAddresses []string) Copy() Blockchain IsEmpty() bool }
type TransactionsPool ¶
type TransactionsPool interface { AddTransaction(transactionRequest *network.TransactionRequest, neighbors []network.Neighbor) Transactions() []*network.TransactionResponse }
Click to show internal directories.
Click to hide internal directories.