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

splicing: Adds the features needed to enable collaborative splicing & resizing of active channels. #5675

Closed
wants to merge 819 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
819 commits
Select commit Hold shift + click to select a range
76f2203
sql: fix nodes table update.
rustyrussell Mar 6, 2023
ad0cfbc
pytest: remove zombie test.
rustyrussell Mar 6, 2023
e608c01
gossipd: ignore zombie flag when loading gossip_store.
rustyrussell Mar 6, 2023
625fc75
gossipd: don't make new zombies, just prune channels as we did before.
rustyrussell Mar 6, 2023
5c87559
connectd: fix crash on freed context for new connections.
rustyrussell Mar 6, 2023
c7ba117
wallet: really allow broken migrations.
rustyrussell Mar 6, 2023
85b2e37
chanbackup: even if they enable experimental-peer-storage, check peers
rustyrussell Mar 6, 2023
28b9338
doc: add documentation for invoicerequest commands.
rustyrussell Mar 6, 2023
74993fb
doc: fix modern usage of sendinvoice (changed in v22.11)
rustyrussell Mar 6, 2023
cb318cb
doc: update documentation for fetchinvoice(7) and offer(7).
rustyrussell Mar 6, 2023
0d98ca4
offers: enable label for invoicerequest
endothermicdev Mar 9, 2023
a8c69ad
meta: update changelog for v23.02.1
endothermicdev Mar 10, 2023
00a5f48
plugins/pay: revert removal of paying invoice without description.
rustyrussell Mar 13, 2023
949afcb
CHANGELOG.md: v23.03.2
rustyrussell Mar 13, 2023
089e0d7
doc: update release procedure
endothermicdev Mar 3, 2023
ac57650
fix: partial fix lnprototest runner
vincenzopalazzo Mar 1, 2023
063efd4
common/hsm_version: list sha256 for every known version.
rustyrussell Mar 14, 2023
135d627
hsmd: deprecate reply_v1.
rustyrussell Mar 14, 2023
279f13b
lightningd: remove deprecated behavior where checkmessage would fail …
rustyrussell Mar 14, 2023
8042752
lightningd: remove deprecated local_msat, remote_msat from listpeers.
rustyrussell Mar 14, 2023
16fe045
global: remove deprecated non-msat-named msat fields.
rustyrussell Mar 14, 2023
2cd4c05
global: remove deprecated "msat" suffix on msat fields.
rustyrussell Mar 14, 2023
ab72b40
cleanup: rename json_add_amount_msat_only to json_add_amount_msat
rustyrussell Mar 14, 2023
0a52331
lightningd: require "jsonrpc": "2.0" as per JSONRPC spec.
rustyrussell Mar 14, 2023
f21e643
pytest: don't run test_backfill_scriptpubkeys under valgrind in CI.
rustyrussell Mar 14, 2023
73ae239
cln_plugin: add `shutdown()` method to `Plugin`
justinmoon Feb 25, 2023
06ce63c
ci: add timeout field to 2h for each task
vincenzopalazzo Feb 8, 2023
8b13d08
test_backfill_scriptpubkeys: stop first cln node before second sub-test
instagibbs Feb 13, 2023
b45128d
plugin: fetchinvoice: set the quantity in invreq
vincenzopalazzo Mar 13, 2023
bf279a2
Output channel_id in listfunds
kristapsk Feb 22, 2023
4f1079b
connectd: log status_failed on TOR problems
m-schmoock Mar 12, 2023
e09d7ab
pytest: add timeout to test_feerate_stress.
rustyrussell Mar 21, 2023
a6445e9
channeld: don't spin trying to send commitment while waiting.
rustyrussell Mar 20, 2023
d2fbd0e
build(deps): bump werkzeug from 2.2.2 to 2.2.3
dependabot[bot] Feb 16, 2023
130c078
common: update HSM_MIN_VERSION to reflect reality.
rustyrussell Mar 20, 2023
31c793d
hsmd: new version, which tells us the HSM version, and capabilities.
rustyrussell Mar 21, 2023
275e763
hsmd: capability addition: ability to check pubkeys.
rustyrussell Mar 21, 2023
07b08e6
lightningd: move bip32_base pointer into struct lightningd.
rustyrussell Mar 21, 2023
9f0cba6
lightningd: move bip32_pubkey here from common/, add hsm check.
rustyrussell Mar 21, 2023
13ec998
wallet/db: don't use migration_context.
rustyrussell Mar 21, 2023
9a24405
fuzz: avoid buffer overflow in bech32 target
morehouse Mar 15, 2023
fdccc95
fuzz: fix UBSan nullability error
morehouse Mar 16, 2023
01c5c6d
test: add PSBT field that doesn't collide with PSBTv2 fields
instagibbs Jan 31, 2023
ba09187
Update libwally to 0.8.8, support PSBTv2
instagibbs Feb 1, 2023
653058a
Re-enable PSBT tests for Liquid except test_sign_and_send_psbt
instagibbs Feb 6, 2023
066ae36
Add PSBT version setting RPC to aid with debugging and compatibility
instagibbs Mar 2, 2023
abab900
Make startup_regtest.sh more robust to bitcoind wallet state
instagibbs Mar 20, 2023
7fb9797
test_closing_different_fees: b vs balance in loop
instagibbs Mar 20, 2023
6bd882a
Report failure to sign psbt inputs by hsmd
instagibbs Feb 17, 2023
76b071a
Docker: run directory for post-start if present.
rustyrussell Mar 17, 2023
e523e5c
plugin: autoclean: cleanup the forwards with localfailed
vincenzopalazzo Mar 21, 2023
bcfdcb9
grpc: make the mTLS private keys user-readable only
cdecker Mar 7, 2023
5f13612
msggen: Allow using deprecated fields in the rpc -> grpc conversion
cdecker Mar 7, 2023
0ea031a
wallet: add comment on db noting that `ON DELETE CASCADE` is never used.
rustyrussell Mar 20, 2023
ddbca0c
wallet: only delete peer from db if it's unused.
rustyrussell Mar 20, 2023
0afb0a3
wallet: don't clear reference from channel to peers table when we clo…
rustyrussell Mar 20, 2023
6dd760e
db_bind_scid: rename to db_bind_short_channel_id
rustyrussell Mar 20, 2023
92b9f4d
db_col_optional: wrapper for case where a field is allowed to be NULL.
rustyrussell Mar 20, 2023
38fcba7
wallet: use db_col_optional.
rustyrussell Mar 20, 2023
de21fd9
wallet: make it clear that `enum state_change` is in db.
rustyrussell Mar 20, 2023
07f5798
wallet: add accessor for closed channels.
rustyrussell Mar 20, 2023
72e8c5b
common: expose routine to map channel_type to feature names.
rustyrussell Mar 20, 2023
80f56ec
plugins/sql: handle case of subobject with sub-arrays.
rustyrussell Mar 20, 2023
2955645
plugins/sql: recurse correctly into complex objects during processing.
rustyrussell Mar 20, 2023
562474b
listpeerchannels: add channel_type, both in hex and as array of names.
rustyrussell Mar 20, 2023
74bae0b
lightningd: add listclosedchannels command.
rustyrussell Mar 20, 2023
304f0bc
plugins/sql: add listclosedchannels
rustyrussell Mar 20, 2023
fe68b98
docs: Switch to mkdocs for documentation
cdecker Dec 6, 2022
dcadf46
docs: Structure the files in mkdocs
cdecker Dec 7, 2022
e30cec1
docs: Fix a number of broken links in the generated docs
cdecker Dec 7, 2022
4635120
docs: Add LICENSE to the About section
cdecker Dec 7, 2022
ee6aef2
tools: Add yml mode to `blockreplace.py`
cdecker Dec 19, 2022
9b53943
docs: Remove redundant ToC in FAQs
cdecker Dec 19, 2022
5626a62
docs: Use blockreplace.py to include all manpages
cdecker Dec 19, 2022
bc6b0b3
docs: Use admonition markup for warnings and notes
cdecker Dec 19, 2022
7166ad5
docs: Add docs on code generation
cdecker Dec 20, 2022
caaf99d
docs: update autogenerate file
vincenzopalazzo Mar 24, 2023
3618a82
wallet/psbt_fixup: routine to fix invalid PBSTs which modern libwally…
rustyrussell Mar 30, 2023
b76c587
wallet/test/run-psbt_fixup.c: test for psbt fixups.
rustyrussell Mar 30, 2023
cd61b39
wallet: fix up PSBTs as a migration.
rustyrussell Mar 30, 2023
342e1f6
wallet: don't silently load invalid last_tx psbts.
rustyrussell Mar 30, 2023
491ae8a
gitignore: Somebody uses vscode: make their life easier!
ShahanaFarooqui Mar 31, 2023
0c0bb2a
commando: save runes as we generate them
ShahanaFarooqui Mar 31, 2023
4ac1ffb
commando: listrunes command
ShahanaFarooqui Mar 31, 2023
fab38d5
commando: blacklist support
ShahanaFarooqui Mar 31, 2023
03a9058
commando: make blacklist effective.
rustyrussell Mar 31, 2023
c6388a0
commando: Save blacklist runes to datastore
ShahanaFarooqui Mar 31, 2023
b5721ce
commando: add restrictions information in listrune command
ShahanaFarooqui Mar 31, 2023
bea4db3
doc: schemas for commando-listrunes & commando-blacklist
ShahanaFarooqui Mar 31, 2023
521dd10
doc: commando-listrunes & commando-blacklist
ShahanaFarooqui Mar 31, 2023
4153b2d
tests: commando-listrunes
ShahanaFarooqui Mar 31, 2023
3172f58
tests: commando-blacklist
ShahanaFarooqui Mar 31, 2023
aa4ea96
fuzz: fix invalid pubkey error
morehouse Mar 24, 2023
fac5103
ccan: update to include versions which pass -fsanitize=address and -f…
rustyrussell Apr 1, 2023
ad8245f
configure: support sanitizers properly.
rustyrussell Apr 1, 2023
e49257f
common/gossmap: don't memcpy NULL, 0, and don't add 0 to NULL pointer.
rustyrussell Apr 1, 2023
771b5bf
bitcoin/script: don't memcmp NULL.
rustyrussell Apr 1, 2023
a1ab3f5
plugins/pay: fix capacity bias.
rustyrussell Apr 1, 2023
14eade6
channeld: don't asort(NULL).
rustyrussell Apr 1, 2023
4f76d75
fuzz: fix check-src/includes when fuzzing enabled.
rustyrussell Apr 3, 2023
70c1009
pyln-proto: shorten ShortChannelId.from_str()
m-schmoock Feb 16, 2023
0f205a8
pyln-testing: remove deprecated fund_channel
m-schmoock Feb 13, 2023
336d394
pyln-testing: fundbalancedchannel default total_capacity to FUNDAMOUNT
m-schmoock Feb 13, 2023
328dc67
pytest: adds skipped test_create_gossip_mesh
m-schmoock Feb 16, 2023
7aa5998
pygossmap: cleanups and optimizations
m-schmoock Feb 14, 2023
1830ece
pygossmap: adds GossmapHalfchannel to module exports
m-schmoock Feb 27, 2023
c25a4cf
pygossmap: adds missing __str__, __eq__ and __hash__
m-schmoock Feb 14, 2023
1cea8e3
pygossmap: adds a more complete mesh testcase
m-schmoock Feb 14, 2023
0766e0d
pygossmap: adds get_halfchannel
m-schmoock Feb 16, 2023
5b65ce0
pygossmap: adds get_neighbors and get_neighbors_hc flodding method
m-schmoock Feb 17, 2023
9a79f07
pygossmap: parse node addresses and other data
m-schmoock Feb 21, 2023
1d94f54
pygossmap: read .disabled from channel_flags
m-schmoock Mar 1, 2023
5fbfa25
pygossmap: store features for nodes and channels
m-schmoock Feb 23, 2023
458119b
pygossmap: adds statistic and filter module
m-schmoock Feb 25, 2023
fecd437
pygossmap: rename GossipStoreHeader to GossipStoreMsgHeader
m-schmoock Mar 8, 2023
662f4ce
delpay: delete the payment by status from the db
vincenzopalazzo Mar 22, 2023
33cac33
fix helloworld.py example in README for pyln-client
chrisguida Apr 4, 2023
a323ffc
doc: fix commando-listrunes SHA256SUM line.
rustyrussell Apr 5, 2023
c4bcd81
pytest: add connection test for gratuitous transient failure message.
m-schmoock Apr 3, 2023
76afc5e
channel: don't log scary disconnect message on unowned channels.
rustyrussell Apr 3, 2023
a31dd0a
chaintopology: rename broadcast_tx callback name.
rustyrussell Mar 23, 2023
46aee93
bitcoin: helpers to clone a bitcoin_tx, and format one.
rustyrussell Mar 23, 2023
270e0e5
lightningd: rebroadcast code save actual tx, not just hex encoding.
rustyrussell Mar 23, 2023
5fb2caf
lightningd: provide callback in broadcast_tx() for refreshing tx.
rustyrussell Mar 23, 2023
cb10b00
lightningd: don't use notleak in chaintopology.c
rustyrussell Mar 23, 2023
9a7fbf0
chaintopology: allow minblock for broadcast_tx.
rustyrussell Mar 23, 2023
4ad07c8
bitcoin: add tx_feerate() to reverse-calculate feerate a tx paid.
rustyrussell Mar 23, 2023
dbdb4d9
lightningd: use tx_feerate() for calculating fallback feerate for onc…
rustyrussell Mar 23, 2023
ed07c91
onchaind: simplify lightningd message handling into a switch statement.
rustyrussell Mar 23, 2023
1e9b0d2
bitcoind: fix clone_bitcoin_tx() when tx is take().
rustyrussell Mar 23, 2023
2649c22
onchaind: helper to read and queue unwanted messages.
rustyrussell Mar 23, 2023
85ed303
onchaind: two minor tidyups.
rustyrussell Mar 23, 2023
cff2268
plugins/bcli: use getmempoolinfo to determine minimum possible fee.
rustyrussell Mar 23, 2023
536d2ea
Makefile: fix check-gen-update to diff *all* files.
rustyrussell Mar 23, 2023
081b213
pyln.testing: remove Throttler.
rustyrussell Mar 23, 2023
ec84897
postgres: add missing 'update_count' to stmt
niftynei Apr 5, 2023
2cb7db0
db: catch SQL errors unless we're expecting them.
rustyrussell Apr 5, 2023
6139c69
db: make db_exec_prepared_v2 return void.
rustyrussell Apr 5, 2023
949156d
db: db_set_intvar/db_get_var should take a const char *.
rustyrussell Apr 5, 2023
60440f3
msggen: Add patching system, add `added` and `deprecated` to Field
cdecker Mar 28, 2023
ab7dbdf
msggen: Add an optional patch
cdecker Mar 28, 2023
9b9b790
msggen: Use the inferred optional field
cdecker Mar 28, 2023
45d0890
msggen: Add VersioningCheck
cdecker Mar 31, 2023
93b8a7a
common: fix build of run-channel_type.c
rustyrussell Apr 5, 2023
4ec51f6
tests: test for stopping node while it's starting.
rustyrussell Apr 6, 2023
b78b69e
lightningd: add initializing state.
rustyrussell Apr 6, 2023
a3e9ceb
hsmd: add support for lightningd signing onchain txs.
rustyrussell Apr 5, 2023
4a4f343
lightningd: handle first case of onchaind handing a tx to us to create.
rustyrussell Apr 5, 2023
f90d535
onchaind: infrastructure to offload tx creation to lightningd.
rustyrussell Apr 5, 2023
dd9c77f
pyln-testing: adapt wait_for_onchaind_broadcast function for when onc…
rustyrussell Apr 5, 2023
b8c67fa
onchaind: use lightningd to send "delayed_output_to_us" from HTLC txs.
rustyrussell Apr 5, 2023
c38eaf5
onchaind: use lightningd for spending our unilateral "to us" output.
rustyrussell Apr 5, 2023
ebcc595
lightningd: remember depth of closing transaction.
rustyrussell Apr 5, 2023
b38a536
onchaind, pytest: disable RBF logic.
rustyrussell Apr 5, 2023
30aae09
onchaind: have lightningd create our penalty txs.
rustyrussell Apr 5, 2023
2d58872
common: expose low-level htlc_tx function.
rustyrussell Apr 5, 2023
5acdce7
onchaind: use lightningd to sign and broadcast htlc_success transacti…
rustyrussell Apr 5, 2023
f3236bd
onchaind: use lightningd to sign and broadcast htlc spending txs.
rustyrussell Apr 5, 2023
62cf00b
onchaind: use lightningd to sign and broadcast htlc_timeout transacti…
rustyrussell Apr 5, 2023
4b7be6e
onchaind: use lightningd to sign and broadcast htlc expired txs.
rustyrussell Apr 5, 2023
9d6baa2
pytest: clean up wait_for_onchaind_tx interface, remove wait_for_onch…
rustyrussell Apr 5, 2023
eb874af
onchaind: propose_ignore specifically to ignore if output reaches depth.
rustyrussell Apr 5, 2023
e13c227
onchaind: remove now-unused direct tx creation.
rustyrussell Apr 5, 2023
2c89296
onchaind: no longer need information about current feerates.
rustyrussell Apr 5, 2023
5be2924
Update INSTALL.md
anmode Apr 6, 2023
a4ca829
test: add the timeout to the waitpay command
vincenzopalazzo Mar 23, 2023
55179da
lightningd: update comments now channel-type is merged.
rustyrussell Apr 7, 2023
b99a793
wire: fix extracted patch.
rustyrussell Apr 7, 2023
47731be
Makefile: update bolts to 60cfb5972ad4bec4c49ee0f9e729fb3352fcdc6a.
rustyrussell Apr 7, 2023
a4ca75f
Makefile: update bolts fc40879995ebc61cc50dfd729512f17afb15b355.
rustyrussell Apr 7, 2023
a400361
Makefile: bolt version b38156b9510c0562cf50f8758a64602cc0315c19
rustyrussell Apr 7, 2023
ae53094
Makefile: update bolts a0bbe47b0278b4f152dbaa4f5fab2562413a217c
rustyrussell Apr 7, 2023
e1d5ef3
Makefile: update to BOLT 20066dc2aba906f37f3be5a810ae67040f265377
rustyrussell Apr 7, 2023
6a6a32b
Makefile: update to latest BOLT text.
rustyrussell Apr 7, 2023
2dfdd43
tests: split fetchinvoice recurrence tests into separate test.
rustyrussell Apr 7, 2023
de744b0
reckless: don't crash on subprocess calls
endothermicdev Apr 6, 2023
5416c69
reckless: add support for additional networks
endothermicdev Apr 6, 2023
0664edb
reckless: use environment variable redirects
endothermicdev Apr 6, 2023
2b58955
pytest: add blackbox tests for reckless
endothermicdev Apr 6, 2023
bcdeab3
fuzz: add initial seed corpora
morehouse Mar 17, 2023
6b8e553
fuzz: improve corpus merging
morehouse Apr 5, 2023
75de9bd
fuzz: add check-fuzz.sh
morehouse Mar 17, 2023
c8d9b81
make: add check-fuzz target
morehouse Mar 17, 2023
7d14341
doc: document "make check-fuzz"
morehouse Mar 20, 2023
067e805
doc: add section about improving fuzzing corpora
morehouse Mar 20, 2023
b97ea04
msggen: fix incorrect assertion.
rustyrussell Apr 7, 2023
e35d88c
plugins/bcli: move commit-fee (dev-max-fee-multiplier) and into core.
rustyrussell Apr 7, 2023
2867294
common: add tal_arr_insert helper to utils.h
rustyrussell Apr 7, 2023
479208a
pytest: test parsefeerate explicitly.
rustyrussell Apr 7, 2023
99a16dc
lightningd: clarify uses of dynamic (mempool) feerate floor, and static.
rustyrussell Apr 7, 2023
10b948e
lightningd: handle fees as blockcount + range.
rustyrussell Apr 7, 2023
be85065
lightningd: clean up feerate handling, deprecate old terms.
rustyrussell Apr 7, 2023
d38495d
lightningd: allow "NNblocks" and "minimum" as feerates.
rustyrussell Apr 7, 2023
d461237
lightningd: handle bcli plugins returning fee_floor and feerates para…
rustyrussell Apr 7, 2023
643839a
plugins/bcli: use the new feerate levels, and the floor.
rustyrussell Apr 7, 2023
01ca596
feerates: add `floor` field for the current minimum feerate bitcoind …
rustyrussell Apr 7, 2023
298e7b6
lightningd: base feerate for onchain txs on deadlines, not fixed fees.
rustyrussell Apr 7, 2023
694145e
lightningd: split the simple onchain tx signing code.
rustyrussell Apr 7, 2023
487cb96
lightningd: remember if they set "allowhighfees" when we rebroadcast.
rustyrussell Apr 7, 2023
a67a174
lightningd: rebroadcast all pending txs each 30-60 seconds.
rustyrussell Apr 7, 2023
fd69f76
lightningd: do RBF again for all the txs.
rustyrussell Apr 9, 2023
465ccba
connectd: don't try to set TCP_CORK on websocket pipe.
rustyrussell Apr 9, 2023
01a9967
connectd: log broken if TCP_CORK fails.
rustyrussell Apr 9, 2023
e278704
connectd: don't leak fds if we have both IPv4 and IPv6.
rustyrussell Apr 9, 2023
7c80b58
common: lookup function for symnames.
rustyrussell Apr 9, 2023
a2b30e6
connectd: dev-report-fds to do file descriptor audit.
rustyrussell Apr 9, 2023
7dc4b33
lightningd: create small hsm_sync_req() helper for hsm queries.
rustyrussell Apr 10, 2023
f2db0e0
db: print nice message and not just backtrace on bad column name.
rustyrussell Apr 10, 2023
c757624
lightningd: expose default_locktime for wider usage.
rustyrussell Apr 10, 2023
03f40e7
bitcoin: rename confusing functions.
rustyrussell Apr 10, 2023
d6034b9
pyln-testing: add support to tell bitcoind not to include txs if fee …
rustyrussell Apr 10, 2023
1c47ff5
lightningd: fix parent reporting for memleaks.
rustyrussell Apr 10, 2023
89f8674
bitcoin: bitcoin_tx_remove_output()
rustyrussell Apr 10, 2023
d37154a
wallet: allow psbt_using_utxos to take a starter psbt.
rustyrussell Apr 10, 2023
3da0eb6
common/channel_type: routines to set known variants, set scid_alias.
rustyrussell Apr 10, 2023
8dc0ad6
zeroconf: don't accept channel_type with option_zeroconf unless we're…
rustyrussell Apr 10, 2023
b02fb1b
wallet: add channel_type field to db.
rustyrussell Apr 10, 2023
0549224
lightningd: use channel_type as we're supposed to for forward descisi…
rustyrussell Apr 10, 2023
08abad8
pytest: Reproduce #6143
cdecker Apr 6, 2023
eaf3807
cln: Fix routehints conversion from cln-rpc and cln-grpc
cdecker Apr 6, 2023
0232c06
ld: Add a couple of logging statements when forwarding
cdecker Jan 5, 2023
0100830
have towire_wally_psbt and fromwire_wally_psbt set safe psbt version
instagibbs Apr 10, 2023
ccc26fb
Fix Typo in startup_regtest.sh
joelklabo Apr 10, 2023
b62f335
hsmtool: rework common hsm_secret fetch/decode.
rustyrussell Apr 7, 2023
a3ad84a
hsmtool: move sodium_init() to top level.
rustyrussell Apr 7, 2023
65af663
hsmtool: makerune command.
rustyrussell Apr 11, 2023
7bc269d
doc: give helpful examples for feerate values.
rustyrussell Apr 11, 2023
5c3984a
doc: document that urgent doesn't use the 2-block estimate, but the 6…
rustyrussell Apr 11, 2023
b721484
Mac: Update Makefile to work on Mac zsh
ddustin Apr 11, 2023
b60e9ee
hsmd: Add sign splice command
ddustin Mar 4, 2023
cc711cc
psbt: routine for lining up sigantures in a witness stack
ddustin Apr 13, 2023
ffd98bb
splicing: Add channel state AWAITING_SPLICE
ddustin Mar 3, 2023
1ae78bc
psbt: Fix psbt linseraize_input bug
ddustin Mar 5, 2023
fd33d89
splicing: Register feature bit
ddustin Mar 5, 2023
aa3025a
splicing: add flexible version of `channel_txs`
ddustin Mar 5, 2023
e783bad
splicing: add DB details for splice HTLCs
ddustin Apr 13, 2023
7be880a
channeld: Code to implement splicing
ddustin Apr 13, 2023
e615512
contrib/startup: ignore db-updates; fix typo
niftynei Apr 3, 2023
32ad28d
splice: start with starting balances
niftynei Apr 3, 2023
02eb660
fixup! channeld: Code to implement splicing
ddustin Apr 27, 2023
ff450c8
fixup! channeld: Code to implement splicing
ddustin May 5, 2023
13e8fd9
fixup! channeld: Code to implement splicing
ddustin May 5, 2023
7c62ea0
fixup! channeld: Code to implement splicing
ddustin May 5, 2023
5296720
fixup! channeld: Code to implement splicing
ddustin May 5, 2023
fe74192
fixup! channeld: Code to implement splicing
ddustin May 11, 2023
659c559
fixup! channeld: Code to implement splicing
ddustin May 11, 2023
1acc9ba
inflights: use ctx for making new ones
niftynei May 11, 2023
ea31c8f
fixup! fixup! channeld: Code to implement splicing
niftynei May 11, 2023
8e31fc2
fixup! inflights: use ctx for making new ones
niftynei May 12, 2023
e49a6f7
fixup! channeld: Code to implement splicing
niftynei May 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ statements_gettextgen.po linguist-generated=true
cln-grpc/proto/node.proto -text -diff linguist-generated=true
cln-grpc/src/convert.rs -text -diff linguist-generated=true
cln-rpc/src/model.rs -text -diff linguist-generated=true
contrib/pyln-testing/pyln/testing/node_pb2.py -text -diff linguist-generated=true
contrib/pyln-testing/pyln/testing/node_pb2.py linguist-generated=true
8 changes: 4 additions & 4 deletions .github/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ then
export STRIP="$TARGET_HOST"-strip
export CONFIGURATION_WRAPPER=qemu-"${TARGET_HOST%%-*}"-static

