tee8z / doppler

A tool for building out a local regtest environment
Creative Commons Zero v1.0 Universal
38 stars 6 forks source link

Simulate force closure #52

Closed tee8z closed 5 months ago

tee8z commented 5 months ago

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: