Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adapter ¶
type Adapter interface { New([]byte, []byte, *big.Int) (*blockchain.Transaction, error) CoinBaseTx([]byte) *blockchain.Transaction FindUserBalance([]byte) *big.Int FindUserTokensSend([]byte) *big.Int FindUserTokensReceived([]byte) *big.Int WriteBlock([]byte) (*blockchain.Block, error) GetLastBlock() ([]byte, *big.Int, error) SendBlock(input SendBlockInput) error }
Adapter is an interface which describes all the methods to interact with persistence.
Click to show internal directories.
Click to hide internal directories.