X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=protocol%2Fstore.go;h=c1e2d70b1ad8a24ba60c9960264377ae6396eddf;hb=c2e4075a43a3866fe8ab827a96f2c7e86252f1c0;hp=915d0675f31c5ed5267118be47ffa0b527220076;hpb=cc968002ceac2dfd7665c2ac2b4c32ab6017b525;p=bytom%2Fvapor.git diff --git a/protocol/store.go b/protocol/store.go index 915d0675..c1e2d70b 100644 --- a/protocol/store.go +++ b/protocol/store.go @@ -20,12 +20,6 @@ type Store interface { 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