Browse Source
Update SimpleMap to hash both keys and values for benefit; Hashable is Hasher; Don't assume go-wire
pull/1842/head
Jae Kwon
7 years ago
committed by
Anton Kaliaev
No known key found for this signature in database
GPG Key ID: 7B6881D965918214
1 changed files with
4 additions and
0 deletions
-
merkle/types.go
|
|
@ -21,3 +21,7 @@ type Tree interface { |
|
|
|
type Hasher interface { |
|
|
|
Hash() []byte |
|
|
|
} |
|
|
|
|
|
|
|
type Byteser interface { |
|
|
|
Bytes() []byte |
|
|
|
} |