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
edit the consensus node
[bytom/vapor.git]
/
protocol
/
store.go
diff --git
a/protocol/store.go
b/protocol/store.go
index
48ac4e8
..
d2d1126
100644
(file)
--- a/
protocol/store.go
+++ b/
protocol/store.go
@@
-26,7
+26,7
@@
type Store interface {
LoadBlockIndex(uint64) (*state.BlockIndex, error)
SaveBlock(*types.Block, *bc.TransactionStatus) error
LoadBlockIndex(uint64) (*state.BlockIndex, error)
SaveBlock(*types.Block, *bc.TransactionStatus) error
- SaveChainStatus(*state.BlockNode, *state.BlockNode, *state.UtxoViewpoint,
map[uint64
]*state.VoteResult) error
+ SaveChainStatus(*state.BlockNode, *state.BlockNode, *state.UtxoViewpoint,
[
]*state.VoteResult) error
SaveChainNodeStatus(*state.BlockNode, *state.BlockNode) error
}
SaveChainNodeStatus(*state.BlockNode, *state.BlockNode) error
}