Skip to content

Commit 4b95774

Browse files
author
Antoine Riard
committed
Comment meaning of holder/counterparty
1 parent d3ccc28 commit 4b95774

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightning/src/ln/channel.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,6 +262,9 @@ enum UpdateStatus {
262262
// has been completed, and then turn into a Channel to get compiler-time enforcement of things like
263263
// calling channel_id() before we're set up or things like get_outbound_funding_signed on an
264264
// inbound channel.
265+
//
266+
// Holder designates channel data owned for the benefice of the user client.
267+
// Counterparty designates channel data owned by the another channel participant entity.
265268
pub(super) struct Channel<ChanSigner: ChannelKeys> {
266269
config: ChannelConfig,
267270

0 commit comments

Comments
 (0)