Browse Source
Not just add-htlc crossing over, but all the commit stages. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>ppa-0.6.1
Rusty Russell
9 years ago
4 changed files with 49 additions and 0 deletions
@ -0,0 +1,27 @@ |
|||||
|
# Commits which cross over still get resolved. |
||||
|
A:offer 1 |
||||
|
B:offer 2 |
||||
|
A:commit |
||||
|
B:commit |
||||
|
|
||||
|
A:recvoffer |
||||
|
B:recvoffer |
||||
|
A:recvcommit |
||||
|
B:recvcommit |
||||
|
|
||||
|
A:recvrevoke |
||||
|
B:recvrevoke |
||||
|
|
||||
|
# They've got to come into sync eventually! |
||||
|
A:commit |
||||
|
B:commit |
||||
|
A:recvcommit |
||||
|
B:recvcommit |
||||
|
A:recvrevoke |
||||
|
B:recvrevoke |
||||
|
|
||||
|
checksync |
||||
|
echo ***A*** |
||||
|
A:dump |
||||
|
echo ***B*** |
||||
|
B:dump |
@ -0,0 +1,22 @@ |
|||||
|
***A*** |
||||
|
LOCAL COMMITS: |
||||
|
Commit 2: |
||||
|
Offered htlcs: 1 |
||||
|
Received htlcs: 2 |
||||
|
SIGNED |
||||
|
REMOTE COMMITS: |
||||
|
Commit 2: |
||||
|
Offered htlcs: 2 |
||||
|
Received htlcs: 1 |
||||
|
SIGNED |
||||
|
***B*** |
||||
|
LOCAL COMMITS: |
||||
|
Commit 2: |
||||
|
Offered htlcs: 2 |
||||
|
Received htlcs: 1 |
||||
|
SIGNED |
||||
|
REMOTE COMMITS: |
||||
|
Commit 2: |
||||
|
Offered htlcs: 1 |
||||
|
Received htlcs: 2 |
||||
|
SIGNED |
Loading…
Reference in new issue