Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CovenantRedeemBranch ¶
type CovenantRedeemBranch struct {
// contains filtered or unexported fields
}
func NewCovenantRedeemBranch ¶
func NewCovenantRedeemBranch( explorer explorer.Explorer, congestionTree tree.CongestionTree, vtxo client.Vtxo, ) (*CovenantRedeemBranch, error)
func (*CovenantRedeemBranch) ExpiresAt ¶
func (r *CovenantRedeemBranch) ExpiresAt() (*time.Time, error)
func (*CovenantRedeemBranch) RedeemPath ¶
func (r *CovenantRedeemBranch) RedeemPath() ([]string, error)
RedeemPath returns the list of transactions to broadcast in order to access the vtxo output
type CovenantlessRedeemBranch ¶
type CovenantlessRedeemBranch struct {
// contains filtered or unexported fields
}
func NewCovenantlessRedeemBranch ¶
func NewCovenantlessRedeemBranch( explorer explorer.Explorer, congestionTree tree.CongestionTree, vtxo client.Vtxo, ) (*CovenantlessRedeemBranch, error)
func (*CovenantlessRedeemBranch) ExpiresAt ¶
func (r *CovenantlessRedeemBranch) ExpiresAt() (*time.Time, error)
func (*CovenantlessRedeemBranch) OffchainPath ¶
func (r *CovenantlessRedeemBranch) OffchainPath() ([]*psbt.Packet, error)
offchainPath checks for transactions of the branch onchain and returns only the offchain part
func (*CovenantlessRedeemBranch) RedeemPath ¶
func (r *CovenantlessRedeemBranch) RedeemPath() ([]string, error)
RedeemPath returns the list of transactions to broadcast in order to access the vtxo output
Click to show internal directories.
Click to hide internal directories.