mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-03-01 17:47:30 +01:00
test_protocol: fix up expected test output.
Our implementation now displays things differently, so output changes. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
73df39e0c9
commit
ba50776c47
9 changed files with 68 additions and 108 deletions
|
@ -1,22 +1,18 @@
|
||||||
***A***
|
***A***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs: 1
|
Our htlcs: 1
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
Our htlcs: 1
|
||||||
Received htlcs: 1
|
|
||||||
SIGNED
|
SIGNED
|
||||||
***B***
|
***B***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
Their htlcs: 1
|
||||||
Received htlcs: 1
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs: 1
|
Their htlcs: 1
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
|
|
|
@ -1,22 +1,18 @@
|
||||||
***A***
|
***A***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs: 1 3
|
Our htlcs: 1 3
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
Our htlcs: 1 3
|
||||||
Received htlcs: 1 3
|
|
||||||
SIGNED
|
SIGNED
|
||||||
***B***
|
***B***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
Their htlcs: 1 3
|
||||||
Received htlcs: 1 3
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs: 1 3
|
Their htlcs: 1 3
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
|
|
|
@ -1,22 +1,14 @@
|
||||||
***A***
|
***A***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
***B***
|
***B***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
|
|
|
@ -1,22 +1,18 @@
|
||||||
***A***
|
***A***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs: 1 3
|
Our htlcs: 1 3
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs:
|
Our htlcs: 1 3
|
||||||
Received htlcs: 1 3
|
|
||||||
SIGNED
|
SIGNED
|
||||||
***B***
|
***B***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs:
|
Their htlcs: 1 3
|
||||||
Received htlcs: 1 3
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs: 1 3
|
Their htlcs: 1 3
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
|
|
|
@ -1,22 +1,18 @@
|
||||||
***A***
|
***A***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs: 1 3
|
Our htlcs: 1 3
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs:
|
Our htlcs: 1 3
|
||||||
Received htlcs: 1 3
|
|
||||||
SIGNED
|
SIGNED
|
||||||
***B***
|
***B***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs:
|
Their htlcs: 1 3
|
||||||
Received htlcs: 1 3
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs: 1 3
|
Their htlcs: 1 3
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
***A***
|
***A***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs: 1
|
Our htlcs: 1
|
||||||
Received htlcs: 2
|
Their htlcs: 2
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs: 2
|
Our htlcs: 1
|
||||||
Received htlcs: 1
|
Their htlcs: 2
|
||||||
SIGNED
|
SIGNED
|
||||||
***B***
|
***B***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs: 2
|
Our htlcs: 2
|
||||||
Received htlcs: 1
|
Their htlcs: 1
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs: 1
|
Our htlcs: 2
|
||||||
Received htlcs: 2
|
Their htlcs: 1
|
||||||
SIGNED
|
SIGNED
|
||||||
|
|
|
@ -1,22 +1,22 @@
|
||||||
***A***
|
***A***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs: 1
|
Our htlcs: 1
|
||||||
Received htlcs: 2
|
Their htlcs: 2
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs: 2
|
Our htlcs: 1
|
||||||
Received htlcs: 1
|
Their htlcs: 2
|
||||||
SIGNED
|
SIGNED
|
||||||
***B***
|
***B***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs: 2
|
Our htlcs: 2
|
||||||
Received htlcs: 1
|
Their htlcs: 1
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 2:
|
Commit 2:
|
||||||
Offered htlcs: 1
|
Our htlcs: 2
|
||||||
Received htlcs: 2
|
Their htlcs: 1
|
||||||
SIGNED
|
SIGNED
|
||||||
|
|
|
@ -1,24 +1,16 @@
|
||||||
***A***
|
***A***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
Fee level 1
|
Fee level 1
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
***B***
|
***B***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
Fee level 1
|
Fee level 1
|
||||||
SIGNED
|
SIGNED
|
||||||
|
|
|
@ -1,24 +1,16 @@
|
||||||
***A***
|
***A***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
Fee level 2
|
Fee level 2
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
***B***
|
***B***
|
||||||
LOCAL COMMITS:
|
LOCAL COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
SIGNED
|
SIGNED
|
||||||
REMOTE COMMITS:
|
REMOTE COMMIT:
|
||||||
Commit 1:
|
Commit 1:
|
||||||
Offered htlcs:
|
|
||||||
Received htlcs:
|
|
||||||
Fee level 2
|
Fee level 2
|
||||||
SIGNED
|
SIGNED
|
||||||
|
|
Loading…
Add table
Reference in a new issue