Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Peer storage enable #8140

Draft
wants to merge 40 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
ccc25aa
lightningd: fix use of deprecation macro.
rustyrussell Feb 28, 2025
ef30c7d
pytest: don't need allow-deprecated-apis in test_commando/test_comman…
rustyrussell Feb 28, 2025
5d85df6
libplugin: take into account --i-promise-to-fix-broken-api-user for o…
rustyrussell Feb 28, 2025
9b1f97c
doc: remove documentation for disabled commando commands.
rustyrussell Feb 28, 2025
54e4ace
Makefile: update CLN_NEXT_VERSION.
rustyrussell Feb 28, 2025
9f11661
lightningd: remove old listconfigs output.
rustyrussell Feb 28, 2025
754b90a
lightningd: disable old notification fields.
rustyrussell Feb 28, 2025
51de3fd
lightningd: remove accept-htlc-tlv-types.
rustyrussell Feb 28, 2025
f78ae71
lightningd: remove --bind-addr and --addr munging on onions and local…
rustyrussell Feb 28, 2025
28f190d
lightningd: remove announce-addr-dns flag.
rustyrussell Feb 28, 2025
abbc5ec
plugins: no longer accept 0/1 for boolean options.
rustyrussell Feb 28, 2025
d93bb73
lightningd: no longer allow plugin flag options with non-false defaul…
rustyrussell Feb 28, 2025
07c3334
plugins: all plugins must now support non-numeric JSON RPC id fields.
rustyrussell Feb 28, 2025
538c4a0
plugins/topology: remove local channels from listchannels.
rustyrussell Mar 3, 2025
de1bd07
BOLTs: update for BOLT, which removes requirement to wait 6 blocks be…
rustyrussell Mar 3, 2025
19879d8
BOLTS: update which fixes BIP353 quotes, missing invreq field in invo…
rustyrussell Mar 3, 2025
b4ec8a1
BOLTs: Update to version with peer storage merged.
rustyrussell Mar 4, 2025
09d91e3
BOLTs: Add typo fixes and clarifications from "More clarifications ar…
rustyrussell Mar 4, 2025
840bd77
BOLTs: import spec additions for option_simple_close.
rustyrussell Mar 4, 2025
f2ea40a
common: implement op_return test.
rustyrussell Mar 4, 2025
7b01362
lightningd: rename `anchor_confirms` to `funding_confirms`.
rustyrussell Mar 4, 2025
f5bb8de
lightningd: add another stae check function.
rustyrussell Mar 4, 2025
5d17c2a
lightningd: split channel update creation functions.
rustyrussell Mar 5, 2025
bb6b5f5
gossipd: don't spam the log on duplicate channel_update.
rustyrussell Mar 5, 2025
4986e96
lightningd: don't hand redundant block_height to block notifications.
rustyrussell Mar 5, 2025
49de315
lightningd: send announcement_signatures once channel is ready, don't…
rustyrussell Mar 5, 2025
bc140eb
chanbackup: add spec quotes now we have this in the spec.
rustyrussell Mar 5, 2025
139e4bc
chanbackup: remove unnecessary allocation.
rustyrussell Mar 5, 2025
2364dd3
chanbackup: less logging in preparation for default enable.
rustyrussell Mar 5, 2025
858b150
chanbackup: use modern plugin_data.
rustyrussell Mar 5, 2025
4424f86
chanbackup: only store backups for peers with current/previous channels.
rustyrussell Mar 5, 2025
8a6dd1c
libplugin: fix jsonrpc_set_datastore_binary/jsonrpc_set_datastore_str…
rustyrussell Mar 5, 2025
1cc9732
chanbackup: use local memory to store peer backups.
rustyrussell Mar 5, 2025
68d67e7
chanbackup: use the cache instead of calling listdatastore every time.
rustyrussell Mar 5, 2025
ebbf427
chanbackup: cache available peers.
rustyrussell Mar 5, 2025
f009734
chanbackup: use peer table instead of calling "listpeerchannels".
rustyrussell Mar 5, 2025
566b416
chanbackup: only send channel backups to max 2 peers at a time.
rustyrussell Mar 5, 2025
79a708d
chanbackup: don't send our backups to peers if they would be overlength.
rustyrussell Mar 5, 2025
1381557
lightningd: enable peer storage by default,
rustyrussell Mar 5, 2025
36b6df1
chanbackup: unbias our random peer selection.
rustyrussell Mar 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
VERSION=$(shell git describe --tags --always --dirty=-modded --abbrev=7 2>/dev/null || pwd | sed -n 's|.*/c\{0,1\}lightning-v\{0,1\}\([0-9a-f.rc\-]*\)$$|v\1|gp')

# Next release.
CLN_NEXT_VERSION := v25.02
CLN_NEXT_VERSION := v25.05

# --quiet / -s means quiet, dammit!
ifeq ($(findstring s,$(word 1, $(MAKEFLAGS))),s)
Expand All @@ -26,7 +26,7 @@ CCANDIR := ccan

# Where we keep the BOLT RFCs
BOLTDIR := ../bolts/
DEFAULT_BOLTVERSION := 89b99a578f52fcbabb39417f1855900e985b51db
DEFAULT_BOLTVERSION := ccfa38ed4f592c3711156bb4ded77f44ec01101d
# Can be overridden on cmdline.
BOLTVERSION := $(DEFAULT_BOLTVERSION)

Expand Down
4 changes: 3 additions & 1 deletion channeld/channeld.c
Original file line number Diff line number Diff line change
Expand Up @@ -4554,6 +4554,8 @@ static void peer_in(struct peer *peer, const u8 *msg)
case WIRE_FUNDING_CREATED:
case WIRE_FUNDING_SIGNED:
case WIRE_CLOSING_SIGNED:
case WIRE_CLOSING_COMPLETE:
case WIRE_CLOSING_SIG:
case WIRE_TX_ADD_INPUT:
case WIRE_TX_REMOVE_INPUT:
case WIRE_TX_ADD_OUTPUT:
Expand Down Expand Up @@ -4587,7 +4589,7 @@ static void peer_in(struct peer *peer, const u8 *msg)
case WIRE_ERROR:
case WIRE_ONION_MESSAGE:
case WIRE_PEER_STORAGE:
case WIRE_YOUR_PEER_STORAGE:
case WIRE_PEER_STORAGE_RETRIEVAL:
abort();
}

Expand Down
94 changes: 0 additions & 94 deletions cln-grpc/proto/node.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

184 changes: 0 additions & 184 deletions cln-grpc/src/convert.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading