Versions in this module Expand all Collapse all v1 v1.8.4 Feb 22, 2022 v1.8.3 Feb 22, 2022 Changes in this version + const AddrLen + const HashLen + func Checksum(bytes []byte, length int) []byte + func ComputeHash160(buf []byte) []byte + func ComputeHash256(buf []byte) []byte + func ComputeHash256Ranges(buf []byte, ranges [][2]int) []byte + func PubkeyBytesToAddress(key []byte) []byte + type Hash160 = [ripemd160.Size]byte + func ComputeHash160Array(buf []byte) Hash160 + func ToHash160(bytes []byte) (Hash160, error) + type Hash256 = [HashLen]byte + func ComputeHash256Array(buf []byte) Hash256 + func ToHash256(bytes []byte) (Hash256, error) + type Hasher interface + Hash func([]byte) uint64 + type MockHasher struct + func NewMockHasher(ctrl *gomock.Controller) *MockHasher + func (m *MockHasher) EXPECT() *MockHasherMockRecorder + func (m *MockHasher) Hash(arg0 []byte) uint64 + type MockHasherMockRecorder struct + func (mr *MockHasherMockRecorder) Hash(arg0 interface{}) *gomock.Call