Skip to content

Build release docs #13

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

Closed
wants to merge 565 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
565 commits
Select commit Hold shift + click to select a range
a9dfec0
onchaind: use lightningd to sign and broadcast htlc_success transacti…
rustyrussell Apr 5, 2023
868fa8a
onchaind: use lightningd to sign and broadcast htlc spending txs.
rustyrussell Apr 5, 2023
5bdd532
onchaind: use lightningd to sign and broadcast htlc_timeout transacti…
rustyrussell Apr 5, 2023
0c27acc
onchaind: use lightningd to sign and broadcast htlc expired txs.
rustyrussell Apr 5, 2023
c5b7dbc
pytest: clean up wait_for_onchaind_tx interface, remove wait_for_onch…
rustyrussell Apr 5, 2023
9496e9f
onchaind: propose_ignore specifically to ignore if output reaches depth.
rustyrussell Apr 5, 2023
c1bc4d0
onchaind: remove now-unused direct tx creation.
rustyrussell Apr 5, 2023
a3b81ba
onchaind: no longer need information about current feerates.
rustyrussell Apr 5, 2023
dae92c5
Update INSTALL.md
anmode Apr 6, 2023
bf9c4df
test: add the timeout to the waitpay command
vincenzopalazzo Mar 23, 2023
a3ebc1b
lightningd: update comments now channel-type is merged.
rustyrussell Apr 7, 2023
06d4269
wire: fix extracted patch.
rustyrussell Apr 7, 2023
15f8e1e
Makefile: update bolts to 60cfb5972ad4bec4c49ee0f9e729fb3352fcdc6a.
rustyrussell Apr 7, 2023
fdf9b13
Makefile: update bolts fc40879995ebc61cc50dfd729512f17afb15b355.
rustyrussell Apr 7, 2023
dfa6c0c
Makefile: bolt version b38156b9510c0562cf50f8758a64602cc0315c19
rustyrussell Apr 7, 2023
f26b116
Makefile: update bolts a0bbe47b0278b4f152dbaa4f5fab2562413a217c
rustyrussell Apr 7, 2023
458a850
Makefile: update to BOLT 20066dc2aba906f37f3be5a810ae67040f265377
rustyrussell Apr 7, 2023
d4ffc75
Makefile: update to latest BOLT text.
rustyrussell Apr 7, 2023
88905e8
tests: split fetchinvoice recurrence tests into separate test.
rustyrussell Apr 7, 2023
e61401a
reckless: don't crash on subprocess calls
endothermicdev Apr 6, 2023
55cddcd
reckless: add support for additional networks
endothermicdev Apr 6, 2023
cf20336
reckless: use environment variable redirects
endothermicdev Apr 6, 2023
2f05062
pytest: add blackbox tests for reckless
endothermicdev Apr 6, 2023
9384692
fuzz: add initial seed corpora
morehouse Mar 17, 2023
a1a1373
fuzz: improve corpus merging
morehouse Apr 5, 2023
fa988d2
fuzz: add check-fuzz.sh
morehouse Mar 17, 2023
14afa6e
make: add check-fuzz target
morehouse Mar 17, 2023
6e11a2e
doc: document "make check-fuzz"
morehouse Mar 20, 2023
ca80dee
doc: add section about improving fuzzing corpora
morehouse Mar 20, 2023
b53cc69
msggen: fix incorrect assertion.
rustyrussell Apr 7, 2023
6799cd5
plugins/bcli: move commit-fee (dev-max-fee-multiplier) and into core.
rustyrussell Apr 7, 2023
a2ca34c
common: add tal_arr_insert helper to utils.h
rustyrussell Apr 7, 2023
7aa8c76
pytest: test parsefeerate explicitly.
rustyrussell Apr 7, 2023
faae447
lightningd: clarify uses of dynamic (mempool) feerate floor, and static.
rustyrussell Apr 7, 2023
cdb85d5
lightningd: handle fees as blockcount + range.
rustyrussell Apr 7, 2023
64b1ddd
lightningd: clean up feerate handling, deprecate old terms.
rustyrussell Apr 7, 2023
c46473e
lightningd: allow "NNblocks" and "minimum" as feerates.
rustyrussell Apr 7, 2023
9e2d424
lightningd: handle bcli plugins returning fee_floor and feerates para…
rustyrussell Apr 7, 2023
812a5a1
plugins/bcli: use the new feerate levels, and the floor.
rustyrussell Apr 7, 2023
3a3370f
feerates: add `floor` field for the current minimum feerate bitcoind …
rustyrussell Apr 7, 2023
819d988
lightningd: base feerate for onchain txs on deadlines, not fixed fees.
rustyrussell Apr 7, 2023
5582970
lightningd: split the simple onchain tx signing code.
rustyrussell Apr 7, 2023
3754e28
lightningd: remember if they set "allowhighfees" when we rebroadcast.
rustyrussell Apr 7, 2023
62fa91e
lightningd: rebroadcast all pending txs each 30-60 seconds.
rustyrussell Apr 7, 2023
a000ee0
lightningd: do RBF again for all the txs.
rustyrussell Apr 9, 2023
295557a
connectd: don't try to set TCP_CORK on websocket pipe.
rustyrussell Apr 9, 2023
ed58c24
connectd: log broken if TCP_CORK fails.
rustyrussell Apr 9, 2023
3e49cb0
connectd: don't leak fds if we have both IPv4 and IPv6.
rustyrussell Apr 9, 2023
e514a5d
common: lookup function for symnames.
rustyrussell Apr 9, 2023
cf80f05
connectd: dev-report-fds to do file descriptor audit.
rustyrussell Apr 9, 2023
c45eb62
lightningd: create small hsm_sync_req() helper for hsm queries.
rustyrussell Apr 10, 2023
8493ee5
db: print nice message and not just backtrace on bad column name.
rustyrussell Apr 10, 2023
57b2cbc
lightningd: expose default_locktime for wider usage.
rustyrussell Apr 10, 2023
2fb942d
bitcoin: rename confusing functions.
rustyrussell Apr 10, 2023
89b96e8
pyln-testing: add support to tell bitcoind not to include txs if fee …
rustyrussell Apr 10, 2023
34f25db
lightningd: fix parent reporting for memleaks.
rustyrussell Apr 10, 2023
d502a7e
bitcoin: bitcoin_tx_remove_output()
rustyrussell Apr 10, 2023
f1deeda
wallet: allow psbt_using_utxos to take a starter psbt.
rustyrussell Apr 10, 2023
7e5146a
common/channel_type: routines to set known variants, set scid_alias.
rustyrussell Apr 10, 2023
355aa8f
zeroconf: don't accept channel_type with option_zeroconf unless we're…
rustyrussell Apr 10, 2023
7acaccf
wallet: add channel_type field to db.
rustyrussell Apr 10, 2023
75ec1be
lightningd: use channel_type as we're supposed to for forward descisi…
rustyrussell Apr 10, 2023
b42984a
pytest: Reproduce #6143
cdecker Apr 6, 2023
6d76642
cln: Fix routehints conversion from cln-rpc and cln-grpc
cdecker Apr 6, 2023
650443e
ld: Add a couple of logging statements when forwarding
cdecker Jan 5, 2023
e30f2cb
have towire_wally_psbt and fromwire_wally_psbt set safe psbt version
instagibbs Apr 10, 2023
c0d3eeb
Fix Typo in startup_regtest.sh
joelklabo Apr 10, 2023
e5c76f8
hsmtool: rework common hsm_secret fetch/decode.
rustyrussell Apr 7, 2023
441b38c
hsmtool: move sodium_init() to top level.
rustyrussell Apr 7, 2023
62d9ecb
hsmtool: makerune command.
rustyrussell Apr 11, 2023
49b7afe
doc: give helpful examples for feerate values.
rustyrussell Apr 11, 2023
3f95b55
doc: document that urgent doesn't use the 2-block estimate, but the 6…
rustyrussell Apr 11, 2023
3c4b20e
ci: run fuzz regression tests
morehouse Apr 10, 2023
2de5b84
plugins/Makefile: don't use echo -n.
rustyrussell Apr 12, 2023
2c9b043
Makefile: remove plugins/sql-schema_gen.h and plugins on `make clean`
rustyrussell Apr 12, 2023
6f17d8b
lightningd: fix 100% CPU hang on shutdown.
rustyrussell Apr 12, 2023
2e7ecb9
pytest: make sure we wait for all feerates to be gathered.
rustyrussell Apr 12, 2023
58c624d
pytest: fix test_penalty_htlc_tx_timeout accounting flake.
rustyrussell Apr 12, 2023
ba7901b
pytest: fix up test_gossip_ratelimit.
rustyrussell Apr 13, 2023
8ef4b36
gossipd: send our own gossip aggressively when a new peer connects.
rustyrussell Mar 21, 2023
46bb6be
gossipd: make sure we also spam private channels with the peer involved.
rustyrussell Mar 21, 2023
00f75d6
connectd: no longer stream our own generated gossip, let gossipd do it.
rustyrussell Mar 21, 2023
6a446a9
connectd: implement timestamp-as-trinary.
rustyrussell Mar 21, 2023
bec8586
connectd: remove handling of push only gossip
endothermicdev Mar 23, 2023
54bd024
gossip_store: remove now-redundant push bit
endothermicdev Mar 23, 2023
db3707f
pytest: Highlight the re-entrancy issue for cln-plugin events
cdecker Apr 10, 2023
f69da84
rs: Run hooks, methods and notification handlers in tokio tasks
cdecker Apr 10, 2023
0687fec
make: Use the CLN_PLUGIN_EXAMPLES variable for testbin
cdecker Apr 10, 2023
2e5ad0f
pyln: Exclude all `cln-` plugins from valgrind
cdecker Apr 10, 2023
cc7d9f3
Update libwally to 0.8.9
instagibbs Apr 14, 2023
b59b6b9
reckless: fix CLI redirect, minor cleanup
endothermicdev Apr 12, 2023
6163138
reckless: avoid superfluous config rewrites
endothermicdev Dec 8, 2022
f5a1323
reckless: remove extraneous web request
endothermicdev Jan 17, 2023
6ac0842
reckless: fix crash on non-verbose output
endothermicdev Apr 14, 2023
d5df26f
reckless: add Installer class to support additional languages
endothermicdev Jan 17, 2023
32dd825
reckless: add installer methods
endothermicdev Feb 28, 2023
2577096
reckless: install command now uses `Installer` class methods
endothermicdev Apr 6, 2023
347e723
reckless: match name using installer entry formats
endothermicdev Apr 6, 2023
d279da5
reckless: add missing type hints
endothermicdev Apr 6, 2023
233f05e
reckless: enable case-insensitive searching
endothermicdev Apr 12, 2023
f731695
reckless: provide response when failing to add source
endothermicdev Apr 14, 2023
15795c9
meta: Add changelog for 23.05rc1
ShahanaFarooqui Apr 15, 2023
8163bfc
reckless: simplify installer registration
endothermicdev Apr 21, 2023
782c179
pytest: ignore pip warning
endothermicdev Apr 24, 2023
f382ec0
connectd: pass correct buflen to memmem
morehouse Apr 20, 2023
ca2a162
fix: build with gcc 13 with enum and int mismatch
vincenzopalazzo Apr 16, 2023
21cc16f
meta: Add changelog for 23.05rc2
ShahanaFarooqui Apr 26, 2023
2a52e52
jsonrpc: Add versioning annotation to listpeerchannels
cdecker May 2, 2023
65f5134
msggen: Add ListPeerChannels to generated interfaces
cdecker May 2, 2023
e7a96ca
msggen: Normalize enum and field names if they contain a '/'
cdecker May 2, 2023
d28815f
msggen: Disable grpc response -> json response temporarily
cdecker May 2, 2023
318f35b
pytest: Add a test for the grpc conversion of listpeerchannels
cdecker May 2, 2023
bff3b1c
msggen: Add ListClosedChannels and overrides
cdecker May 2, 2023
b41cb2f
cln-grpc: Rename the ChannelSide variants
cdecker May 2, 2023
90ede05
pytest: Extend ListPeerChannels test to include ListClosedChannels
cdecker May 2, 2023
1e614df
jsonrpc: Add request schemas for decode and decodepay
cdecker May 3, 2023
db84315
msggen: Move overrides into the model itself
cdecker May 3, 2023
0031f11
msggen: Map arrays of hashes and add HtlcState enum
cdecker May 3, 2023
fc26675
msggen: Add DecodePay to the mappings
cdecker May 3, 2023
ef9e0fc
pyln: Set the correct envvar for logging for rust plugins
cdecker May 5, 2023
acc3bb2
msggen: Switch signatures to string instead of bytes
cdecker May 5, 2023
708fb17
pytest: Add helper to get a grpc stub and test decode
cdecker May 5, 2023
ea23122
meta: Add changelog for 23.05rc3
ShahanaFarooqui May 5, 2023
fe5f3ce
pyln: remove unused variable
morehouse May 8, 2023
3a2b703
jsonrpc: Remove the old "_msat" prefix in the listpeerchannels command
vincenzopalazzo May 9, 2023
4f258a9
meta: Add changelog for 23.05rc4
ShahanaFarooqui May 9, 2023
d1cf88c
meta: update changelog and pyln version for 23.05 release
ShahanaFarooqui May 10, 2023
b746588
pytest: fix tests/test_cln_rs.py to avoid race.
rustyrussell May 18, 2023
0850cbb
CI: re-add python timeout.
rustyrussell May 18, 2023
0ea7cb2
add missing htlc states from incoming htlcs
daywalker90 May 14, 2023
e2535e7
fix commas to semicolons
daywalker90 May 18, 2023
222dafb
doc: remove duplicate wumbo key from listconfigs
bshramin May 15, 2023
dff2dd2
ci: use Bitcoin Core 24.1
fanquake May 19, 2023
eed7308
make: build dependencies with fuzzing flags
morehouse May 16, 2023
7d662b6
fuzz: check key validity before serializing
morehouse May 16, 2023
8265a94
fuzz: correct buffer length for bip32_key_version
morehouse May 16, 2023
f7602ea
fuzz: new fuzz-bip32 seeds
morehouse May 16, 2023
2e30107
lnprototest: update to avoid compulsory option_anchors init.
rustyrussell May 11, 2023
53566c4
tools: remove optional csv field handling.
rustyrussell May 22, 2023
244217f
tools/generate-wire.py: intuit tlvs field if a tlv type is mentioned.
rustyrussell May 22, 2023
e51460b
wire: remove our own blinded payments patch since it's in spec.
rustyrussell May 22, 2023
6c23349
channeld: allow stfu based on peer features, not EXPERIMENTAL_FEATURES.
rustyrussell May 22, 2023
ccf0841
channeld: use explicit --experimental-upgrade flag, not #ifdef EXPERI…
rustyrussell May 22, 2023
45ef168
plugins/fetchinvoice: remove obsolete check for feature 102.
rustyrussell May 22, 2023
4deb552
build: don't generate experimental variants of wire files.
rustyrussell May 22, 2023
b8aa3a5
listtransactions: remove annotations, which were only in EXPERIMENTAL…
rustyrussell May 22, 2023
c11ae1a
pytest: remove EXPERIMENTAL_FEATURES as a consideration.
rustyrussell May 22, 2023
e7d4c31
build: remove --enable-experimental-features / EXPERIMENTAL_FEATURES
rustyrussell May 22, 2023
56bb757
Update libwally to 0.9.0
instagibbs May 22, 2023
69f74a9
signpsbt_done: don't try to access global tx in exception
instagibbs May 23, 2023
8b4136b
build: remove gmp
jgriffiths May 22, 2023
b390307
make: clean up lowdown install
morehouse Apr 20, 2023
90fefe0
test_withdraw_bech32m: test that expected outputs exist for bech32(m)…
instagibbs Feb 10, 2023
12ecffb
Add segwit_addr_decode unit tests for invalid bech32(m)
instagibbs Feb 10, 2023
1037bf3
Put bitcoind logging in stdout for pytest
instagibbs Feb 13, 2023
eec30b1
db_col_psbt: convert to PSBTv2 on load from db
instagibbs May 23, 2023
513bd29
common: rename bech32_encode parameter
morehouse May 5, 2023
2554133
fuzz: allow bech32_encode to succeed
morehouse May 5, 2023
7db1e06
fuzz: check decoded values
morehouse May 5, 2023
ecdbab5
fuzz: simplify fuzz-bech32.c
morehouse May 6, 2023
34d104b
fuzz: new fuzz-bech32 seeds
morehouse May 8, 2023
ba46849
lightningd: fix DF crash from libwally update.
rustyrussell May 23, 2023
548b54e
pytest: update test_v2_fail_second for listpeers changes.
rustyrussell May 23, 2023
63e2619
pytest: fix up DF tests after onchaind broadcast rework.
rustyrussell May 23, 2023
cd222f8
CI: restore dual-funding tests.
rustyrussell May 23, 2023
1af9b9d
pytest: slow down for bitcoind.
rustyrussell May 23, 2023
6a86e80
dualopend: fix minor memleak report.
rustyrussell May 23, 2023
cfa33ce
lightningd: fix incorrect reuse of dualopend, leading to dev_queryfee…
rustyrussell May 25, 2023
c029de7
msggen: Add preapproveinvoice and preapprovekeysend to msggen
cdecker May 25, 2023
2918bbb
db_col_tx: report txn hex if transaction pulled is invalid
instagibbs May 26, 2023
d3e33cf
wallet: fix crash on listtransactions.
rustyrussell May 27, 2023
a7786ca
Revert "Put bitcoind logging in stdout for pytest"
rustyrussell May 29, 2023
5aa7634
ci: use Bitcoin Core 25.0
fanquake May 26, 2023
5ed6f61
rust: Bump the versions of cln-rpc, cln-grpc, cln-plugin and grpc-plugin
cdecker May 25, 2023
909f911
psbt: implement psbt_append_output using psbt_insert_output.
jgriffiths May 29, 2023
b2b8722
psbt: replace init/create_psbt with just create_psbt, and simplify it.
jgriffiths May 29, 2023
14e9422
psbt: remove redundant re-setting of tx modification flags.
jgriffiths May 29, 2023
ade350e
Gitlab: updating outdated references
DeviaVir May 30, 2023
56eb242
pyln-testing: allow protobuf v4
rustyrussell May 30, 2023
5ccdab7
poetry: update grpcio to 1.54.0
rustyrussell May 30, 2023
1b6ff0b
staticbackup: don't use wireaddr_internal.
rustyrussell May 30, 2023
ddb7916
connectd: clean up add_gossip loops.
rustyrussell May 30, 2023
d403798
common/wireaddr.h: simplify parse_wireaddr API.
rustyrussell May 30, 2023
e66cf46
connectd: don't advertise websocket addresses.
rustyrussell May 30, 2023
3f35d48
common: remove websocket type from wireaddr.
rustyrussell May 30, 2023
6d0b46c
wireaddr: clean up option parsing, support `dns:` prefix directly.
rustyrussell May 30, 2023
2195887
lightningd: deprecated --announce-addr-dns.
rustyrussell May 30, 2023
7b843e8
lightningd: deprecate weird listening options.
rustyrussell May 30, 2023
a6772e9
common: add new internal type for websockets.
rustyrussell May 30, 2023
3d53672
lightningd: allow --bind=ws:
rustyrussell May 30, 2023
fafeb65
lightningd: deprecated experimental-websocket-port now we can use bin…
rustyrussell May 30, 2023
ca34931
doc/Makefile: suppress stupid check.
rustyrussell May 30, 2023
00ffb39
rs: Guard the cln-rpc dependency behind "server" feature in cln-grpc
cdecker May 30, 2023
2308891
grpc: The plugin needs to use the `server` feature on `cln-grpc`
cdecker May 30, 2023
40a50c1
gossipd: don't fail on gossip deletion
endothermicdev May 25, 2023
1e457bd
rs: Bump version of cln-plugin
cdecker May 30, 2023
2bbd9b8
common: allow optional fields in json_scan().
rustyrussell Jun 1, 2023
45e1618
lightningd: remove deprecated `null` for missing plugin options.
rustyrussell Jun 1, 2023
d348554
pyln-client: don't try to convert objects to Millisatoshi.
rustyrussell Jun 1, 2023
9b98f97
bcli: fix type of rpcport.
rustyrussell Jun 1, 2023
f45c174
ccan: update to latest ccan/opt
rustyrussell Jun 1, 2023
1bb4627
lightningd: simplify listconfigs loop.
rustyrussell Jun 1, 2023
f7df7ee
lightningd: implement more show commands to reduce listconfigs specia…
rustyrussell Jun 1, 2023
36200a6
common/configvar: routines to manage config settings.
rustyrussell Jun 1, 2023
ea665d1
lightningd: explicitly note what parameters can be specified multiple…
rustyrussell Jun 1, 2023
ec8bba6
dev-allowdustreserve: make this a DEVELOPER option.
rustyrussell Jun 1, 2023
f54e4f3
lightningd: explicitly mark developer-only options with OPT_DEV.
rustyrussell Jun 1, 2023
edbaa94
lightningd: switch parsing to common/configvar
rustyrussell Jun 2, 2023
5a0994c
lightningd: allow --regtest.
rustyrussell Jun 2, 2023
de148fe
lightningd: make `--clear-plugins` override prior plugin configvars.
rustyrussell Jun 2, 2023
86abb4c
lightningd: use OPT_EXITS for options which exit.
rustyrussell Jun 2, 2023
8281008
lightningd: annotate configuration settings which contain JSON literals.
rustyrussell Jun 2, 2023
f1e994a
lightningd: fix `listconfigs` `rpc-file-mode`
rustyrussell Jun 2, 2023
b9270c5
lightningd: listconfigs update, using configvars code.
rustyrussell Jun 2, 2023
0df9754
lightningd: don't simply ignore defaults on flags, deprecate.
rustyrussell Jun 2, 2023
1b252f3
config: replace accept-htlc-tlv-types with accept-htlc-tlv-type
rustyrussell Jun 2, 2023
9cb2b2f
listconfigs: show plugin options in 'configs' with normal options.
rustyrussell Jun 2, 2023
ea928bf
pytest: use modern listconfigs.
rustyrussell Jun 2, 2023
8d02f33
reckless: use modern listconfigs.
rustyrussell Jun 2, 2023
6275dd3
lightningd: deprecate listconfigs direct fields.
rustyrussell Jun 2, 2023
3ac949d
listconfigs: add `plugin` field if config is for a plugin.
rustyrussell Jun 2, 2023
e0d2c39
CI: use rebasing instead of merge.
rustyrussell Jun 1, 2023
50a7681
doc/Makefile: restore CI check for schema changes.
rustyrussell Jun 1, 2023
73b7348
doc: making release document update
ShahanaFarooqui May 30, 2023
c05d7e4
bitcoin: avoid adding to NULL
morehouse Apr 7, 2023
a5afb4f
common: remove json_stream_log_suppress
morehouse Apr 7, 2023
45cb2b1
db: avoid calling memcpy on NULL
morehouse Apr 12, 2023
3edb092
plugins: initialize destination_reachable
morehouse Apr 12, 2023
e81bf8b
devtools: call common_setup in main
morehouse Apr 12, 2023
4f30857
lightningd: close plugin dir on return
morehouse Apr 12, 2023
15e86f2
fix: prefixing external build dir
vincenzopalazzo May 24, 2023
e83782f
doc: Add guides and GitHub workflow for doc sync
adi-shankara Apr 22, 2023
5f6933d
doc: document that we strip punctuation from parameter names.
rustyrussell Jun 6, 2023
0f72542
pytest: test for amount comparison.
rustyrussell Jun 6, 2023
33be5c8
commando: integer command parameters can be compared with < and >.
rustyrussell Jun 6, 2023
55119e6
pytest: mark test_commando_stress as slow.
rustyrussell Jun 6, 2023
e457681
lightningd: allow `false` as a default for flags.
rustyrussell Jun 6, 2023
debec7d
tools: fix memory leaks in hsmtool
morehouse Jun 6, 2023
117b80d
ci: run unit tests with sanitizers
morehouse Jun 5, 2023
4b6c5c0
ci: run integration tests with sanitizers
morehouse Jun 5, 2023
13836dd
fix: increase version cryptography python dep
vincenzopalazzo Jun 7, 2023
2d53707
openingd: work harder to intuit OPT_SCID_ALIAS.
rustyrussell Jun 6, 2023
8c02d95
msggen: Extend support range to v0.10.1 and mark address, added in v2…
cdecker May 30, 2023
85992e6
feat(bitcoind): pass the current known block height
vincenzopalazzo Apr 15, 2023
f77207e
gitignore: Ignore SHA256SUMS from release verify
ShahanaFarooqui Jun 27, 2023
1c5ce1f
docker: Core lightning Dockerfile updates
ShahanaFarooqui Jun 27, 2023
980ccac
docker: cl-repro Dockerfile update
ShahanaFarooqui Jun 27, 2023
9f87171
build: passing release version for make
ShahanaFarooqui Jun 27, 2023
763777e
build: updated build-release script
ShahanaFarooqui Jun 27, 2023
23fdf1d
doc: Updated instructions
ShahanaFarooqui Jun 27, 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
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
11 changes: 0 additions & 11 deletions .github/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export CC=${COMPILER:-gcc}
export COMPAT=${COMPAT:-1}
export TEST_CHECK_DBSTMTS=${TEST_CHECK_DBSTMTS:-0}
export DEVELOPER=${DEVELOPER:-1}
export EXPERIMENTAL_FEATURES=${EXPERIMENTAL_FEATURES:-0}
export PATH=$CWD/dependencies/bin:"$HOME"/.local/bin:"$PATH"
export PYTEST_OPTS="--maxfail=5 --suppress-no-test-exit-code ${PYTEST_OPTS}"
export PYTEST_PAR=${PYTEST_PAR:-10}
Expand Down Expand Up @@ -80,16 +79,6 @@ then
rm sqlite-src-3260000.zip
rm -rf sqlite-src-3260000

