Documentation ¶
Overview ¶
Common infrastructure for testing Trades
Index ¶
- func GetTestAccount() xdr.AccountId
- func GetTestAsset(code string) xdr.Asset
- func IngestTestTrade(q *Q, assetSold xdr.Asset, assetBought xdr.Asset, seller xdr.AccountId, ...) error
- func PopulateTestTrades(q *Q, startTs int64, numOfTrades int, delta int64, opStart int64) (ass1 xdr.Asset, ass2 xdr.Asset, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTestAccount ¶
Get generates and returns an account on the fly
func GetTestAsset ¶
GetTestAsset generates an issuer on the fly and creates a CreditAlphanum4 Asset with given code
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.