Commit 20d2e6e
Add chaos testing framework for ldk-server
Introduce ldk-server-chaos, a testing harness that stress-tests ldk-server
by running multiple nodes, opening channels, and continuously sending
payments while randomly killing and restarting nodes.
Features:
- Spawns 3 ldk-server nodes with auto-generated configs
- Creates a fully connected channel topology
- Runs concurrent payment loops between all node pairs
- Randomly kills and restarts nodes to test resilience
- Tracks payment success rates and detects timeout failures
- Uses bitcoind RPC for on-chain operations and block generation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 95aab15 commit 20d2e6e
8 files changed
Lines changed: 1264 additions & 266 deletions
File tree
- ldk-server-chaos
- src
- ldk-server/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
0 commit comments