Documentation ¶
Index ¶
- func GenerateAddress(t *testing.T, seed trinary.Trytes, index uint64) hornet.Hash
- func ShortenedHash(hash hornet.Hash) string
- func ShortenedTag(bundle *tangle.CachedBundle) string
- func ShowDotFile(t *testing.T, dotCommand string, outFilePath string)
- func ValueTx(t *testing.T, tag trinary.Trytes, fromSeed trinary.Trytes, fromIndex uint64, ...) []trinary.Trytes
- func ZeroValueTx(t *testing.T, tag trinary.Trytes) []trinary.Trytes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAddress ¶
GenerateAddress generates an address for the given seed and index with medium security.
func ShortenedHash ¶
ShortenedHash returns a shortened trinary hash for the given hash. this is used for the dot file.
func ShortenedTag ¶
func ShortenedTag(bundle *tangle.CachedBundle) string
ShortenedTag returns a shortened tag or milestone index for the given bundle. this is used for the dot file.
func ShowDotFile ¶
ShowDotFile creates a png file with dot and shows it in an external application.
func ValueTx ¶
func ValueTx(t *testing.T, tag trinary.Trytes, fromSeed trinary.Trytes, fromIndex uint64, balance uint64, toSeed trinary.Trytes, toIndex uint64, value uint64) []trinary.Trytes
ValueTx creates a value transaction with the given tag from an input seed index to an address created by a given output seed and index.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.