Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendAPI ¶
type TxSubmission ¶
type TxSubmission struct { UnitID types.UnitID TxHash wallet.TxHash Transaction *types.TransactionOrder Proof *wallet.Proof }
func (*TxSubmission) Confirmed ¶
func (s *TxSubmission) Confirmed() bool
func (*TxSubmission) ToBatch ¶
func (s *TxSubmission) ToBatch(backend BackendAPI, sender wallet.PubKey) *TxSubmissionBatch
type TxSubmissionBatch ¶
type TxSubmissionBatch struct {
// contains filtered or unexported fields
}
func NewBatch ¶
func NewBatch(sender wallet.PubKey, backend BackendAPI) *TxSubmissionBatch
func (*TxSubmissionBatch) Add ¶
func (t *TxSubmissionBatch) Add(sub *TxSubmission)
func (*TxSubmissionBatch) SendTx ¶
func (t *TxSubmissionBatch) SendTx(ctx context.Context, confirmTx bool) error
func (*TxSubmissionBatch) Submissions ¶ added in v0.2.0
func (t *TxSubmissionBatch) Submissions() []*TxSubmission
Click to show internal directories.
Click to hide internal directories.