Versions in this module Expand all Collapse all v1 v1.0.2 Mar 23, 2022 v1.0.1 Mar 17, 2022 Changes in this version + type Immutable struct + func NewImmutable() *Immutable + func (t *Immutable) Delete(key Key) *Immutable + func (t *Immutable) FetchWinnersAndExpired(idxs []int, height uint32) ([]*Key, []*Key) + func (t *Immutable) ForEach(fn func(k Key, v *Value) bool) + func (t *Immutable) Get(key Key) *Value + func (t *Immutable) Has(key Key) bool + func (t *Immutable) Len() int + func (t *Immutable) Put(key Key, value *Value) *Immutable + func (t *Immutable) Size() uint64 + type Key chainhash.Hash + type Mutable struct + func NewMutable() *Mutable + func (t *Mutable) Delete(key Key) + func (t *Mutable) ForEach(fn func(k Key, v *Value) bool) + func (t *Mutable) Get(key Key) *Value + func (t *Mutable) Has(key Key) bool + func (t *Mutable) Len() int + func (t *Mutable) Put(key Key, value *Value) + func (t *Mutable) Reset() + func (t *Mutable) Size() uint64 + type Value struct + Expired bool + Height uint32 + Missed bool + Revoked bool + Spent bool