Skip to content

Update remote hsmd to v23.08rc1 #94

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

Draft
wants to merge 584 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
584 commits
Select commit Hold shift + click to select a range
22462e1
libplugin: Remove presplitter from the API
cdecker Jul 14, 2023
975046a
pyln: Make the grpcio dependencies optional
cdecker Jul 20, 2023
c4e84bc
db: add runes tables and accessors.
rustyrussell Jul 21, 2023
9177084
lightningd: new runes infrastructure.
rustyrussell Jul 21, 2023
5987c15
lightningd: implement listrunes command.
rustyrussell Jul 21, 2023
b9169d7
lightningd: implement `createrune` command.
rustyrussell Jul 21, 2023
77d08d1
pytest: test for runes, based on commando tests.
rustyrussell Jul 21, 2023
5774737
lightningd: implement `checkrune` command.
rustyrussell Jul 21, 2023
4d16b22
lightningd: implement `blacklistrune` command.
ShahanaFarooqui Jul 21, 2023
d492c74
docs: document all the rune commands which look like the now-deprecat…
rustyrussell Jul 21, 2023
0ceee93
lightningd: avoid notleak markers: move global into struct runes.
rustyrussell Jul 21, 2023
745d3f6
pytest: fix race in test_gossip_not_dying
rustyrussell Jul 20, 2023
c205970
connectd: fix transient memleak report.
rustyrussell Jul 20, 2023
e91f8dd
pytest: fix test_anchor_min_emergency "bad gossip" messages.
rustyrussell Jul 20, 2023
2e28226
pytest: fix timeout in test_channel_lease_unilat_closes
rustyrussell Jul 21, 2023
36b323e
connectd: fix memleak report.
rustyrussell Jul 21, 2023
6a7a0ea
pytest: fix flake handling intest_restorefrompeer.
rustyrussell Jul 21, 2023
0d34f49
pytest: fix timeout in test_sql
rustyrussell Jul 21, 2023
e91475c
Makefile: check-source-no-cppcheck.
rustyrussell Jul 21, 2023
063a883
pytest: make tor-requiring tests clearly distinguishable
rustyrussell Jul 21, 2023
5471289
build(deps): bump cryptography from 41.0.1 to 41.0.2
dependabot[bot] Jul 15, 2023
95b69c2
lightningd: put ignore_fee_limits bool into channel struct.
rustyrussell Jul 21, 2023
472db23
lightningd: don't override fee limits in feerate_min/max, do so in ca…
rustyrussell Jul 21, 2023
8910529
lightningd: expose ignore_fee_limits field in listpeerchannels.
rustyrussell Jul 21, 2023
f8d50fb
lightningd: remove now-unused flag in set_channel_config.
rustyrussell Jul 21, 2023
b529e79
lightningd: `setchannel` can set `ignorefeelimits`.
rustyrussell Jul 21, 2023
99a5059
wallet: persist the ignore_fee_limits bit for channels.4
rustyrussell Jul 21, 2023
7372b51
pytest: test for setchannel's new ignorefeelimits.
rustyrussell Jul 21, 2023
fe15f66
parital eq for channel state enum
evd0kim Feb 9, 2023
8bcf65f
Swap out doc links with link to new doc website
orbitalturtle Jul 22, 2023
c2eadb8
wait: new command to wait on indexes.
rustyrussell Jul 22, 2023
e92d15f
db: infrastructure to initialize indexes.
rustyrussell Jul 22, 2023
6326f50
invoices: routines to maintain invoice indices.
rustyrussell Jul 22, 2023
7b69e7e
wallet: hook up created_index for invoices.
rustyrussell Jul 22, 2023
5a76eaa
wallet: hook up updated_index for invoices.
rustyrussell Jul 22, 2023
2706f88
wallet: hoist gathering of expired_ids.
rustyrussell Jul 22, 2023
cbdfc75
invoices: pass through info to delete function, call invoice_index_de…
rustyrussell Jul 22, 2023
6782c2f
lightningd: trigger changed wait when delinvoice desconly used.
rustyrussell Jul 22, 2023
bbf4f31
invoice: include invoice label to wait subsystem when it's paid.
rustyrussell Jul 22, 2023
16c1337
listinvoices: add index and start params.
rustyrussell Jul 22, 2023
284262d
listinvoices: add limit param.
rustyrussell Jul 22, 2023
d25a8ca
lightningd: expose created_index and updated_index fields.
rustyrussell Jul 22, 2023
2549dd6
pay: Annotate both local alias and real scid with channel hints
cdecker Jul 23, 2023
5f65378
pay: Consider amounts when selecting a channel to send over
cdecker Jul 23, 2023
6920e36
added listhtlcs model
Feb 15, 2023
a6ade2e
ci: Update the upload-artifact step to v3
cdecker Jul 23, 2023
b6f2eb9
channeld: don't close connection on invalid badonion code (LND bug?)
rustyrussell Jul 22, 2023
a1d2596
devtools/print_wire: long long instead of longing
grubles Jul 23, 2023
5148fca
lightningd: fix false memleak report (test flake)!
rustyrussell Jul 24, 2023
af7e641
gossipd: don't "unmark" dying channels' updates if we receive them.
rustyrussell Jul 22, 2023
2dda526
fix: dont send blockheight updates if we're still syncing
niftynei Jul 24, 2023
f5bac83
makefile: use recursive delete to target extraneous .baks
niftynei Jul 24, 2023
a649e8b
runes: create and blacklist commands aliases
ShahanaFarooqui Jul 25, 2023
49fdc0d
runes: Renamed `listrunes` to `showrunes`
ShahanaFarooqui Jul 25, 2023
8df29db
runes: fix `stored` field.
rustyrussell Jul 25, 2023
4037594
common/json_param: use assert() for param correctness checks.
rustyrussell Jul 25, 2023
8d64e6e
pytest: use native l1 commando secret.
rustyrussell Jul 25, 2023
e284697
common: fix wrong comment on json_scan() return.
rustyrussell Jul 25, 2023
cd16690
commando: always active.
rustyrussell Jul 25, 2023
8db1488
plugins/commando: create new_commando() allocator, use it.
rustyrussell Jul 25, 2023
b169326
plugins/commando: try_command can reuse incoming `struct commando`.
rustyrussell Jul 25, 2023
3e4c010
plugins/commando: make struct cond_info self-contained, split try_com…
rustyrussell Jul 25, 2023
38075a9
commando: use CLN's checkrune() instead of our own for for rune valid…
rustyrussell Jul 25, 2023
1f791e2
commando: remove now-unused internal checking routines.
rustyrussell Jul 25, 2023
a219c99
commando: pass through commands to lightningd.
rustyrussell Jul 25, 2023
c4c4768
lightningd: initialize runes way earlier, and add rune_is_ours helper.
rustyrussell Jul 25, 2023
16d7397
wallet: internal exposure to db accessors.
rustyrussell Jul 25, 2023
e39c80b
lightningd: simplify datastore internal db API.
rustyrussell Jul 25, 2023
dccbccf
lightningd: migrate (and delete) old commando runes.
rustyrussell Jul 25, 2023
925f9fc
lightningd: migrate (and delete) old commando blacklists.
rustyrussell Jul 25, 2023
11b5f31
lightningd: clean up commando rune_counter from datastore on migration.
rustyrussell Jul 25, 2023
f5f496d
docs: Incorrect params sequence for checkrune command
ShahanaFarooqui Jul 25, 2023
21160aa
plugin: clnrest
ShahanaFarooqui Jul 14, 2023
6d63199
doc: update installation to not refer to PPA, and indicate how to get…
rustyrussell Jul 14, 2023
a6701bf
plugins/clnrest: fail gracefully if dependencies not installed.
rustyrussell Jul 14, 2023
8f2c9ce
lightningd: if a plugin disables at getmanfest time, use INFO log level.
rustyrussell Jul 14, 2023
abcfda1
plugin: On-boarding default python plugins
ShahanaFarooqui Jul 15, 2023
2ab0b4a
plugins/clnrest: disable ourselves unless rest-port is set.
rustyrussell Jul 15, 2023
5e3ffc4
plugins/clnrest: removing notifications queue in favor of websocket s…
ShahanaFarooqui Jul 15, 2023
94205c0
plugins/clnrest: Update clnrest dependencies in scripts and Dockerfiles
ShahanaFarooqui Jul 19, 2023
911d2c1
plugins/clnrest: Websocket Server
ShahanaFarooqui Jul 24, 2023
bcdfac7
bolt11: Don't push the size of the witness program for v1+ scripts
niftynei Jul 24, 2023
adee071
pytest: test self-payments using sendpay.
rustyrussell Jul 22, 2023
b6d347a
db: add optional column string helper, and make db_col amounts return…
rustyrussell Jul 22, 2023
981d82c
common/utils: add tal_strdup_or_null helper.
rustyrussell Jul 22, 2023
b4f0929
db/bindings: allow db_col_short_channel_id_arr and db_col_node_id_arr…
rustyrussell Jul 22, 2023
8c64f23
lightningd: extract check_progress() from send_payment_core().
rustyrussell Jul 22, 2023
23fafe9
wallet: implement and use wallet_payment_new.
rustyrussell Jul 22, 2023
07e00d5
invoice: return error string from invoice_check_payment.
rustyrussell Jul 22, 2023
c377edf
pay: generalize payment_succeeded().
rustyrussell Jul 22, 2023
18760db
lightningd: sendpay implement zero-length path == self-pay.
rustyrussell Jul 22, 2023
6201353
libplugin/pay: allow shortcut for self-pay.
rustyrussell Jul 22, 2023
f4fd12c
channeld: Verify the signature sent by the counterparty
vincenzopalazzo Jul 6, 2023
5190a21
ci: Update lnprototest
vincenzopalazzo Jul 15, 2023
7ddebad
plugins/bcli: fix leak report when bitcoind goes away.
rustyrussell Jul 22, 2023
0a727ae
plugins/bcli: plug temporary leak on retry.
rustyrussell Jul 22, 2023
fd445aa
pytest: test that we proactively close incoming HTLCs to avoid them c…
rustyrussell Jul 24, 2023
af71fd6
onchaind: keep trying to collect HTLC even if we're past timeout.
rustyrussell Jul 24, 2023
978c169
lightningd: fail incoming HTLCs if peer would close channel.
rustyrussell Jul 24, 2023
bc59bb7
pay: Fix a non-rebased PR merge error
cdecker Jul 26, 2023
4a4da00
gossipd: handle upgrade from version 11 gossip_store
endothermicdev Jul 19, 2023
30b873d
reckless: style cleanups, type hints, simplify create_dir
endothermicdev Jul 17, 2023
8704a4b
reckless: add installation capability for additional sources
endothermicdev Jul 18, 2023
7915a9d
pytest: add reckless local install test
endothermicdev Jul 25, 2023
7b8ea7f
msggen: Add two missing fields to the `listpays` schema
cdecker Jul 25, 2023
909bed6
pytest: add test for db crash on conflicting invoice.id
rustyrussell Jul 27, 2023
435a462
wallet: fix migration of existing invoices's id variable.
rustyrussell Jul 27, 2023
693d510
SECURITY.md: fix email address
morehouse Jul 27, 2023
df10a7e
config: Detect presence of USDT header in configure
cdecker Jul 27, 2023
ed8d333
trace: First draft of API
cdecker Jul 27, 2023
7743062
trace: Instrument lightningd startup sequence
cdecker Jul 27, 2023
3da974c
trace: Instrument the wallet startup functions
cdecker Jul 27, 2023
039aaaf
trace: Instrument topology functions
cdecker Jul 27, 2023
ca808b8
trace: Use User Statically-Defined Tracepoints to emit tracing spans
cdecker Jul 27, 2023
6ee98ae
doc: Add documentation for the tracing subsystem
cdecker Jul 27, 2023
7281c44
update dead links
adi-shankara Jul 27, 2023
f15e250
pytest: fix flake in test_gossip_store_compact_on_load.
rustyrussell Jul 27, 2023
b2c1ef7
build: avoid printing PLUGIN_BASES on every build.
rustyrussell Jul 27, 2023
e39fe41
pytest: fix flake in penalty tests
rustyrussell Jul 27, 2023
f51ce7b
pytest: follow RBF txids properly, but ignoring identical "RBF" txs.
rustyrussell Jul 27, 2023
5f20728
pay: Fix a null-dereference introduced in #6428
cdecker Jul 27, 2023
c98711a
lightningd: don't crash if peer manages to spend onchain HTLC after w…
rustyrussell Jul 27, 2023
4b4937b
gossipd: tell lightningd about all our previous channel_updates at st…
rustyrussell Jul 28, 2023
a9565f5
added frontmatter and fix github workflow
adi-shankara Jul 28, 2023
8f196b2
gossipd: actually update own node announcement if needed
endothermicdev Jul 27, 2023
955afde
gossipd: set timer for node_announcement regen
endothermicdev Jul 28, 2023
73a67fb
funder: don't re-reserve utxos on retries
niftynei Jul 30, 2023
c807db4
dual-fund tests: add tests for reported incompat with Eclair
niftynei Jul 29, 2023
9b8909e
dual-fund: keep track of aborted requests, seamlessly restart daemon
niftynei Jul 30, 2023
3fab4cc
plugin/clnrest: Updating package
ShahanaFarooqui Jul 29, 2023
637f314
plugin/clnrest: Improved readme and comments
ShahanaFarooqui Jul 29, 2023
efc7834
common/codex32: Added codex32_decode() without checksum verification.
adi2011 Jul 30, 2023
135a739
common/codex32: Added checksum verification for codex32 encoding.
adi2011 Jul 30, 2023
3b848d8
common/test: Added run-codex32 to test codex32.c decoding function.
adi2011 Jul 30, 2023
5816776
lightningd/common: Added --recover flag to populate HSM_secret with a…
adi2011 Jul 30, 2023
82c1152
tests: Added test_recover to test --recover flag.
adi2011 Jul 30, 2023
88a2c0d
lightningd/options: Always start in offline mode when run using --rec…
adi2011 Jul 30, 2023
51f72c1
lightningd: Added plugin hook to notify whenever started in rocover …
adi2011 Jul 30, 2023
97bc3ae
doc: Add documentation for --recover flag.
adi2011 Jul 30, 2023
9721ddd
codex32: minor cleanups.
rustyrussell Jul 30, 2023
bf2d9b1
codex32: document the complete representations from BIP, adjust numbers.
rustyrussell Jul 30, 2023
58327a5
codex32: rework.
rustyrussell Jul 30, 2023
c02f175
Import lqueue from CCAN
Jul 30, 2023
b8ca193
renepay: an experimental payment plugin
rustyrussell Jul 31, 2023
d46990d
renepay: add information decay linear in time
Jul 31, 2023
79486c1
renepay: fixups after comments
Jul 31, 2023
b5da85e
plugins/renepay/dijkstra: improve API to remove global.
rustyrussell Jul 31, 2023
3024afe
renepay: more cleanups
Jul 31, 2023
e5695b3
renepay: add test
Jul 31, 2023
81b30c9
pytest: test for grubles' screwed node.
rustyrussell Jul 31, 2023
97af40c
pytest: fix the invoice typo migration if you ran and created both.
rustyrussell Jul 31, 2023
6ea6b03
use of PATH_TO_BITCOIN in regtest
Jun 13, 2023
5ba4713
devtools/credit: ! not ^ to invert the match set in sh.
rustyrussell Jul 28, 2023
4a1d4f4
pytest: correctly annotate invoice tests needing sqlite3.
rustyrussell Jul 31, 2023
4b173ee
pytest: add test for expiration-on-startup crash.
rustyrussell Jul 31, 2023
2c2592f
lightningd: fix crash on startup expirations.
rustyrussell Jul 31, 2023
bdd4f6b
wallet: don't load indexes inside outpointfilters_init trace span.
rustyrussell Jul 31, 2023
38ee765
channeld: don't backtrace if master closes during sync read.
rustyrussell Jul 31, 2023
d00efbc
common/codex32: Add codex32_secret_encode to encode seeds in bip93 fo…
adi2011 Jul 31, 2023
6774cc1
tools/hsmtool: Add getcodexsecret to get the hsm_secret in bip93
adi2011 Jul 31, 2023
6a734d8
tests/test_misc.py: Add a subprocess to make sure getcodexsecret fetc…
Jul 31, 2023
6472475
Mac: Update Makefile to work on Mac zsh
ddustin Apr 11, 2023
e626f91
Mac: Change format type to use PRIu64 instead of %ld
ddustin Jul 26, 2023
eda570c
hsmd: Add sign splice command
ddustin Jul 27, 2023
108658a
psbt: routine for lining up sigantures in a witness stack
ddustin Apr 13, 2023
50fe819
splicing: Add channel state AWAITING_SPLICE
ddustin Jul 27, 2023
81a738c
psbt: Fix psbt linseraize_input bug
ddustin Mar 5, 2023
6b81243
splicing: add DB details for splice HTLCs
ddustin Apr 13, 2023
ebd0a3f
interactive-tx: Renaming for clarity and cleaning up
ddustin Jul 27, 2023
4628e3a
channeld: Code to implement splicing
ddustin Jul 27, 2023
95b3943
contrib/startup: ignore db-updates
niftynei Apr 3, 2023
dd871d9
inflights: use ctx for making new ones
niftynei May 11, 2023
0ed0a8f
signed types: integer fix
ddustin Jul 19, 2023
3974806
CI: Try not running group 2/10 UBSAN in parallel.
rustyrussell Jul 31, 2023
c96d0c2
plugin/clnrest: Updated pyln version to 23.08 in requirements.txt
ShahanaFarooqui Jul 29, 2023
85332f2
tools: build release docker script update
ShahanaFarooqui Jul 31, 2023
e6a010e
docker: fedora builder update
ShahanaFarooqui Jul 31, 2023
59a0ed4
docker: Dockerfile amd64 with pyln and clnrest
ShahanaFarooqui Jul 31, 2023
0a99f0e
docker: Dockerfile aarch images with pyln and clnrest
ShahanaFarooqui Jul 31, 2023
bb0286b
fix workflow file and test changes (#6476)
adi-shankara Aug 1, 2023
572d71c
fix readme workflow (yet again) and test a dummy change (#6477)
adi-shankara Aug 1, 2023
aa2f4a1
Fixing env reference for API key and path to doc (#6478)
adi-shankara Aug 1, 2023
673d81a
pytest: test for bad 'tx' result from close.
rustyrussell Jul 31, 2023
d90a185
lightningd: clean up signing of last_tx.
rustyrussell Jul 31, 2023
e981a4f
lightningd: pass signed tx through to close callback.
rustyrussell Jul 31, 2023
4dcd712
hsmtool: tighten checks for validity on getcodexsecret
rustyrussell Aug 1, 2023
5900742
hsmtool: remove threshold arg.
rustyrussell Aug 1, 2023
1526b4e
docs: document hsmtool getcodexsecret, refer to it for recover.
rustyrussell Aug 1, 2023
e8b294d
CCAN: update for base64 compile fix on ARM.
rustyrussell Aug 1, 2023
b793dc9
renepay: implement an alternative to a union with bitsets.
rustyrussell Aug 1, 2023
15c8a6f
renepay: switch from arc_t to struct arc.
rustyrussell Aug 1, 2023
67e43ea
renepay: clean up ARC_ADDITIONAL_BITS.
rustyrussell Aug 1, 2023
0f6687e
codex32: use "cl" instead of "ms" as our HRP.
rustyrussell Aug 2, 2023
0c20cc7
pyln-client, pyln-proto, pyln-testing: update to new versions.
rustyrussell Aug 2, 2023
a2830e2
CHANGELOG: Update.
rustyrussell Aug 2, 2023
3af8840
CHANGELOG.md: update for release.
rustyrussell Jun 6, 2023
eee4e6d
Add remote_hsmd
ksedgwic Mar 16, 2022
3ab3b1f
read the GRPC endpoint from the env var REMOTE_HSMD_ENDPOINT (#22)
ulrichard May 23, 2021
e0fcd26
Integrate VLSD into integration test framework
ksedgwic Mar 16, 2022
fbd1f76
Skip test which are not valid w/ VLSD
ksedgwic Mar 16, 2022
f42b35a
Update install notes
decentclock Mar 1, 2022
aac359f
Improved basic setup instructions
ksedgwic Mar 2, 2022
d9aa654
rearrange order of steps in NOTES.md
decentclock Mar 7, 2022
444075d
fixup: Rename formal parameter name to avoid C++ reserved word.
ksedgwic Mar 16, 2022
26e113a
doc: update remote hsmd notes
Mar 17, 2022
0639b75
Move proxy to another repo
devrandom Mar 22, 2022
d2bfa24
skip test_invoice_preimage
devrandom Mar 23, 2022
e412261
skip test_upgrade_statickey
devrandom Mar 23, 2022
fe022d9
skip test_openchannel_hook_error_handling, frequently hangs
ksedgwic Mar 24, 2022
7a9aca3
Addded gitgnore of contrib/remote_hsmd because dirty
ksedgwic Mar 24, 2022
1adbc95
ignore remote_hsmd_vls because dirty
ksedgwic Mar 26, 2022
e2e2c98
unskip bolt12 tests
ksedgwic Mar 29, 2022
289dc36
Add --rpc argument to connect vlsd to regtest in integration tests
ksedgwic Mar 7, 2022
03af825
WIP: unskipped a reorg test
ksedgwic Mar 7, 2022
e5b1c54
testing: allow multiple SUBDAEMON items
devrandom May 2, 2022
5658bdd
Skip test with IPv6 issue in CI runner
ksedgwic May 9, 2022
c2991ea
Skip test_multifunding_feerates because flakes too often
ksedgwic May 9, 2022
9304b31
Skip tests which frequently flake
ksedgwic May 10, 2022
bfaf8ab
Set BITCOIND_RPC_URL env variable in testing framework
ksedgwic May 24, 2022
0681ffa
Prefix vlsd logging w/ mathcing node ordinal
ksedgwic Jun 7, 2022
b799319
Skip tests which use dev_sign_last_tx to cause breach
ksedgwic Jun 27, 2022
b591fc0
Unskip tests which now work with VLS_ENFORCING
ksedgwic Jul 14, 2022
4249cc6
Unskip some tests when VLS_PERMISSIVE=1
ksedgwic Jul 14, 2022
0726343
Comment tests which FAIL with VLS_PERMISSIVE
ksedgwic Jul 14, 2022
27dafb9
Skip unless VLS_PERMISSIVE for tests w/ feerates higher than 100_000
ksedgwic Jul 20, 2022
7a5fa59
Allow selection of serial demo node with VLS_SERIAL_SELECT
ksedgwic Jul 27, 2022
2502a25
Set network in CLN proxies
ksedgwic Aug 6, 2022
bd2d77e
Update vlsd test harness wrt reserve_unused_port, stderr_redir, netwo…
ksedgwic Aug 9, 2022
3ac6b7e
Skip or require VLS_PERMISSIVE=1 as appropriate
ksedgwic Aug 10, 2022
c4858c8
Use more specific failures in validate_onchain_tx w/o dual-funding
ksedgwic Sep 8, 2022
8e0a7af
Fix VLS_NETWORK setup bug in cln:native mode
ksedgwic Sep 15, 2022
f49f712
Skip BOLT12 tests (invoices derived from offers)
ksedgwic Sep 16, 2022
8f3f61e
Skip invoice test with missing mandatory payment secret
ksedgwic Sep 16, 2022
668dd7e
Integrate lssd
devrandom Oct 4, 2022
68c2afc
Change vlsd's RPC URL arg to --bitcoin
ksedgwic Nov 7, 2022
64d5895
Unskip tests after increasing regtest max_feerate_per_kw to 151_000
ksedgwic Feb 14, 2023
cfa23cb
ci: add curl to setup.sh
ksedgwic Feb 14, 2023
c1fc74d
ci: remove remote_hsmd from Makefile
ksedgwic Feb 14, 2023
976d0af
Skip dual funding tests which trigger policy failure
ksedgwic Feb 16, 2023
878b285
replace vlsd support with vlsd2
devrandom Feb 21, 2023
2a4559d
Unskip (completely) tests w/ unknown outputs because auto_approve
ksedgwic Apr 28, 2023
a71a6f3
gitignore VLS proxy daemons
ksedgwic May 9, 2023
5c5e298
Skip zeroconf tests unless PERMISSIVE
ksedgwic May 20, 2023
3fc4060
tests: Add call to preapproveinvoice in pay to inform signer
ksedgwic Jun 7, 2023
51dd34a
tests: Add explicit preapprove{invoice,keysend} calls before sendpay
ksedgwic Jun 8, 2023
3db63c0
tests: Skip unless VLS_PERMISSIVE tests which violate policy
ksedgwic Jun 8, 2023
f0f3942
tests: Skip entirely because malformed payment requests
ksedgwic Jun 9, 2023
ffca9cd
splice, hsmd: Fix WIRE_HSMD_SIGN_SPLICE_TX, use HSM_CAP_MASTER
ksedgwic Aug 3, 2023
5897fb3
Skip unruly tests unless PERMISSIVE
ksedgwic Aug 5, 2023
874aac8
tests: Add explicit preapprove{invoice,keysend} calls before sendpay
ksedgwic Aug 4, 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
  •  
  •  
  •  
8 changes: 7 additions & 1 deletion .dir-locals.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,10 @@
(c-basic-offset . 8)
(tab-width . 8)
))
)

(c++-mode . ((c-file-style . "linux")
(indent-tabs-mode . t)
(show-trailing-whitespace . t)
(c-basic-offset . 8)
(tab-width . 8)
)))
100 changes: 0 additions & 100 deletions .github/scripts/build.sh

