mirror of
https://github.com/fluencelabs/tendermint
synced 2025-06-22 01:11:32 +00:00
Put->Set
This commit is contained in:
@ -17,7 +17,7 @@ type Key interface {
|
||||
|
||||
type Db interface {
|
||||
Get([]byte) []byte
|
||||
Put([]byte, []byte)
|
||||
Set([]byte, []byte)
|
||||
}
|
||||
|
||||
type Node interface {
|
||||
@ -38,7 +38,7 @@ type Tree interface {
|
||||
Get(key Key) Value
|
||||
Hash() (ByteSlice, uint64)
|
||||
Save()
|
||||
Put(Key, Value) bool
|
||||
Set(Key, Value) bool
|
||||
Remove(Key) (Value, error)
|
||||
Copy() Tree
|
||||
Traverse(func(Node) bool)
|
||||
|
Reference in New Issue
Block a user