core-lightning/test/commits/06-change-while-commit-outstanding.script
Rusty Russell 889db659c5 test: test commands during commit phase.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2016-05-26 15:25:25 +09:30

29 lines
358 B
Plaintext

# 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