Struct ChannelUpdate
Channel update. Peers can update some channel attributes on the fly.
Fields
Name | Type | Description |
chan_id
|
geod24.bitblob.BitBlob!(64L) | The channel ID
|
direction
|
agora.flash.Types.PaymentDirection | Indicates which peer is updating it's end
|
fixed_fee
|
Amount | Fixed fee that should be paid for each payment
|
htlc_delta
|
uint | the minimum number of blocks a node requires to be
added to the expiry of HTLCs
|
proportional_fee
|
Amount | Proportional fee that should be paid for each BOA
|
sig
|
agora.crypto.Schnorr.Signature | Signature of the channel peer
|
update_idx
|
uint | The linearly increasing update index of this update. Only channel
updates with a greater update index will be accepted by a node.
|
Methods
Name | Description |
computeHash
(dg)
|
Implements hashing support
|
opEquals
(other)
|
Compares everything except the signature
|
toHash
()
|
Required when opEquals is implemented
|