Struct ChannelUpdate

Channel update. Peers can update some channel attributes on the fly.

struct ChannelUpdate ;

Fields

NameTypeDescription
chan_id geod24.bitblob.BitBlob!(64L)The channel ID
direction agora.flash.Types.PaymentDirectionIndicates which peer is updating it's end
fixed_fee AmountFixed fee that should be paid for each payment
htlc_delta uintthe minimum number of blocks a node requires to be added to the expiry of HTLCs
proportional_fee AmountProportional fee that should be paid for each BOA
sig agora.crypto.Schnorr.SignatureSignature of the channel peer
update_idx uintThe linearly increasing update index of this update. Only channel updates with a greater update index will be accepted by a node.

Methods

NameDescription
computeHash (dg) Implements hashing support
opEquals (other) Compares everything except the signature
toHash () Required when opEquals is implemented