Versions in this module Expand all Collapse all v1 v1.21.0 Feb 1, 2024 Changes in this version + type Deposit struct + FundingOutputIndex uint32 + FundingTx *bitcoin.Transaction + FundingTxConfirmations uint + FundingTxHash bitcoin.Hash + RevealBlockNumber uint64 + SweptAt time.Time + WalletPublicKeyHash [20]byte + type FindDepositsToSweepTestScenario struct + Deposits []*Deposit + EstimateSatPerVByteFee int64 + ExpectedUnsweptDeposits []*tbtcpg.DepositReference + MaxNumberOfDeposits uint16 + SweepTxFee int64 + Title string + WalletPublicKeyHash [20]byte + func LoadFindDepositsToSweepTestScenario() ([]*FindDepositsToSweepTestScenario, error) + func (dsts *FindDepositsToSweepTestScenario) UnmarshalJSON(data []byte) error + type FindPendingRedemptionsTestScenario struct + ChainParameters struct{ ... } + ExpectedRedeemersOutputScripts []bitcoin.Script + MaxNumberOfRequests uint16 + PendingRedemptions []*RedemptionRequest + Title string + WalletPublicKeyHash [20]byte + func LoadFindPendingRedemptionsTestScenario() ([]*FindPendingRedemptionsTestScenario, error) + func (fprts *FindPendingRedemptionsTestScenario) UnmarshalJSON(data []byte) error + type ProposeSweepDepositsData struct + FundingTxConfirmations uint + Transaction *bitcoin.Transaction + type ProposeSweepTestScenario struct + DepositTxMaxFee uint64 + Deposits []*ProposeSweepDepositsData + EstimateSatPerVByteFee int64 + ExpectedDepositSweepProposal *tbtc.DepositSweepProposal + ExpectedErr error + SweepTxFee int64 + Title string + WalletPublicKeyHash [20]byte + func LoadProposeSweepTestScenario() ([]*ProposeSweepTestScenario, error) + func (psts *ProposeSweepTestScenario) DepositsReferences() []*tbtcpg.DepositReference + func (psts *ProposeSweepTestScenario) UnmarshalJSON(data []byte) error + type RedemptionRequest struct + RedeemerOutputScript bitcoin.Script + RequestBlock uint64 + RequestedAmount uint64 + RequestedAt time.Time + WalletPublicKeyHash [20]byte