Documentation ¶
Index ¶
- func NewPoolPopulator(router router.Router, store store.Store, rpcService services.RPCService) (*poolPopulator, error)
- func NewTransactionManager(cfg TransactionManagerConfigs) *transactionManager
- func NewTransactionService(opts TransactionServiceOptions) (*transactionService, error)
- type PoolPopulator
- type TransactionManager
- type TransactionManagerConfigs
- type TransactionManagerMock
- type TransactionService
- type TransactionServiceMock
- func (t *TransactionServiceMock) GetTransaction(transactionHash string) (tss.RPCGetIngestTxResponse, error)
- func (t *TransactionServiceMock) NetworkPassphrase() string
- func (t *TransactionServiceMock) SendTransaction(transactionXdr string) (tss.RPCSendTxResponse, error)
- func (t *TransactionServiceMock) SignAndBuildNewFeeBumpTransaction(ctx context.Context, origTxXdr string) (*txnbuild.FeeBumpTransaction, error)
- type TransactionServiceOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPoolPopulator ¶
func NewTransactionManager ¶
func NewTransactionManager(cfg TransactionManagerConfigs) *transactionManager
func NewTransactionService ¶
func NewTransactionService(opts TransactionServiceOptions) (*transactionService, error)
Types ¶
type PoolPopulator ¶
type TransactionManager ¶
type TransactionManagerConfigs ¶
type TransactionManagerConfigs struct { TxService TransactionService RPCService services.RPCService Store store.Store }
type TransactionManagerMock ¶
func (*TransactionManagerMock) BuildAndSubmitTransaction ¶
func (t *TransactionManagerMock) BuildAndSubmitTransaction(ctx context.Context, channelName string, payload tss.Payload) (tss.RPCSendTxResponse, error)
type TransactionService ¶
type TransactionServiceMock ¶
func (*TransactionServiceMock) GetTransaction ¶
func (t *TransactionServiceMock) GetTransaction(transactionHash string) (tss.RPCGetIngestTxResponse, error)
func (*TransactionServiceMock) NetworkPassphrase ¶
func (t *TransactionServiceMock) NetworkPassphrase() string
func (*TransactionServiceMock) SendTransaction ¶
func (t *TransactionServiceMock) SendTransaction(transactionXdr string) (tss.RPCSendTxResponse, error)
func (*TransactionServiceMock) SignAndBuildNewFeeBumpTransaction ¶
func (t *TransactionServiceMock) SignAndBuildNewFeeBumpTransaction(ctx context.Context, origTxXdr string) (*txnbuild.FeeBumpTransaction, error)
type TransactionServiceOptions ¶
type TransactionServiceOptions struct { DistributionAccountSignatureClient signing.SignatureClient ChannelAccountSignatureClient signing.SignatureClient HorizonClient horizonclient.ClientInterface BaseFee int64 }
func (*TransactionServiceOptions) ValidateOptions ¶
func (o *TransactionServiceOptions) ValidateOptions() error
Click to show internal directories.
Click to hide internal directories.