This file was deleted.

28 changes: 23 additions & 5 deletions .github/scripts/setup.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
set -e
export DEBIAN_FRONTEND=noninteractive
export BITCOIN_VERSION=24.0.1
export BITCOIN_VERSION=25.0
export ELEMENTS_VERSION=22.0.2
export RUST_VERSION=stable

Expand All @@ -15,6 +15,7 @@ sudo apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
build-essential \
clang \
cppcheck \
curl \
docbook-xml \
eatmydata \
gcc-aarch64-linux-gnu \
Expand All @@ -24,7 +25,6 @@ sudo apt-get -qq install --no-install-recommends --allow-unauthenticated -yy \
git \
libc6-dev-arm64-cross \
libc6-dev-armhf-cross \
libgmp-dev \
libpq-dev \
libprotobuf-c-dev \
libsqlite3-dev \
Expand Down Expand Up @@ -74,12 +74,30 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \

# 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

# BUT WAIT! Gentoo wants this to match the version from the Python protobuf,
# which comes from the same tree. Makes sense!

# And
# grpcio-tools-1.54.0` requires `protobuf = ">=4.21.6,<5.0dev"`

# Now, protoc changed to date-based releases, BUT Python protobuf
# didn't, so Python protobuf 4.21.12 (in Ubuntu 23.04) corresponds to
# protoc 21.12 (which, FYI, is packaged in Ubuntu as version 3.21.12).

# So we're going to nail these versions as 21.12, which is what recent
# Ubuntu has, and hopefully everyone else can get. And this means that
# When CI checks that no files have changed under regeneration, you won't
# get a fail just because the dev's protoc is a different version.

# Honorable mention go to Matt Whitlock for spelunking this horror with me!

PROTOC_VERSION=21.12
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 unzip protoc-${PROTOC_VERSION}-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
ls -lha /usr/local/bin
20 changes: 7 additions & 13 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,12 @@ jobs:
runs-on: macos-10.15
name: Build and test on FreeBSD
timeout-minutes: 120
env:
DEVELOPER: 1
VALGRIND: 0
EXPERIMENTAL_FEATURES: 0
COMPAT: 1
steps:
- uses: actions/checkout@v2
- name: Test in FreeBSD
id: test
uses: vmactions/[email protected]
with:
envs: 'DEVELOPER VALGRIND EXPERIMENTAL_FEATURES COMPAT'
usesh: true
prepare: |
pkg install -y \
Expand All @@ -36,7 +30,6 @@ jobs:
autoconf \
automake \
libtool \
gmp \
bash \
gettext \
sqlite3 \
Expand All @@ -46,12 +39,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://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
wget https://bitcoincore.org/bin/bitcoin-core-25.0/bitcoin-25.0-x86_64-linux-gnu.tar.gz
tar -xf bitcoin-25.0-x86_64-linux-gnu.tar.bz2
sudo mv bitcoin-25.0/bin/* /usr/local/bin
rm -rf \
bitcoin-24.0.1-x86_64-linux-gnu.tar.gz \
bitcoin-24.0.1
bitcoin-25.0-x86_64-linux-gnu.tar.gz \
bitcoin-25.0

run: |
PATH=/root/.local/bin:$PATH
Expand All @@ -75,7 +68,8 @@ jobs:
git config --global --add safe.directory `pwd`
git submodule update --init --recursive

./configure CC="$CC"
./configure CC="$CC" --enable-developer --disable-valgrind

cat config.vars

cat << EOF > pytest.ini
Expand Down
Loading