mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-02-22 06:41:44 +01:00
We keep a "database" for each side's persistent state. Upon restart, each side tells the other where it was up to, in terms of the number of commit and revocation messages it receives. Because only one update can be in flight at a time, we can tell w Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
26 lines
312 B
Text
26 lines
312 B
Text
# 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
|