Documentation ¶
Index ¶
- Constants
- type ADRS
- func (adrs *ADRS) Copy() *ADRS
- func (adrs *ADRS) GetBytes() []byte
- func (adrs *ADRS) GetKeyPairAddress() int
- func (adrs *ADRS) GetTreeAddress() int
- func (adrs *ADRS) GetTreeHeight() int
- func (adrs *ADRS) GetTreeIndex() int
- func (adrs *ADRS) GetType() int
- func (adrs *ADRS) SetChainAddress(a int)
- func (adrs *ADRS) SetHashAddress(a int)
- func (adrs *ADRS) SetKeyPairAddress(a int)
- func (adrs *ADRS) SetLayerAddress(a int)
- func (adrs *ADRS) SetTreeAddress(a uint64)
- func (adrs *ADRS) SetTreeHeight(a int)
- func (adrs *ADRS) SetTreeIndex(a int)
- func (adrs *ADRS) SetType(a int)
Constants ¶
View Source
const ( // ADRS types WOTS_HASH = 0 WOTS_PK = 1 TREE = 2 FORS_TREE = 3 FORS_ROOTS = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADRS ¶
type ADRS struct { LayerAddress [4]byte TreeAddress [12]byte Type [4]byte KeyPairAddress [4]byte TreeHeight [4]byte TreeIndex [4]byte ChainAddress [4]byte HashAddress [4]byte }
func (*ADRS) GetKeyPairAddress ¶
func (*ADRS) GetTreeAddress ¶
func (*ADRS) GetTreeHeight ¶
func (*ADRS) GetTreeIndex ¶
func (*ADRS) SetChainAddress ¶
func (*ADRS) SetHashAddress ¶
func (*ADRS) SetKeyPairAddress ¶
func (*ADRS) SetLayerAddress ¶
func (*ADRS) SetTreeAddress ¶
func (*ADRS) SetTreeHeight ¶
func (*ADRS) SetTreeIndex ¶
Click to show internal directories.
Click to hide internal directories.