Documentation ¶
Index ¶
- func GetHashBytes(t *testing.T, hashString string) []byte
- func InitTestDB(t *testing.T) *dal.DB
- func PopulateBitcoinTxs(t *testing.T, db *dal.DB) []dal.BitcoinTx
- func PopulateDB(t *testing.T, db *dal.DB)
- func PopulateIkaTxs(t *testing.T, db *dal.DB) []dal.IkaTx
- func PopulateSignRequests(t *testing.T, db *dal.DB) []dal.IkaSignRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetHashBytes ¶
GetHashBytes creates a byte array from a hash string.
func InitTestDB ¶
InitTestDB initializes an in-memory database for testing purposes.
func PopulateBitcoinTxs ¶
PopulateBitcoinTxs inserts a set of predefined BitcoinTxs into the database.
func PopulateDB ¶
PopulateDB inserts a set of predefined data to all the tables.
func PopulateIkaTxs ¶
PopulateIkaTxs inserts a set of predefined IkaTxs into the database.
func PopulateSignRequests ¶
PopulateSignRequests inserts a set of predefined IkaSignRequest into the database.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.