89 changed files with 0 additions and 5654 deletions
@ -1,3 +0,0 @@ |
|||||
test_onion |
|
||||
test_state_coverage |
|
||||
onion_key |
|
@ -1,19 +0,0 @@ |
|||||
TEST_PROGRAMS := \
|
|
||||
test/test_protocol |
|
||||
|
|
||||
TEST_COMMON_OBJS := \
|
|
||||
common/utils.o |
|
||||
|
|
||||
$(TEST_PROGRAMS): $(TEST_COMMON_OBJS) $(BITCOIN_OBJS) $(WIRE_OBJS) |
|
||||
|
|
||||
ALL_TEST_PROGRAMS += $(TEST_PROGRAMS) |
|
||||
ALL_OBJS += $(TEST_PROGRAMS:=.o) |
|
||||
|
|
||||
test-protocol: test/test_protocol |
|
||||
@set -e; TMP=`mktemp`; for f in test/commits/*.script; do if ! $(VALGRIND) test/test_protocol < $$f > $$TMP; then echo "test/test_protocol < $$f FAILED" >&2; exit 1; fi; diff -u $$TMP $$f.expected; done; rm $$TMP |
|
||||
|
|
||||
check: test-protocol |
|
||||
clean: test-clean |
|
||||
|
|
||||
test-clean: |
|
||||
$(RM) $(TEST_PROGRAMS) $(TEST_PROGRAMS:=.o) |
|
@ -1,14 +0,0 @@ |
|||||
# Simple test that we can commit an HTLC |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,18 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
Our htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
Our htlcs: 1 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,17 +0,0 @@ |
|||||
# Simple test that we can commit two HTLCs |
|
||||
A:offer 1 |
|
||||
A:offer 3 |
|
||||
A:commit |
|
||||
B:recvoffer |
|
||||
B:recvoffer |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
||||
|
|
@ -1,18 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
Our htlcs: 1 3 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
Our htlcs: 1 3 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
Their htlcs: 1 3 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
Their htlcs: 1 3 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Simple test that we can fulfill (remove) an HTLC after fully settled. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
|
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,21 +0,0 @@ |
|||||
# Test A can commit twice; queueing two commits onto B's queue. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
|
|
||||
A:offer 3 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
|
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,18 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
Our htlcs: 1 3 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 3 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Their htlcs: 1 3 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
Their htlcs: 1 3 |
|
||||
SIGNED |
|
@ -1,28 +0,0 @@ |
|||||
# Test changes after committing but before receiving revocation. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
A:offer 3 |
|
||||
|
|
||||
# Now B receives that commitment and counter-commits. |
|
||||
B:recvcommit |
|
||||
B:commit |
|
||||
|
|
||||
A:recvrevoke |
|
||||
A:recvcommit |
|
||||
A:commit |
|
||||
|
|
||||
B:recvoffer |
|
||||
B:recvrevoke |
|
||||
B:recvcommit |
|
||||
|
|
||||
B:commit |
|
||||
A:recvrevoke |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,18 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 3 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 3 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Their htlcs: 1 3 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Their htlcs: 1 3 |
|
||||
SIGNED |
|
@ -1,22 +0,0 @@ |
|||||
# Offers which cross over still get resolved. |
|
||||
A:offer 1 |
|
||||
A:commit |
|
||||
B:offer 2 |
|
||||
B:recvoffer |
|
||||
B:recvcommit |
|
||||
B:commit |
|
||||
|
|
||||
A:recvoffer |
|
||||
A:recvrevoke |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
|
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,27 +0,0 @@ |
|||||
# 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 |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,13 +0,0 @@ |
|||||
# Simple test that we can change fee level |
|
||||
A:feechange |
|
||||
B:recvfeechange |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,16 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
Fee level 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
Fee level 1 |
|
||||
SIGNED |
|
@ -1,15 +0,0 @@ |
|||||
# We can change fee level twice. |
|
||||
A:feechange |
|
||||
A:feechange |
|
||||
A:commit |
|
||||
B:recvfeechange |
|
||||
B:recvfeechange |
|
||||
B:recvcommit |
|
||||
B:commit |
|
||||
A:recvrevoke |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,16 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
Fee level 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
Fee level 2 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
restart |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,25 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
restart |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
restart |
|
||||
B:recvoffer |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
restart |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
restart |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
restart |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
restart |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
restart |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
restart |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
restart |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
restart |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
restart |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
restart |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
restart |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
restart |
|
||||
A:recvrevoke |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Variety of tests for save/restore. |
|
||||
A:offer 1 |
|
||||
B:recvoffer |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
B:remove 1 |
|
||||
B:commit |
|
||||
A:recvremove |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
restart |
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,14 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
SIGNED |
|
@ -1,25 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
restart |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,26 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
restart |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,25 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
restart |
|
||||
B:offer 2 |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
restart |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,25 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
restart |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,26 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
restart |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,25 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
restart |
|
||||
B:recvoffer |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,23 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
# In this variant, A sends revocation *before* sending commit. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
A:commit |
|
||||
restart |
|
||||
B:recvrevoke |
|
||||
B:recvoffer |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 1: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 1: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
restart |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
restart |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
restart |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
restart |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
restart |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
restart |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
restart |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
restart |
|
||||
B:recvrevoke |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
@ -1,24 +0,0 @@ |
|||||
# Restart during commits which cross over still. |
|
||||
A:offer 1 |
|
||||
B:offer 2 |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvoffer |
|
||||
B:recvoffer |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
A:commit |
|
||||
B:commit |
|
||||
A:recvcommit |
|
||||
B:recvcommit |
|
||||
A:recvrevoke |
|
||||
B:recvrevoke |
|
||||
restart |
|
||||
|
|
||||
checksync |
|
||||
echo ***A*** |
|
||||
A:dump |
|
||||
echo ***B*** |
|
||||
B:dump |
|
@ -1,22 +0,0 @@ |
|||||
***A*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 1 |
|
||||
Their htlcs: 2 |
|
||||
SIGNED |
|
||||
***B*** |
|
||||
LOCAL COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
||||
REMOTE COMMIT: |
|
||||
Commit 2: |
|
||||
Our htlcs: 2 |
|
||||
Their htlcs: 1 |
|
||||
SIGNED |
|
File diff suppressed because it is too large
File diff suppressed because it is too large
Loading…
Reference in new issue