Versions in this module Expand all Collapse all v0 v0.1.0 Mar 4, 2020 Changes in this version + const N + const W16AddressBytes + const W16Bytes + const W16PubSeedBytes + const W16PublicKeyBytes + const W16SecretKeyBytes + const W16SeedBytes + const W256AddressBytes + const W256Bytes + const W256PubSeedBytes + const W256PublicKeyBytes + const W256SecretKeyBytes + const W256SeedBytes + const W4AddressBytes + const W4Bytes + const W4PubSeedBytes + const W4PublicKeyBytes + const W4SecretKeyBytes + const W4SeedBytes + func GenPublicKey(seed, pubSeed []byte, opts Opts) (pubKey []byte) + func PublicKeyFromSig(sig, msg, pubSeed []byte, opts Opts) (pubKey []byte) + func Sign(msg, seed, pubSeed []byte, opts Opts) (sig []byte) + func Verify(pk, sig, msg, pubSeed []byte, opts Opts) bool + type Address struct + func AddressFromBytes(data []byte) (a Address, err error) + func (a *Address) SetLayer(l uint32) + func (a *Address) SetOTS(o uint32) + func (a *Address) SetTree(t uint64) + func (a *Address) SetType(t uint32) + func (a *Address) ToBytes() []byte + type Mode int + const W16 + const W256 + const W4 + func (m Mode) String() string + type Opts struct + Address Address + Concurrency int + Mode Mode