Skip to content

Commit

Permalink
Update/v24.08.2 (#135)
Browse files Browse the repository at this point in the history
* Update lightning to 24.08.2

* Update clboss to 0.14.0

* Update version and release notes

* fix clboss build

* fix -modded flag (hopefully)
  • Loading branch information
Dominion5254 authored Oct 22, 2024
1 parent a013fa8 commit afaca77
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ FROM debian:bullseye-slim AS clboss

RUN apt-get update -qq && \
apt-get install -qq -y --no-install-recommends \
# autoconf \
autoconf-archive \
automake \
build-essential \
Expand All @@ -66,6 +65,7 @@ COPY clboss/. /tmp/clboss
WORKDIR /tmp/clboss
RUN autoreconf -i
RUN ./configure
RUN ./generate_commit_hash.sh
RUN make
RUN make install
RUN strip /usr/local/bin/clboss
Expand Down Expand Up @@ -166,6 +166,11 @@ RUN pip3 install -r requirements.txt && pip3 cache purge
# https://github.com/ElementsProject/lightning/pull/7376#issuecomment-2161102381
RUN poetry lock --no-update && poetry install

# Ensure that git differences are removed before making bineries, to avoid `-modded` suffix
# poetry.lock changed due to pyln-client, pyln-proto and pyln-testing version updates
# pyproject.toml was updated to exclude clnrest and wss-proxy plugins in base-builder stage
RUN git reset --hard HEAD

RUN ./configure --prefix=/tmp/lightning_install --enable-static && make && poetry run make install

# Export the requirements for the plugins so we can install them in builder-python stage
Expand Down
2 changes: 1 addition & 1 deletion clboss
Submodule clboss updated 83 files
+75 −0 .github/workflows/release.yml
+2 −1 .gitignore
+2 −2 Bitcoin/Tx.cpp
+3 −2 Bitcoin/addr_to_scriptPubKey.hpp
+2 −2 Bitcoin/sighash.hpp
+3 −2 Boltz/ConnectionIF.hpp
+6 −4 Boss/Mod/ChannelCreateDestroyMonitor.cpp
+3 −2 Boss/Mod/ChannelCreator/Carpenter.cpp
+3 −2 Boss/Mod/ChannelFinderByEarnedFee.cpp
+3 −2 Boss/Mod/ChannelFinderByListpays.cpp
+461 −80 Boss/Mod/EarningsTracker.cpp
+6 −1 Boss/Mod/EarningsTracker.hpp
+4 −4 Boss/Mod/FeeModderByBalance.cpp
+4 −4 Boss/Mod/FeeModderBySize.cpp
+12 −3 Boss/Mod/ForwardFeeMonitor.cpp
+1 −0 Boss/Mod/ForwardFeeMonitor.hpp
+4 −4 Boss/Mod/FundsMover/Attempter.cpp
+6 −4 Boss/Mod/FundsMover/Runner.cpp
+1 −1 Boss/Mod/Initiator.cpp
+3 −2 Boss/Mod/JitRebalancer.cpp
+7 −7 Boss/Mod/PaymentDeleter.cpp
+4 −4 Boss/Mod/PeerJudge/DataGatherer.cpp
+4 −4 Boss/Mod/Rpc.cpp
+1 −1 Boss/Mod/Rpc.hpp
+1 −1 Boss/Mod/UnmanagedManager.cpp
+2 −0 Boss/Msg/ForwardFee.hpp
+5 −0 Boss/Msg/ResponseEarningsInfo.hpp
+6 −6 Boss/Signer.cpp
+5 −4 Boss/open_rpc_socket.cpp
+2 −1 Boss/random_engine.cpp
+71 −0 ChangeLog
+4 −3 DnsSeed/Detail/decode_bech32_node.cpp
+2 −1 Ev/ThreadPool.cpp
+2 −1 Ev/runcmd.cpp
+54 −1 Jsmn/Object.cpp
+10 −3 Jsmn/Object.hpp
+3 −2 Jsmn/ParseError.hpp
+3 −2 Ln/Amount.cpp
+1 −1 Ln/NodeId.cpp
+1 −1 Ln/Preimage.cpp
+2 −1 Ln/Scid.cpp
+25 −3 Makefile.am
+3 −2 Net/IPAddr.hpp
+3 −2 Net/SocketFd.cpp
+67 −0 README.md
+1 −1 Ripemd160/Hash.cpp
+2 −1 Secp256k1/Detail/context.cpp
+2 −2 Secp256k1/PrivKey.cpp
+3 −2 Secp256k1/PrivKey.hpp
+2 −2 Secp256k1/PubKey.cpp
+3 −2 Secp256k1/PubKey.hpp
+1 −1 Secp256k1/Signature.cpp
+4 −2 Secp256k1/Signature.hpp
+1 −1 Sha256/Hash.cpp
+4 −3 Sqlite3/Db.cpp
+5 −4 Sqlite3/Detail/binds.cpp
+2 −1 Sqlite3/Query.cpp
+2 −1 Sqlite3/Result.cpp
+2 −1 Sqlite3/Tx.cpp
+3 −2 Stats/WeightedMedian.hpp
+109 −0 Util/BacktraceException.hpp
+14 −0 Util/Either.hpp
+3 −3 Util/Str.hpp
+1 −1 Uuid.cpp
+2 −2 configure.ac
+29 −0 contrib/README.md
+232 −0 contrib/clboss-earnings-history
+171 −0 contrib/clboss-recent-earnings
+181 −0 contrib/clboss-routing-stats
+0 −0 contrib/clboss/__init__.py
+69 −0 contrib/clboss/alias_cache.py
+31 −0 contrib/poetry.lock
+16 −0 contrib/pyproject.toml
+7 −0 docs/channel_balancing.md
+60 −0 docs/channel_fee_manager.md
+10 −0 tests/boss/test_availablerpccommandsannouncer.cpp
+269 −0 tests/boss/test_earningshistory.cpp
+260 −0 tests/boss/test_earningstracker.cpp
+4 −11 tests/boss/test_forwardfeemonitor.cpp
+2 −9 tests/boss/test_jitrebalancer.cpp
+246 −0 tests/boss/test_recentearnings.cpp
+81 −0 tests/jsmn/test_equality.cpp
+1 −1 tests/jsmn/test_performance.cpp
2 changes: 1 addition & 1 deletion lightning
Submodule lightning updated 58 files
+21 −20 .github/workflows/docker-release.yml
+29 −10 .github/workflows/pypi.yml
+28 −0 CHANGELOG.md
+6 −1 Dockerfile
+2 −2 Makefile
+1 −0 cln-grpc/proto/primitives.proto
+1 −1 cln-rpc/src/model.rs
+4 −0 cln-rpc/src/primitives.rs
+60 −55 common/gossmap.c
+8 −8 common/gossmap.h
+8 −0 common/json_stream.c
+6 −1 common/json_stream.h
+7 −6 common/route.c
+2 −0 common/route.h
+1 −0 common/test/Makefile
+10 −1 common/test/run-gossmap_local.c
+8 −0 common/test/run-route-specific.c
+8 −2 common/test/run-route.c
+7 −3 connectd/peer_exchange_initmsg.c
+1 −1 contrib/pyln-client/pyln/client/__init__.py
+1 −1 contrib/pyln-client/pyproject.toml
+6 −6 contrib/pyln-grpc-proto/pyln/grpc/primitives_pb2.py
+1 −1 contrib/pyln-proto/pyln/proto/__init__.py
+1 −1 contrib/pyln-proto/pyproject.toml
+1 −1 contrib/pyln-testing/pyln/testing/__init__.py
+1 −1 contrib/pyln-testing/pyproject.toml
+8 −2 doc/Makefile
+1 −1 gossipd/gossip_store.c
+30 −11 gossipd/gossmap_manage.c
+37 −6 lightningd/channel.c
+33 −1 lightningd/channel.h
+0 −9 lightningd/channel_state.h
+13 −2 lightningd/opening_control.c
+6 −23 lightningd/pay.c
+16 −19 lightningd/peer_control.c
+46 −12 lightningd/peer_htlcs.c
+0 −8 lightningd/test/run-invoice-select-inchan.c
+8 −2 plugins/Makefile
+228 −0 plugins/channel_hint.c
+105 −0 plugins/channel_hint.h
+2 −2 plugins/clnrest/pyproject.toml
+4 −1 plugins/keysend.c
+109 −207 plugins/libplugin-pay.c
+3 −33 plugins/libplugin-pay.h
+46 −13 plugins/pay.c
+5 −2 plugins/test/Makefile
+14 −1 plugins/test/run-route-calc.c
+29 −4 plugins/test/run-route-overlong.c
+1 −1 plugins/topology.c
+1 −1 plugins/wss-proxy/pyproject.toml
+7 −7 poetry.lock
+5 −1 tests/test_connection.py
+116 −9 tests/test_pay.py
+1 −1 tools/repro-build.sh
+11 −1 wallet/test/run-db.c
+5 −2 wallet/test/run-wallet.c
+101 −165 wallet/wallet.c
+0 −36 wallet/wallet.h
5 changes: 3 additions & 2 deletions manifest.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
id: c-lightning
version: 24.08.1
version: 24.08.2
title: Core Lightning
license: BSD-MIT
wrapper-repo: https://github.com/Start9Labs/cln-startos
upstream-repo: https://github.com/ElementsProject/lightning
support-site: https://github.com/ElementsProject/lightning/issues
marketing-site: https://blockstream.com/lightning
release-notes: |-
* Update to CLN 24.08.1 [Release Notes](https://github.com/ElementsProject/lightning/releases/tag/v24.08.1)
* Update to CLN 24.08.2 [Release Notes](https://github.com/ElementsProject/lightning/releases/tag/v24.08.2)
* Update clboss to 0.14.0
build: ["make"]
description:
short: "An implementation of the Lightning Network protocol by Blockstream."
Expand Down
2 changes: 1 addition & 1 deletion scripts/procedures/migrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export const migration: T.ExpectedExports.migration =
)
},
},
"24.08.1",
"24.08.2",
);

function generateRandomString(length: number) {
Expand Down

0 comments on commit afaca77

Please sign in to comment.