bitcoin-dev-project / bitcoin-dev-project/sim-ln

simln-lib: handle graceful shutdown during htlc interception

Open
#272 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
80
Forks
40
Avg merge
18h 49m
Merged PRs (30d)
2

Description

as a follow-up from https://github.com/bitcoin-dev-project/sim-ln/pull/261, if a `CriticalError` occurs during htlc interception it immediately returns and triggers a simulation shutdown.

Instead of immediately returning, we can trigger a shutdown signal to other interceptors, if any, and wait for them to finish.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.