feat: support signet and regtest L402 capture #14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/8-signet-regtest"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
L402 and manual capture now work with signet and regtest LDK nodes. Invoice validation checks the correct BOLT11 currency for all four Bitcoin networks. Creating an
X402orBothintent on signet/regtest fails with a configuration error before issuing an invoice; the new internal receipt/L402 namespaces are never advertised as x402 network identifiers.Adds a separate real-node test through the pinned LDK Server
e2e-testsharness, plusjust test-regtestand aregtestNix shell. The runner uses an isolated scratch checkout/target and leaves the library lockfile unchanged. The shell supplies bitcoind, Git and Python so it also runs on NixOS.Validation:
21a903ccb89496285c58a55ffdce42a9f0353a05and pinned nixpkgs bitcoind 31.1. It verifies two intents for one resource, explicit capture of the selected payment, rejection with no preimage at the payer, and recovery/claim of a payment funded while the engine was closed.Stacked on #13, which provides the missed-event reconciliation used by the real-node test.
Closes #8.