Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { HasTx(hash string) (bool, error) GetTx(hash string) (*statechain.Transaction, error) GetTxs(hashes []string) ([]*statechain.Transaction, error) RemoveTx(hash string) error RemoveTxs(hashes []string) error AddTx(tx *statechain.Transaction) error GatherPendingTransactions() ([]*statechain.Transaction, error) GetHeadBlock() (mainchain.Block, error) SetHeadBlock(block *mainchain.Block) error SetPendingMainchainBlock(block *mainchain.Block) error GetPendingMainchainBlocks() ([]*mainchain.Block, error) RemovePendingMainchainBlock(blockHash string) error RemovePendingMainchainBlocks(blockHashes []string) error }
Interface ...
Click to show internal directories.
Click to hide internal directories.