Announcements
object Announcements
Content copied to clipboard
Functions
disable Channel
Link copied to clipboard
fun disableChannel(channelUpdate: ChannelUpdate, nodePrivateKey: PrivateKey, remoteNodeId: PublicKey): ChannelUpdate
Content copied to clipboard
enable Channel
Link copied to clipboard
fun enableChannel(channelUpdate: ChannelUpdate, nodePrivateKey: PrivateKey, remoteNodeId: PublicKey): ChannelUpdate
Content copied to clipboard
is Node1
Link copied to clipboard
BOLT 7: The creating node MUST set node-id-1 and node-id-2 to the public keys of the two nodes who are operating the channel, such that node-id-1 is the numerically-lesser of the two DER encoded keys sorted in ascending numerical order,
make Channel Flags
Link copied to clipboard
make Channel Update
Link copied to clipboard
fun makeChannelUpdate(chainHash: ByteVector32, nodePrivateKey: PrivateKey, remoteNodeId: PublicKey, shortChannelId: ShortChannelId, cltvExpiryDelta: CltvExpiryDelta, htlcMinimum: MilliSatoshi, feeBase: MilliSatoshi, feeProportionalMillionths: Long, htlcMaximum: MilliSatoshi, enable: Boolean = true, timestampSeconds: Long = currentTimestampSeconds()): ChannelUpdate
Content copied to clipboard