Class CounterpartyChannelTransactionParameters


  • public class CounterpartyChannelTransactionParameters
    extends Object
    Late-bound per-channel counterparty data used to build transactions.
    • Method Detail

      • set_pubkeys

        public void set_pubkeys​(ChannelPublicKeys val)
        Counter-party public keys
      • get_selected_contest_delay

        public short get_selected_contest_delay()
        The contest delay selected by the counterparty, which applies to holder-broadcast transactions
      • set_selected_contest_delay

        public void set_selected_contest_delay​(short val)
        The contest delay selected by the counterparty, which applies to holder-broadcast transactions
      • eq

        public boolean eq​(CounterpartyChannelTransactionParameters b)
        Checks if two CounterpartyChannelTransactionParameterss contain equal inner contents. This ignores pointers and is_owned flags and looks at the values in fields. Two objects with NULL inner values will be considered "equal" here.
      • write

        public byte[] write()
        Serialize the CounterpartyChannelTransactionParameters object into a byte array which can be read by CounterpartyChannelTransactionParameters_read