Documentation ¶
Index ¶
- func GenKeys(t *testing.T, n int) ([]*ecdsa.PrivateKey, []ecdsa.PublicKey)
- func GenTestBlock(t *testing.T, keys, transactions int, parent *block.Block) *block.Block
- func GenTestTransaction(t *testing.T, k *ecdsa.PrivateKey) *block.Transaction
- func GenTestTransactions(t *testing.T, keys []*ecdsa.PrivateKey, n int) []*block.Transaction
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenTestBlock ¶
func GenTestTransaction ¶
func GenTestTransaction(t *testing.T, k *ecdsa.PrivateKey) *block.Transaction
func GenTestTransactions ¶
func GenTestTransactions(t *testing.T, keys []*ecdsa.PrivateKey, n int) []*block.Transaction
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.