Documentation ¶
Index ¶
- func ShortenedHash(hash hornet.MessageID) string
- func ShortenedIndex(cachedMsg *storage.CachedMessage) 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 ShortenedIndex ¶ added in v1.0.0
func ShortenedIndex(cachedMsg *storage.CachedMessage) string
ShortenedIndex returns a shortened index or milestone index for the given message. this is used for the dot file.
Types ¶
type HDWallet ¶ added in v1.0.0
type HDWallet struct {
// contains filtered or unexported fields
}
func NewHDWallet ¶ added in v1.0.0
func (*HDWallet) Address ¶ added in v1.0.0
func (hd *HDWallet) Address() *iotago.Ed25519Address
Address calculates an ed25519 address by using slip10.
func (*HDWallet) AddressSigner ¶ added in v1.1.0
func (hd *HDWallet) AddressSigner() iotago.AddressSigner
func (*HDWallet) BookOutput ¶ added in v1.0.0
func (*HDWallet) BookSpents ¶ added in v1.0.0
func (*HDWallet) KeyPair ¶ added in v1.0.0
func (hd *HDWallet) KeyPair() (ed25519.PrivateKey, ed25519.PublicKey)
KeyPair calculates an ed25519 key pair by using slip10.
func (*HDWallet) PrintStatus ¶ added in v1.0.0
func (hd *HDWallet) PrintStatus()
Click to show internal directories.
Click to hide internal directories.