pub struct AcceptChannel {Show 16 fields
pub temporary_channel_id: [u8; 32],
pub accept_collateral: Amount,
pub funding_pubkey: PublicKey,
pub revocation_basepoint: PublicKey,
pub publish_basepoint: PublicKey,
pub own_basepoint: PublicKey,
pub first_per_update_point: PublicKey,
pub payout_spk: ScriptBuf,
pub payout_serial_id: u64,
pub funding_inputs: Vec<FundingInput>,
pub change_spk: ScriptBuf,
pub change_serial_id: u64,
pub cet_adaptor_signatures: CetAdaptorSignatures,
pub buffer_adaptor_signature: EcdsaAdaptorSignature,
pub refund_signature: Signature,
pub negotiation_fields: Option<NegotiationFields>,
}Expand description
Contains information about a party wishing to accept a DLC offer. The contained information is sufficient for the offering party to re-build the set of transactions representing the contract and its terms, and guarantees the offering party that they can safely provide signatures for their funding input.
Fields§
§temporary_channel_id: [u8; 32]The temporary id of the channel.
accept_collateral: AmountThe collateral input by the accept party.
funding_pubkey: PublicKeyThe PublicKey used for the fund output by the accept party.
revocation_basepoint: PublicKeyThe PublicKey used for deriving revocation points by the accept party.
publish_basepoint: PublicKeyThe PublicKey used for deriving publish points by the accept party.
own_basepoint: PublicKeyThe PublicKey used for deriving own points by the accept party.
first_per_update_point: PublicKeyThe initial per update point used by the accept party.
payout_spk: ScriptBufThe script pubkey for the accept party to receive their payout.
payout_serial_id: u64The serial id of the payout output used to order transaction outputs.
funding_inputs: Vec<FundingInput>The set of inputs used by the accept party to fund the channel.
change_spk: ScriptBufThe script pubkey used by the accept party to receive back their change.
change_serial_id: u64The serial id of the change output used to order transaction outputs.
cet_adaptor_signatures: CetAdaptorSignaturesThe adaptor signatures for all CETs generated by the accept party.
buffer_adaptor_signature: EcdsaAdaptorSignatureThe adaptor signature for the buffer transaction generated by the accept party.
refund_signature: SignatureThe refund signature generated by the accept party.
negotiation_fields: Option<NegotiationFields>Fields used to negotiate parameters with the counter party.
Trait Implementations§
Source§impl Clone for AcceptChannel
impl Clone for AcceptChannel
Source§fn clone(&self) -> AcceptChannel
fn clone(&self) -> AcceptChannel
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more