wget -q https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz
tar xf gmp-6.1.2.tar.xz
cd gmp-6.1.2 || exit 1
./configure --disable-assembly --prefix="$QEMU_LD_PREFIX" --host="$TARGET_HOST"
make
sudo make install
cd ..
rm gmp-6.1.2.tar.xz
rm -rf gmp-6.1.2

./configure CC="$TARGET_HOST-gcc" --enable-static

make -s -j32 CC="$TARGET_HOST-gcc"
Expand Down
12 changes: 6 additions & 6 deletions .github/scripts/install-bitcoind.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ set -e

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

cd /tmp/
wget "https://storage.googleapis.com/c-lightning-tests/$FILENAME"
wget -q "https://storage.googleapis.com/c-lightning-tests/${EFILENAME}"
tar -xaf "${FILENAME}"
tar -xaf "${EFILENAME}"
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"

Expand Down
27 changes: 13 additions & 14 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=25.0
export ELEMENTS_VERSION=22.0.2
export RUST_VERSION=stable

sudo useradd -ms /bin/bash tester
Expand All @@ -24,7 +24,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 @@ -56,17 +55,17 @@ 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}
)

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- \
Expand All @@ -82,4 +81,4 @@ 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
15 changes: 7 additions & 8 deletions .github/workflows/bsd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
testfreebsd:
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/freebsd-vm@v0.1.5
with:
envs: 'DEVELOPER VALGRIND EXPERIMENTAL_FEATURES COMPAT'
envs: 'DEVELOPER VALGRIND COMPAT'
usesh: true
prepare: |
pkg install -y \
Expand All @@ -35,7 +35,6 @@ jobs:
autoconf \
automake \
libtool \
gmp \
bash \
gettext \
sqlite3 \
Expand All @@ -45,12 +44,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-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-0.20.1-x86_64-linux-gnu.tar.gz \
bitcoin-0.20.1
bitcoin-25.0-x86_64-linux-gnu.tar.gz \
bitcoin-25.0

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