Documentation ¶
Index ¶
- func ShortenedHash(hash iotago.BlockID) string
- func ShortenedTag(cachedBlock *storage.CachedBlock) string
- func ShowDotFile(testInterface testing.TB, dotCommand string, outFilePath string)
- type HDWallet
- func (hd *HDWallet) Address() *iotago.Ed25519Address
- func (hd *HDWallet) AddressSigner() iotago.AddressSigner
- func (hd *HDWallet) Balance() uint64
- func (hd *HDWallet) BookOutput(output *utxo.Output)
- func (hd *HDWallet) BookSpent(spentOutput *utxo.Output)
- func (hd *HDWallet) BookSpents(spentOutputs []*utxo.Output)
- func (hd *HDWallet) KeyPair() (ed25519.PrivateKey, ed25519.PublicKey)
- func (hd *HDWallet) Name() string
- func (hd *HDWallet) Outputs() []*utxo.Output
- func (hd *HDWallet) PrintStatus()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShortenedHash ¶
ShortenedHash returns a shortened hex encoded hash for the given hash. this is used for the dot file.
func ShortenedTag ¶
func ShortenedTag(cachedBlock *storage.CachedBlock) string
ShortenedTag returns a shortened tag or milestone index for the given block. this is used for the dot file.
Types ¶
type HDWallet ¶
type HDWallet struct {
// contains filtered or unexported fields
}
func (*HDWallet) Address ¶
func (hd *HDWallet) Address() *iotago.Ed25519Address
Address calculates an ed25519 address by using slip10.
func (*HDWallet) AddressSigner ¶
func (hd *HDWallet) AddressSigner() iotago.AddressSigner
func (*HDWallet) BookOutput ¶
func (*HDWallet) BookSpents ¶
func (*HDWallet) KeyPair ¶
func (hd *HDWallet) KeyPair() (ed25519.PrivateKey, ed25519.PublicKey)
KeyPair calculates an ed25519 key pair by using slip10.
func (*HDWallet) PrintStatus ¶
func (hd *HDWallet) PrintStatus()
Click to show internal directories.
Click to hide internal directories.