Skip to content

fix: accept Lightning node ids in get_info; honest outcome docs; 0.1.8 - #12

Merged
TheCryptoDonkey merged 10 commits into
mainfrom
fix/pre-announcement
Sep 23, 2026
Merged

TheCryptoDonkey merged 10 commits into
mainfrom
fix/pre-announcement

Conversation

@TheCryptoDonkey

Copy link
Copy Markdown
Member

Pre-announcement fixes from the audit.

  • getInfo() accepted only 32-byte hex pubkeys, so it rejected the 33-byte node id LND, Alby Hub and nwc-lnd-bridge return.
  • Wallet errors are classified: explicit refusals are definite; INTERNAL, OTHER and unknown codes are ambiguous.
  • The demo labels a failed payment after publication as outcome unknown, not rejected.
  • Wallet table separates the mainnet-tested wallet from code-surveyed ones; site overclaims removed; dead vault link fixed; site version injected at build.
  • Version 0.1.8.

WALLET_ERROR was left out of the outcome guidance. Only an explicit refusal
is definite; INTERNAL, OTHER and unknown codes must be reconciled.
UNSUPPORTED_EXTENSION joins the pre-publication list, and the site's Silence
row now names invalid responses too.
Every demo error read "rejected by nwc-kit" in red, including a pay_invoice
timeout or invalid response after publication. Those now read "outcome
unknown: reconcile before retrying" in amber. Pre-publication failures stay
rejections and explicit wallet refusals are labelled as the wallet's.
result_type is inside the ciphertext, so it cannot be checked before
decryption. inspectNwcConnection() returns no budget hints.
@TheCryptoDonkey
TheCryptoDonkey merged commit d5a4720 into main Sep 23, 2026
2 checks passed
@TheCryptoDonkey
TheCryptoDonkey deleted the fix/pre-announcement branch September 23, 2026 15:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant