Update SimpleMap to hash both keys and values for benefit; Hashable is Hasher; Don't assume go-wire

This commit is contained in:
Jae Kwon
2018-02-02 14:08:05 +04:00
committed by Anton Kaliaev
parent 580c3db8f9
commit c75298e359
+4
View File
@@ -21,3 +21,7 @@ type Tree interface {
type Hasher interface {
Hash() []byte
}
type Byteser interface {
Bytes() []byte
}