bark: add lightning receive wallet action
- check or remove this line after you've added a CHANGELOG entry or if your PR doesn't need one (they should go into
CHANGELOG/unreleased/)
Summary by CodeRabbit
-
New Features
- Lightning receives now expose lifecycle
state, optionalsettled_at,htlc_vtxo_ids, and an optionalpayment_preimage. - Token is supported during invoice creation; claiming no longer takes a token and now reports receive state via a lifecycle-driven flow.
- Lightning receives now expose lifecycle
-
Bug Fixes
- Receive status now returns correct results for known in-progress payments (no longer waits for an HTLC arrival).
- Improved anti-DOS and token error reporting (invalid attestations, unspendable proofs, unknown/invalid tokens).
-
Documentation
- Updated CLI/JSON/REST docs and OpenAPI schema for the new receive status contract, including deprecated legacy fields.
-
Chores
- Added durable persistence for settled Lightning receives and updated related tests.
Edited by coderabbit