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

Deprecations and spec updates post-0.12 #5490

Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
2003a1b
test: fix tlvs test in funding_locked tlv.
rustyrussell Sep 10, 2022
1657202
wire/test: neaten and complete tlv checks.
rustyrussell Sep 10, 2022
0bb9cc3
common: remove unused parameter "allow_deprecated" from parse_wireadd…
rustyrussell Sep 10, 2022
e241348
lightningd: remove double-wrapped rpc_command hook.
rustyrussell Sep 10, 2022
986a0c2
lightningd: always require "jsonrpc": "2.0" in request.
rustyrussell Sep 10, 2022
560b7ef
lightningd: don't allow old listforwards arg order.
rustyrussell Sep 10, 2022
13738d1
lightningd: do inline parsing for listforwards status parameter
rustyrussell Sep 10, 2022
c6b2832
plugins: require usage for plugin APIs.
rustyrussell Sep 10, 2022
ffd6b70
lightningd: remove `use_proxy_always` parameter to plugin init.
rustyrussell Sep 10, 2022
185be8d
listchannels: don't show "htlc_maximum_msat" if channel_update didn't…
rustyrussell Sep 10, 2022
b90ba77
offers: update to remove "vendor" and "timestamp" fields.
rustyrussell Sep 10, 2022
258cdf8
offers: remove backwards-compatiblity invoice_request signatures.
rustyrussell Sep 10, 2022
d3a573d
hsmtool: remove hsm_secret passwords on cmdline support in `dumponcha…
rustyrussell Sep 10, 2022
a0eeb0b
devtools/bolt-catchup.sh: a tool to update the specs, one commit at a…
rustyrussell Sep 10, 2022
00bce5e
doc: increase BOLT level to 03468e17563650fb9bfe58b2da4d1e5d28e92009
rustyrussell Sep 10, 2022
4543a7d
doc: update BOLTs to bc86304b4b0af5fd5ce9d24f74e2ebbceb7e2730
rustyrussell Sep 10, 2022
cbb569e
channeld/dualopend/lightningd: use channel_ready everywhere.
rustyrussell Sep 10, 2022
7580973
doc: upgrade to BOLTs 2ecc091f3484f7a3450e7f5543ae851edd1e0761
rustyrussell Sep 10, 2022
4d6efb4
doc: upgrade to BOLTs 341ec844f13c0c0abc4fe849059fbb98173f9766
rustyrussell Sep 10, 2022
380ee93
doc: include recent BOLT recommendation on grace period.
rustyrussell Sep 10, 2022
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
Prev Previous commit
Next Next commit
doc: upgrade to BOLTs 341ec844f13c0c0abc4fe849059fbb98173f9766
This is a slightly looser behavior, so no change needed.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
rustyrussell committed Sep 10, 2022
commit 4d6efb4a824383475a63cf0a62f6e16cb57f31ba
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ CCANDIR := ccan

# Where we keep the BOLT RFCs
BOLTDIR := ../bolts/
DEFAULT_BOLTVERSION := 2ecc091f3484f7a3450e7f5543ae851edd1e0761
DEFAULT_BOLTVERSION := 341ec844f13c0c0abc4fe849059fbb98173f9766
# Can be overridden on cmdline.
BOLTVERSION := $(DEFAULT_BOLTVERSION)

5 changes: 3 additions & 2 deletions channeld/channeld.c
Original file line number Diff line number Diff line change
@@ -1254,8 +1254,9 @@ static void send_commit(struct peer *peer)

/* BOLT #2:
*
* - if no HTLCs remain in either commitment transaction:
* - MUST NOT send any `update` message after a `shutdown`.
* - if no HTLCs remain in either commitment transaction (including dust HTLCs)
* and neither side has a pending `revoke_and_ack` to send:
* - MUST NOT send any `update` message after that point.
*/
if (peer->shutdown_sent[LOCAL] && !num_channel_htlcs(peer->channel)) {
status_debug("Can't send commit: final shutdown phase");