Versions in this module Expand all Collapse all v0 v0.1.0 Jan 28, 2021 Changes in this version + var ErrAccountExists error = errors.New(fmt.Sprintf("createAccountAlreadyExist (%s)", createAccountAlreadyExistXDR)) + func CheckSequenceRefresh(minion *Minion, hclient horizonclient.ClientInterface) error + func SubmitTransaction(minion *Minion, hclient horizonclient.ClientInterface, tx string) (*hProtocol.Transaction, error) + type Account struct + AccountID string + Sequence int64 + func (a *Account) RefreshSequenceNumber(hclient horizonclient.ClientInterface) error + func (a Account) GetAccountID() string + func (a Account) GetSequenceNumber() (int64, error) + func (a Account) IncrementSequenceNumber() (int64, error) + type Bot struct + Minions []Minion + func (bot *Bot) Pay(destAddress string) (*hProtocol.Transaction, error) + type FriendbotHandler struct + Friendbot *Bot + func (handler *FriendbotHandler) Handle(w http.ResponseWriter, r *http.Request) + type Minion struct + Account Account + BaseFee int64 + BotAccount txnbuild.Account + BotKeypair *keypair.Full + CheckSequenceRefresh func(minion *Minion, hclient horizonclient.ClientInterface) error + Horizon horizonclient.ClientInterface + Keypair *keypair.Full + Network string + StartingBalance string + SubmitTransaction func(minion *Minion, hclient horizonclient.ClientInterface, tx string) (*hProtocol.Transaction, error) + func (minion *Minion) Run(destAddress string, resultChan chan SubmitResult) + type SubmitResult struct