Skip to content

Commit 20d2e6e

Browse files
joostjagerclaude
andcommitted
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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
/target
2+
/ldk-server-chaos/data

0 commit comments

Comments
 (0)