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
parent
commit
c75298e359
No known key found for this signature in database GPG Key ID: 7B6881D965918214
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      merkle/types.go

+ 4
- 0
merkle/types.go View File

@ -21,3 +21,7 @@ type Tree interface {
type Hasher interface {
Hash() []byte
}
type Byteser interface {
Bytes() []byte
}

Loading…
Cancel
Save