LoadBlockIndex(uint64) (*state.BlockIndex, error)
SaveBlock(*types.Block, *bc.TransactionStatus) error
SaveChainStatus(*state.BlockNode, *state.UtxoViewpoint) error
-
- IsWithdrawSpent(hash *bc.Hash) bool
- SetWithdrawSpent(hash *bc.Hash)
-
- Set(hash *bc.Hash, data []byte) error
- Get(hash *bc.Hash) ([]byte, error)
}
// BlockStoreState represents the core's db status