Documentation ¶ Index ¶ type Hashes func NewHashes() *Hashes func (b *Hashes) Decode(by []byte) (out []byte) func (b *Hashes) DecodeOne(by []byte) *Hashes func (b *Hashes) Encode() (out []byte) func (b *Hashes) Get() (out map[int32]*chainhash.Hash) func (b *Hashes) Put(in map[int32]*chainhash.Hash) *Hashes Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Hashes ¶ type Hashes struct { sync.Mutex Length byte Byteses map[int32][]byte } func NewHashes ¶ func NewHashes() *Hashes func (*Hashes) Decode ¶ func (b *Hashes) Decode(by []byte) (out []byte) func (*Hashes) DecodeOne ¶ func (b *Hashes) DecodeOne(by []byte) *Hashes func (*Hashes) Encode ¶ func (b *Hashes) Encode() (out []byte) func (*Hashes) Get ¶ func (b *Hashes) Get() (out map[int32]*chainhash.Hash) func (*Hashes) Put ¶ func (b *Hashes) Put(in map[int32]*chainhash.Hash) *Hashes Source Files ¶ View all Source files hashes.go Click to show internal directories. Click to hide internal directories.