Skip to content

Use Great Spectations - #9366

Open
rustyrussell wants to merge 5 commits into
ElementsProject:masterfrom
rustyrussell:guilt/greatspectations
Open

Use Great Spectations#9366
rustyrussell wants to merge 5 commits into
ElementsProject:masterfrom
rustyrussell:guilt/greatspectations

Conversation

@rustyrussell

Copy link
Copy Markdown
Contributor

I've generalized CLN's custom quote checking into a generic Python tool, and applied it here (see https://greatspectations.org).

It's a bit stricter with BOLT quotes, so it caught some malformed ones: I fixed those up first.

This is already used as a marker, so make it universal.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
These are now in the main tree.  The only one which isn't is the comment
on reserve, which does not appear anywhere.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
1. max_dust_htlc_exposure_msat was merged: lightning/bolts#919
2. sciddir_or_pubkey was merged: lightning/bolts#798
3. gossip node check was merged: lightning/bolts#1333
4. gossip features obsolescence was merged: lightning/bolts#1092

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Great Spectations is stricter, and spotted these errors: both missing colons,
and some things which might be mistaken for bolt quotes.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
…cker.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
@rustyrussell
rustyrussell requested a review from Lagrang3 as a code owner July 30, 2026 05:58
@Lagrang3

Copy link
Copy Markdown
Collaborator

This looks good.
I'll wait for checks to pass.

Comment thread bitcoin/script.c
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.

2 participants