mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-26 02:24:18 +01:00
test: test commands during commit phase.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
28
test/commits/06-change-while-commit-outstanding.script
Normal file
28
test/commits/06-change-while-commit-outstanding.script
Normal file
@@ -0,0 +1,28 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user