-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test is provided for lightning gossip not showing up #4
Commits on Aug 7, 2023
-
build: more 32-bit printf fixes.
Reported-by: Shahana Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 84fe3dc - Browse repository at this point
Copy the full SHA 84fe3dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for f64aaaf - Browse repository at this point
Copy the full SHA f64aaafView commit details -
Configuration menu - View commit details
-
Copy full SHA for be829a1 - Browse repository at this point
Copy the full SHA be829a1View commit details -
[Moved into a separate commit --RR]
Configuration menu - View commit details
-
Copy full SHA for 49acafe - Browse repository at this point
Copy the full SHA 49acafeView commit details -
docs: try to fix up readthedocs.io, so it has the latest man pages, b…
…ut points to docs.corelighting.org for the rest Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5faaa39 - Browse repository at this point
Copy the full SHA 5faaa39View commit details -
splicing: Update documentation
Added documentation for splice_update & splice_signed and tweaked splice_init. Added corresponding schemas for splice_* commands Changelog-None
Configuration menu - View commit details
-
Copy full SHA for aa2df28 - Browse repository at this point
Copy the full SHA aa2df28View commit details -
Configuration menu - View commit details
-
Copy full SHA for f56ba46 - Browse repository at this point
Copy the full SHA f56ba46View commit details -
meta: Add the VLS team as codeowners of hsmd/hsmd_wire.csv
We use this file as a proxy for breaking changes in the signer protocol. It may not catch all the breaking changes, but it's a good first approximation.
Configuration menu - View commit details
-
Copy full SHA for 0bf5ee6 - Browse repository at this point
Copy the full SHA 0bf5ee6View commit details -
channeld: don't send splice TLV fields unless negotiated.
This make ACINQ seize up, and not send revoke_and_ack. Eventually, this can cause a bad signature error, should payments go in both directions, which is a separate bug, but this is the trigger. See: ElementsProject#6500 Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 91a58a0 - Browse repository at this point
Copy the full SHA 91a58a0View commit details -
docker: bitcoin and elements version update
Updated bitcoin and elements versions to 22.0.
Configuration menu - View commit details
-
Copy full SHA for 248b34a - Browse repository at this point
Copy the full SHA 248b34aView commit details -
plugins/bcli: update minimum required bitcoind version.
Less than 22 is obsolete anyway, so we should increment this from 16.0 at least! Closes: ElementsProject#6234 Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2042b50 - Browse repository at this point
Copy the full SHA 2042b50View commit details -
renepay: allow it to die gracefully without crashing lightningd.
Suggested-by: @Lagrang3 Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f556be5 - Browse repository at this point
Copy the full SHA f556be5View commit details -
pytest: test that we close connection if adding an HTLC times out.
Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d4ed1c7 - Browse repository at this point
Copy the full SHA d4ed1c7View commit details -
lightningd: close connection when HTLC addition times out.
I noticed this while debugging an issue with ACINQ, that we got upset, but didn't trigger a reconnect cycle. Signed-off-by: Rusty Russell <[email protected]> Changelog-Fixed: Protocol: We now close connection with a peer if adding an HTLC times out (which may be a TCP connectivity issue).
Configuration menu - View commit details
-
Copy full SHA for 91ea85b - Browse repository at this point
Copy the full SHA 91ea85bView commit details -
pytest: test for listsendpays and lightning: prefix crash.
Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7a88900 - Browse repository at this point
Copy the full SHA 7a88900View commit details -
lightningd: fix bolt11 parsing in preapproveinvocie, sendonion, lists…
…endpays and renepay Since bolt11_decode now insists that any `lightning:` prefix be removed, we need to make sure to use param_invstring not param_string for all bolt11 parameters: ``` 2023-08-07T05:55:32.515Z **BROKEN** lightningd: FATAL SIGNAL 6 (version v23.08rc1-21-g0bf5ee6) 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: common/daemon.c:38 (send_backtrace) 0x55dd94934154 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: common/daemon.c:75 (crashdump) 0x55dd949342e6 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0 ((null)) 0x7f5cf5a3bcef 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: ./nptl/pthread_kill.c:44 (__pthread_kill_implementation) 0x7f5cf5a9226b 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: ./nptl/pthread_kill.c:78 (__pthread_kill_internal) 0x7f5cf5a9226b 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: ./nptl/pthread_kill.c:89 (__GI___pthread_kill) 0x7f5cf5a9226b 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: ../sysdeps/posix/raise.c:26 (__GI_raise) 0x7f5cf5a3bc45 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: ./stdlib/abort.c:79 (__GI_abort) 0x7f5cf5a227fb 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: ./assert/assert.c:92 (__assert_fail_base) 0x7f5cf5a2271a 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: ./assert/assert.c:101 (__GI___assert_fail) 0x7f5cf5a33595 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: common/bolt11.c:734 (bolt11_decode_nosig) 0x55dd94929967 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: common/bolt11.c:953 (bolt11_decode) 0x55dd9492a44f 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: lightningd/pay.c:1730 (json_listsendpays) 0x55dd948d7d72 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: lightningd/jsonrpc.c:658 (command_exec) 0x55dd948b525b 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: lightningd/jsonrpc.c:786 (rpc_command_hook_final) 0x55dd948b5876 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: lightningd/plugin_hook.c:285 (plugin_hook_call_) 0x55dd948f6446 2023-08-07T05:55:32.515Z **BROKEN** lightningd: backtrace: lightningd/jsonrpc.c:874 (plugin_hook_call_rpc_command) 0x55dd948b5c77 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: lightningd/jsonrpc.c:984 (parse_request) 0x55dd948b6234 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: lightningd/jsonrpc.c:1090 (read_json) 0x55dd948b670f 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:59 (next_plan) 0x55dd94ac9bf4 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:407 (do_plan) 0x55dd94aca823 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: ccan/ccan/io/io.c:417 (io_ready) 0x55dd94aca865 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: ccan/ccan/io/poll.c:453 (io_loop) 0x55dd94accbff 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: lightningd/io_loop_with_timers.c:22 (io_loop_with_timers) 0x55dd948b33c4 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: lightningd/lightningd.c:1332 (main) 0x55dd948ba429 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: ../sysdeps/nptl/libc_start_call_main.h:58 (__libc_start_call_main) 0x7f5cf5a2350f 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: ../csu/libc-start.c:381 (__libc_start_main_impl) 0x7f5cf5a235c8 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0x55dd94881e74 2023-08-07T05:55:32.516Z **BROKEN** lightningd: backtrace: (null):0 ((null)) 0xffffffffffffffff ``` Fixes: ElementsProject#6524 Signed-off-by: Rusty Russell <[email protected]> Changelog-None: broken in master since last release.
Configuration menu - View commit details
-
Copy full SHA for 54bcb10 - Browse repository at this point
Copy the full SHA 54bcb10View commit details -
fix flake8 errors in the script file (ElementsProject#6528)
* fix flake8 errors * fix E126 error * fix E123 error
Configuration menu - View commit details
-
Copy full SHA for 98c805e - Browse repository at this point
Copy the full SHA 98c805eView commit details
Commits on Aug 8, 2023
-
lightningd: use fsync not fdatasync.
Apparently MacOS doesn't always have fdatasync, so use fsync. Even more importantly check whether it succeeds! Fixes: ElementsProject#6516 Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fbe87f - Browse repository at this point
Copy the full SHA 1fbe87fView commit details -
doc: Fix typo in the description of fields
private
Signed-off-by: Peter Neuroth <[email protected]> [ Regenerated man pages --RR ]
Configuration menu - View commit details
-
Copy full SHA for 29fea55 - Browse repository at this point
Copy the full SHA 29fea55View commit details -
Fix: Remove Sync requirements on Futures returned in the Rust plugin …
…library. See: bitcoindevkit/bdk#1047 (comment) In general, futures produced by most libraries in the ecosystem of Rust, and bounds placed on users of famous runtimes like tokio and its spawn method all lack Sync requirements. Because of this, anyone who creates a callback using any sort of library that returns a non-Sync future (which most libraries fit this description) inside of it will get some cryptic error messages (async error messages still leave a lot to be desired). Removing these Sync requirements will make the library more useful.
Configuration menu - View commit details
-
Copy full SHA for 32b88a2 - Browse repository at this point
Copy the full SHA 32b88a2View commit details -
hsmd: rename "capabilities" flags for hsm fds to "permissions"
I obviously like the word "capabilities" since I reused it to refer to the HSM's overall features :( Suggested-by: @ksedgwic Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d95cfc0 - Browse repository at this point
Copy the full SHA d95cfc0View commit details -
hsmd: fix capability check for signing splices.
The nomenclature confusion mean that we were ANDING a capability with a message number (29) which always returned non-zero. We really do need a new capability which we can hand to channeld to make these splice txs. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ac092c0 - Browse repository at this point
Copy the full SHA ac092c0View commit details -
pytest: run splicing test on every run.
EXPERIMENTAL_SPLICING=1 turns it on for *all* tests, to make sure we don't accidentally break those. But we can (and should!) run the splice test under every possible CI scenario. Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for dabd6c6 - Browse repository at this point
Copy the full SHA dabd6c6View commit details
Commits on Aug 9, 2023
-
renepay: add help for renepay & renepaystatus
Signed-off-by: Lagrang3 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 961ad21 - Browse repository at this point
Copy the full SHA 961ad21View commit details -
plugins: fix error report from bitcoin-cli exec failure.
We've stomped errno, so if exec fails we don't get a reliable result: ``` 2023-08-07T17:58:45.713Z **BROKEN** plugin-bcli: bitcoin-cli exec failed: Bad file descriptor ``` Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5f8b774 - Browse repository at this point
Copy the full SHA 5f8b774View commit details
Commits on Aug 10, 2023
-
splice: Move splice to experimental feature bit
This was recommended by @t-bast: if the final spec commits to something compatible, we can simply advertize and accept both features, but if it does change in incompatible ways we won't cause problems for nodes who implement the official spec. (I split this, so first, we remove the OPT_SPLICE entirely, to make sure we caught them all. --RR) Suggested-by: @t-bast Changelog-None
Configuration menu - View commit details
-
Copy full SHA for c50e93d - Browse repository at this point
Copy the full SHA c50e93dView commit details -
common: restore OPT_SPLICE definition for the day it's ratified.
Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0281111 - Browse repository at this point
Copy the full SHA 0281111View commit details
Commits on Aug 11, 2023
-
gossipd: ignore redundant node_announcement in gossip_store.
Don't know how this is happening, but it is not harmful to ignore it for now. Fixes: ElementsProject#6531 Signed-off-by: Rusty Russell <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 846cec4 - Browse repository at this point
Copy the full SHA 846cec4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b533f5 - Browse repository at this point
Copy the full SHA 4b533f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 990b2b4 - Browse repository at this point
Copy the full SHA 990b2b4View commit details