OSDN Git Service
(root)
/
bytom
/
vapor.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test: add read/write test for cross-chain input/output (#70)
[bytom/vapor.git]
/
protocol
/
store.go
diff --git
a/protocol/store.go
b/protocol/store.go
index
915d067
..
c1e2d70
100644
(file)
--- 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
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
}
// BlockStoreState represents the core's db status