wget -q https://zlib.net/zlib-1.2.12.tar.gz
tar xf zlib-1.2.12.tar.gz
cd zlib-1.2.12 || exit 1
wget -q https://zlib.net/fossils/zlib-1.2.13.tar.gz
tar xf zlib-1.2.13.tar.gz
cd zlib-1.2.13 || exit 1
./configure --prefix="$QEMU_LD_PREFIX"
make
sudo make install
cd .. || exit 1
rm zlib-1.2.12.tar.gz && rm -rf zlib-1.2.12
rm zlib-1.2.13.tar.gz && rm -rf zlib-1.2.13

wget -q https://www.sqlite.org/2018/sqlite-src-3260000.zip
unzip -q sqlite-src-3260000.zip
Expand Down
19 changes: 19 additions & 0 deletions .github/scripts/install-bitcoind.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

set -e

DIRNAME="bitcoin-${BITCOIN_VERSION}"
EDIRNAME="elements-${ELEMENTS_VERSION}"
FILENAME="${DIRNAME}-x86_64-linux-gnu.tar.gz"
EFILENAME="${EDIRNAME}-x86_64-linux-gnu.tar.gz"

cd /tmp/
wget "https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/${FILENAME}"
wget "https://github.com/ElementsProject/elements/releases/download/elements-${ELEMENTS_VERSION}/${EFILENAME}"
tar -xf "${FILENAME}"
tar -xf "${EFILENAME}"
sudo mv "${DIRNAME}"/bin/* "/usr/local/bin"
sudo mv "${EDIRNAME}"/bin/* "/usr/local/bin"


rm -rf "${FILENAME}" "${EFILENAME}" "${DIRNAME}" "${EDIRNAME}"
42 changes: 26 additions & 16 deletions .github/scripts/setup.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/bin/bash
set -e
export DEBIAN_FRONTEND=noninteractive
export BITCOIN_VERSION=0.20.1
export ELEMENTS_VERSION=0.18.1.8
export BITCOIN_VERSION=24.0.1
export ELEMENTS_VERSION=22.0.2
export RUST_VERSION=stable

sudo useradd -ms /bin/bash tester
Expand Down Expand Up @@ -56,20 +56,30 @@ sudo chmod 0440 /etc/sudoers.d/tester

(
cd /tmp/ || exit 1
wget https://storage.googleapis.com/c-lightning-tests/bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.bz2
wget -q https://storage.googleapis.com/c-lightning-tests/elements-$ELEMENTS_VERSION-x86_64-linux-gnu.tar.bz2
tar -xjf bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.bz2
tar -xjf elements-$ELEMENTS_VERSION-x86_64-linux-gnu.tar.bz2
sudo mv bitcoin-$BITCOIN_VERSION/bin/* /usr/local/bin
sudo mv elements-$ELEMENTS_VERSION/bin/* /usr/local/bin
wget https://bitcoincore.org/bin/bitcoin-core-${BITCOIN_VERSION}/bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz
wget https://github.com/ElementsProject/elements/releases/download/elements-${ELEMENTS_VERSION}/elements-${ELEMENTS_VERSION}-x86_64-linux-gnu.tar.gz
tar -xf bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz
tar -xf elements-${ELEMENTS_VERSION}-x86_64-linux-gnu.tar.gz
sudo mv bitcoin-${BITCOIN_VERSION}/bin/* /usr/local/bin
sudo mv elements-${ELEMENTS_VERSION}/bin/* /usr/local/bin
rm -rf \
bitcoin-$BITCOIN_VERSION-x86_64-linux-gnu.tar.gz \
bitcoin-$BITCOIN_VERSION \
elements-$ELEMENTS_VERSION-x86_64-linux-gnu.tar.bz2 \
elements-$ELEMENTS_VERSION
bitcoin-${BITCOIN_VERSION}-x86_64-linux-gnu.tar.gz \
bitcoin-${BITCOIN_VERSION} \
elements-${ELEMENTS_VERSION}-x86_64-linux-gnu.tar.gz \
elements-${ELEMENTS_VERSION}
)

if [ "$RUST" == "1" ]; then
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
-y --default-toolchain ${RUST_VERSION}
fi
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
-y --default-toolchain ${RUST_VERSION}

# We also need a relatively recent protobuf-compiler, at least 3.12.0,
# in order to support the experimental `optional` flag.
PROTOC_VERSION=3.15.8
PB_REL="https://github.com/protocolbuffers/protobuf/releases"
curl -LO $PB_REL/download/v${PROTOC_VERSION}/protoc-${PROTOC_VERSION}-linux-x86_64.zip
sudo unzip protoc-3.15.8-linux-x86_64.zip -d /usr/local/
sudo chmod a+x /usr/local/bin/protoc
export PROTOC=/usr/local/bin/protoc
export PATH=$PATH:/usr/local/bin
env
ls -lha /usr/local/bin
11 changes: 6 additions & 5 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
testfreebsd:
runs-on: macos-10.15
name: Build and test on FreeBSD
timeout-minutes: 120
env:
DEVELOPER: 1
VALGRIND: 0
Expand Down Expand Up @@ -45,12 +46,12 @@ jobs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain nightly-2021-08-3z1

cd /tmp/ || exit 1
wget https://storage.googleapis.com/c-lightning-tests/bitcoin-0.20.1-x86_64-linux-gnu.tar.bz2
tar -xjf bitcoin-0.20.1-x86_64-linux-gnu.tar.bz2
sudo mv bitcoin-0.20.1/bin/* /usr/local/bin
wget https://bitcoincore.org/bin/bitcoin-core-24.0.1/bitcoin-24.0.1-x86_64-linux-gnu.tar.gz
tar -xf bitcoin-24.0.1-x86_64-linux-gnu.tar.bz2
sudo mv bitcoin-24.0.1/bin/* /usr/local/bin
rm -rf \
bitcoin-0.20.1-x86_64-linux-gnu.tar.gz \
bitcoin-0.20.1
bitcoin-24.0.1-x86_64-linux-gnu.tar.gz \
bitcoin-24.0.1

run: |
PATH=/root/.local/bin:$PATH
Expand Down
Loading