mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-10 15:45:09 +01:00
4c1b50baab
We can simply set a boolean to indicate there are changes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
70 lines
1.1 KiB
Plaintext
70 lines
1.1 KiB
Plaintext
***A after two commits with fee changes***
|
|
OUR COMMITS:
|
|
Commit 0:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
SIGNED
|
|
THEIR COMMITS:
|
|
Commit 0:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
Pending incoming: FEE
|
|
SIGNED
|
|
Commit 1:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
Pending incoming: FEE
|
|
SIGNED
|
|
Commit 2:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
SIGNED
|
|
***B after receiving fee change***
|
|
OUR COMMITS:
|
|
Commit 0:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
Pending incoming: FEE
|
|
SIGNED
|
|
THEIR COMMITS:
|
|
Commit 0:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
SIGNED
|
|
***B after receiving first commit***
|
|
OUR COMMITS:
|
|
Commit 1:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
SIGNED
|
|
THEIR COMMITS:
|
|
Commit 0:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
Pending outgoing
|
|
SIGNED
|
|
***B after receiving second commit***
|
|
OUR COMMITS:
|
|
Commit 2:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
SIGNED
|
|
THEIR COMMITS:
|
|
Commit 0:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
Pending outgoing
|
|
SIGNED
|
|
***B after committing***
|
|
OUR COMMITS:
|
|
Commit 2:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
SIGNED
|
|
THEIR COMMITS:
|
|
Commit 1:
|
|
Offered htlcs:
|
|
Received htlcs:
|
|
Fee level 2
|
|
SIGNED
|