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
add dpos consensus
[bytom/vapor.git]
/
protocol
/
store.go
diff --git
a/protocol/store.go
b/protocol/store.go
index
ba0e138
..
915d067
100644
(file)
--- a/
protocol/store.go
+++ b/
protocol/store.go
@@
-23,6
+23,9
@@
type Store interface {
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