OSDN Git Service

add dpos consensus
[bytom/vapor.git] / protocol / store.go
index ba0e138..915d067 100644 (file)
@@ -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