Adds a number of features to enable simulating a chain of force closures due to an inflight payment and the receiving node going offline. We then mine enough blocks for all the htcls along the chain to expire forcing the channels to go on chain, the simulation is so extreme it actually ends up with no channels being left in the simulation. This was enable by using hodl invoice in lnd.
The features added:
SETTLE_HOLD_LN -- only works for LND nodes
SEND_HOLD_LN -- only works for LND nodes
SEND_COINS -- to send from a btc miner to any of the L2 node types (helpful in making sure there are enough funds for channels to open)
FORCE_CLOSE_CHANNEL - forces an L2 node to close a give channel
TAG - allows for hodl invoices payment hashes to be stored between doppler files being run, enable a shared state between files (these will be used in the future to enable closing a specific channel with another node instead of just picking one at random)
Adds a number of features to enable simulating a chain of force closures due to an inflight payment and the receiving node going offline. We then mine enough blocks for all the htcls along the chain to expire forcing the channels to go on chain, the simulation is so extreme it actually ends up with no channels being left in the simulation. This was enable by using hodl invoice in lnd.
The features added: