mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-10 07:37:05 +01:00
388dfc355e
We simply record how many fee changes there are, rather than supporting a particular level. Fees are tricky: it's a noop to apply them when incoming, but we apply them when they've been acked. Unlike HTLC modifications, which are symmetric, fee updates only apply when returning to the originating node. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
26 lines
470 B
Plaintext
26 lines
470 B
Plaintext
# Test committing fees before receiving previous revocation.
|
|
A:feechange
|
|
A:commit
|
|
A:feechange
|
|
A:commit
|
|
echo ***A after two commits with fee changes***
|
|
A:dump
|
|
B:recvfeechange
|
|
echo ***B after receiving fee change***
|
|
B:dump
|
|
B:recvcommit
|
|
echo ***B after receiving first commit***
|
|
B:dump
|
|
B:recvfeechange
|
|
B:recvcommit
|
|
echo ***B after receiving second commit***
|
|
B:dump
|
|
A:recvrevoke
|
|
A:recvrevoke
|
|
B:commit
|
|
A:recvcommit
|
|
B:recvrevoke
|
|
echo ***B after committing***
|
|
B:dump
|
|
checksync
|