Commit Graph
100 Commits
Author SHA1 Message Date
Oliver Gugger 7544a2b232 Merge pull request #9319 from thirdkeyword/master
chore: fix some problematic method name in comment
2024-12-19 08:30:39 +01:00
Oliver Gugger dac4c1f2d3 Merge pull request #9374 from Crypt-iQ/fn_set_copy
fn: add set copy method Copy
2024-12-19 08:29:02 +01:00
Oliver Gugger 729cd22bf6 Merge pull request #8914 from z017/master
fn: add synchronous write file
2024-12-16 18:39:52 +01:00
Oliver Gugger 522bb82755 Merge pull request #9357 from GeorgeTsagk/onchain-htlc-replay-wire-records
contractcourt: include custom records on replayed htlc
2024-12-16 12:50:04 +01:00
Oliver Gugger bb9c680a48 Merge pull request #9352 from guggero/update-roasbeef-key
scripts: update Roasbeef's key ID in verify-install.sh
2024-12-13 11:05:39 +01:00
Oliver Gugger ff14847f30 Merge pull request #9343 from ellemouton/contextGuard
fn: expand the ContextGuard and add tests
2024-12-13 10:25:57 +01:00
Oliver Gugger 6298f76aca Merge pull request #9309 from yyforyongyu/fix-unit-test
chainntnfs: fix `TestHistoricalConfDetailsTxIndex`
2024-12-12 18:01:54 +01:00
Oliver Gugger 55b685dbd7 Merge pull request #9347 from lightningnetwork/cross-compile-fix
build/ci: attempt to fix failing cross compile step
2024-12-12 17:47:50 +01:00
Oliver Gugger fdb43c0b7b Merge pull request #9348 from ziggie1984/update-goveralls
github: update goveralls tool
2024-12-12 12:36:13 +01:00
Oliver Gugger c022284f37 GitHub+make: run cross compile in matrix
This is just a test, perhaps this doesn't make any sense at all as it
will clog up too many build runners.
2024-12-12 10:09:30 +01:00
Oliver Gugger 66c3a46e4c GitHub: allow not caching the Golang build cache
This is a tradeoff of disk space (and with that cache size) and
compilation speed. Because we're still running into disk full errors
with the full build cache, we remove it for the cross compile step.
Which means we'll do more work each time.
2024-12-12 10:09:30 +01:00
Oliver Gugger e68b2ad015 Merge pull request #9341 from ellemouton/fnContext
fn: Remove ctx from GoroutineManager constructor
2024-12-12 10:03:01 +01:00
Oliver Gugger 4ee36e3762 scripts: update Roasbeef's key ID in verify-install.sh
This was overlooked in #9206.
We're updating to the parent key ID
A5B61896952D9FDA83BC054CDC42612E89237182.

cat scripts/keys/roasbeef.asc| gpg --with-colons --import-options show-only --import                                                                   ─╯
pub:-:255:22:DC42612E89237182:1729552568:::-:::scESCA:::::ed25519:::0:
fpr:::::::::A5B61896952D9FDA83BC054CDC42612E89237182:
uid:-::::1729552794::8D805FB762825ECBDA00EB0AF5FEDF76DE288546::Olaoluwa Osuntokun <laolu32@gmail.com>::::::::::0:
sub:-:255:18:19E88A946BEF6D65:1729552568:1761088568:::::e:::::cv25519::
fpr:::::::::70206BBE2C0A81EC381A212C19E88A946BEF6D65:
sub:-:255:22:966072F65DF1D016:1729552672:1761088672:::::a:::::ed25519::
fpr:::::::::98E3632DC026406855001E22966072F65DF1D016:
sub:-:255:22:90525F7DEEE0AD86:1729552758:1761088758:::::s:::::ed25519::
fpr:::::::::296212681AADF05656A2CDEE90525F7DEEE0AD86:
2024-12-12 09:50:25 +01:00
Oliver Gugger 7a3401555c Merge pull request #9316 from ziggie1984/fix-blindedpath-mc
routing: fix mc blinded path behaviour.
2024-12-10 20:22:15 +01:00
Oliver Gugger 8c9de4d605 Merge pull request #9345 from ziggie1984/add-copy-method
Add a deep copy generic harness to the internal fn package
2024-12-10 17:25:46 +01:00
Oliver Gugger c9ae63a5c8 Merge pull request #9338 from yyforyongyu/fix-invoice-htlcs-order
lnrpc: sort `Invoice.HTLCs` based on `HtlcIndex`
2024-12-09 08:52:54 +01:00
Oliver Gugger 5659c0184d Merge pull request #9337 from Guayaba221/patch-1
chore: fix typo in ruby.md
2024-12-06 14:10:51 +01:00
Oliver Gugger 86b3be71fe multi: thread through and use AuxTrafficShaper 2024-12-05 12:39:34 +01:00
Oliver Gugger a2e78c3984 htlcswitch: thread through packet's inbound wire records
For calculating the available auxiliary bandwidth of a channel, we need
access to the inbound custom wire records of the HTLC packet, which
might contain auxiliary information about the worth of the HTLC packet
apart from the BTC value being transported.
2024-12-05 12:39:33 +01:00
Oliver Gugger 117c6bc781 multi: move routing.TlvTrafficShaper => htlcswitch.AuxTrafficShaper
With this commit we move the traffic shaper definition from the routing
package to the HTLC switch package as a preparation for being able to
use it there as well.
At the same time we rename it to AuxTrafficShaper to be more in line
with the other auxiliary components.
2024-12-05 12:39:33 +01:00
Oliver Gugger fa309c9a0e Merge pull request #9329 from gijswijs/docs-skip-ci
clarify skipping the CI checks in the docs
2024-12-04 16:02:02 +01:00
Oliver Gugger e30e43e644 Merge pull request #9331 from yyforyongyu/fix-lll
multi: rename `lll` to `ll` and remove unused `nolint`
2024-12-04 08:48:21 +01:00
Oliver Gugger 48fba10562 Merge pull request #9257 from starius/estimatefeerate-regtest2
chainreg: use feerate estimator in regtest and simnet
2024-12-03 18:56:50 +01:00
Oliver Gugger f4d5d4ed8a Merge pull request #9305 from ProofOfKeags/update/tlv-fn2
tlv: update to fn v2
2024-12-03 09:12:14 +01:00
Oliver Gugger 0c9b65578f Merge pull request #9328 from guggero/golang-min-version
docker+docs: update documentation around Golang minimum version
2024-12-02 11:22:57 +01:00
Oliver Gugger 0474b4ff20 Merge pull request #9314 from ellemouton/slog1
build+lnd+docs: start using slog and add commit_hash to log lines
2024-12-02 09:53:31 +01:00
Oliver Gugger 2fdfa26268 docs: update Golang minimum version in docs/INSTALL.md 2024-12-02 09:49:25 +01:00
Oliver Gugger 7692ced5f5 multi: update comment on changing Go version
Since we now have a scripted check that makes sure the Golang version is
synced throughout all files, it is important that the main version in
the Makefile is changed, then all other versions can be detected by that
script.
2024-12-02 09:48:26 +01:00
Oliver Gugger f6aff58a6d Merge pull request #9322 from hieblmi/fix-estimate-route-fee
cmd: fix default timeout for estimateroutefee
2024-11-29 11:21:25 +01:00
Oliver Gugger f2d9868906 Merge pull request #9287 from Abhinav-Bansal751/master
Update docs/grpc/python.md and ruby.md
2024-11-29 09:30:07 +01:00
Oliver Gugger 506586a37e Merge pull request #9236 from ellemouton/moveGraphDBCode
[1/3] Graph RIP: refactor+graph: move all graph related DB code to the graph package
2024-11-28 13:47:16 +01:00
Oliver Gugger 4681b52c5a make: remove exotic build targets from release list
With this commit we remove build targets from our list of release build
OS/architecture pairs to reduce the overhead of building for them with
every pull request and every release.

According to https://tooomm.github.io/github-release-stats/?username=lightningnetwork&repository=lnd
those targets are rarely used, compared to the most popular ones:

| Release File                          | Absolute DL | Relative DL |
|---------------------------------------|-------------|-------------|
| lnd-darwin-amd64-v0.18.3-beta.tar.gz  | 1,930       | 72          |
| lnd-darwin-arm64-v0.18.3-beta.tar.gz  | 2,020       | 162         |
| lnd-freebsd-386-v0.18.3-beta.tar.gz   | 1,864       | 6           |
| lnd-freebsd-amd64-v0.18.3-beta.tar.gz | 1,874       | 16          |
| lnd-freebsd-arm-v0.18.3-beta.tar.gz   | 1,865       | 7           |
| lnd-linux-386-v0.18.3-beta.tar.gz     | 1,873       | 15          |
| lnd-linux-amd64-v0.18.3-beta.tar.gz   | 3,355       | 1,497       |
| lnd-linux-arm64-v0.18.3-beta.tar.gz   | 3,053       | 1,195       |
| lnd-linux-armv6-v0.18.3-beta.tar.gz   | 1,868       | 10          |
| lnd-linux-armv7-v0.18.3-beta.tar.gz   | 1,893       | 35          |
| lnd-linux-mips-v0.18.3-beta.tar.gz    | 1,859       | 1           |
| lnd-linux-mips64-v0.18.3-beta.tar.gz  | 1,860       | 2           |
| lnd-linux-mipsle-v0.18.3-beta.tar.gz  | 1,859       | 1           |
| lnd-linux-ppc64-v0.18.3-beta.tar.gz   | 1,858       | 0           |
| lnd-linux-ppc64le-v0.18.3-beta.tar.gz | 1,859       | 1           |
| lnd-linux-s390x-v0.18.3-beta.tar.gz   | 1,859       | 1           |
| lnd-netbsd-amd64-v0.18.3-beta.tar.gz  | 1,859       | 1           |
| lnd-openbsd-amd64-v0.18.3-beta.tar.gz | 1,861       | 3           |
| lnd-source-v0.18.3-beta.tar.gz        | 1,863       | 5           |
| lnd-windows-386-v0.18.3-beta.zip      | 1,895       | 37          |
| lnd-windows-amd64-v0.18.3-beta.zip    | 1,997       | 139         |
| lnd-windows-arm-v0.18.3-beta.zip      | 1,868       | 10          |
2024-11-28 09:42:05 +01:00
Oliver Gugger 1ebdefb943 Merge pull request #9311 from Roasbeef/protofsm-race-fix
protofsm: fix race in state machine executor tests
2024-11-28 09:28:04 +01:00
Oliver Gugger ae32c29deb Merge pull request #9295 from ellemouton/logPerformanceFix
go.mod: bump btclog dep
2024-11-27 11:43:43 +01:00
Oliver Gugger c8cfa59316 Merge pull request #8270 from ProofOfKeags/feature/stfu
DynComms [1/n]: Implement Quiescence Protocol
2024-11-27 09:27:34 +01:00
Oliver Gugger 66940024ac Merge pull request #9290 from w3irdrobot/broadcast-misspelling
docs: fix broadcast misspelling
2024-11-25 12:25:51 +01:00
Oliver Gugger 7e8dc2d389 Merge pull request #9301 from chuangjinglu/master
multi: fix some function names in interface comment
2024-11-25 11:59:01 +01:00
Oliver Gugger 94f7ed46de Merge pull request #8998 from Abdulkbk/trx-pagination
pagination: add pagination to wallet transactions
2024-11-22 09:30:11 +01:00
Oliver Gugger 38ec1a1c64 Merge pull request #8805 from breez/jssdwt-insert-edge-when-not-found
localchans: recreate missing edge if not found
2024-11-22 08:42:51 +01:00
Oliver Gugger 41c2521e8a Merge pull request #9291 from yyforyongyu/fix-log-unit
lnwallet: log the amounts in the same unit
2024-11-21 14:46:46 +01:00
Oliver Gugger 9fc6c998ba Merge pull request #9292 from yyforyongyu/fix-graphbuiler-shutdown
lnd: stop `graphBuilder` during shutdown
2024-11-21 10:33:52 +01:00
Oliver Gugger 8b99d71f93 Merge pull request #9284 from ProofOfKeags/update/fn2
fn: update go.mod to v2
2024-11-21 09:53:05 +01:00
Oliver Gugger a4195fa2ce Merge pull request #9288 from lightningnetwork/channel-acceptor-commitment-type
[custom channels]: add taproot overlay channel type to channel acceptor
2024-11-20 15:29:30 +01:00
Oliver Gugger 4b563e6f49 Merge pull request #9253 from ziggie1984/fix-chanArb-deadlock
fix chanArb deadlock
2024-11-20 10:41:03 +01:00
Oliver Gugger 1c3caf47bb docs: add release notes 2024-11-20 10:37:55 +01:00
Oliver Gugger c809340095 chanacceptor: add custom channel commitment type 2024-11-20 10:37:55 +01:00
Oliver Gugger a10195042e Merge pull request #9283 from guggero/fix-release-notes
docs: fix release notes
2024-11-19 21:20:43 +01:00
Oliver Gugger ea72db711c docs: fix release notes 2024-11-19 21:09:15 +01:00
Oliver Gugger e1df8e9161 Merge pull request #9281 from ziggie1984/export-towerclientdb-version
wtdb: export versions of wtclient.db
2024-11-19 17:53:14 +01:00
Oliver Gugger 9519a23a97 Merge pull request #9278 from starius/debuglevel-show-no-checks
config: fix "lnd --debuglevel show" command
2024-11-19 17:53:00 +01:00
Oliver Gugger 411ad1d9cd Merge pull request #9271 from morehouse/simplify_fuzz_wtwire
wtwire: simply fuzz targets
2024-11-19 12:57:34 +01:00
Oliver Gugger c136901f24 Merge pull request #9270 from starius/goroutine-manager-bool
fn: improvements for GoroutineManager
2024-11-19 12:56:04 +01:00
Oliver Gugger f4a1299d37 Merge pull request #9272 from lightningnetwork/sweeper-output-index
sweep: update storeRecord to include utxo index
2024-11-19 12:42:26 +01:00
Oliver Gugger bd36f76530 Merge pull request #9273 from Roasbeef/itests-pid
lntest: print node PID when launching in itests
2024-11-18 09:38:48 +01:00
Oliver Gugger 95b248a1ef Merge pull request #9194 from lightningnetwork/aux-channel-htlc
multi: generate and pass along HTLC resolution blobs for aux channels
2024-11-15 13:07:35 +01:00
Oliver Gugger 9a1adbeeaa docs: move 0.18.4 items, add full list of custom chan PRs 2024-11-15 09:50:01 +01:00
Oliver Gugger e6efa2e438 Merge pull request #9269 from hieblmi/sendpayment-fix-negative-feelimit
routerrpc: fix sendpayment_v2 negative fee limit
2024-11-15 09:40:43 +01:00
Oliver Gugger 60caa04a4d Merge pull request #9263 from morehouse/simplify_fuzz_lnwire
lnwire: simplify fuzz targets
2024-11-13 18:32:15 +01:00
Oliver Gugger 8918b62943 Merge pull request #9266 from famouswizard/patch-1
Typo Update ruby.md
2024-11-13 16:46:03 +01:00
Oliver Gugger 304c8df7b9 Merge pull request #9251 from morehouse/fuzz_lnwire
lnwire: add new fuzz targets
2024-11-13 14:23:16 +01:00
Oliver Gugger 4d184dffd0 Merge pull request #9259 from yyforyongyu/prepare-itest-for-blockbeat
trivial: prepare itest for `blockbeat`
2024-11-13 12:57:42 +01:00
Oliver Gugger 5a8026aba9 Merge pull request #9249 from yyforyongyu/fix-shutdown
routing: fix missionControlStore blocks on shutting down
2024-11-08 11:09:45 +01:00
Oliver Gugger 0899077fb5 Merge pull request #7762 from guggero/empty-resp
lnrpc: return meaningful response instead of empty one
2024-11-07 19:14:44 +01:00
Oliver Gugger f42636fec9 Merge pull request #8985 from ProofOfKeags/fn/collect-results
fn: more fn goodies
2024-11-07 18:50:57 +01:00
Oliver Gugger 5673dab596 docs: add release notes 2024-11-06 15:30:31 +01:00
Oliver Gugger 4bf24695d7 cmd/commands: fix custom message commands
The sendcustom and subscribecustom sub commands weren't correctly
categorized and didn't have any usage text set.
2024-11-06 15:30:30 +01:00
Oliver Gugger 0e5c724b64 rpcserver: fix formatting and grammar issues 2024-11-06 15:30:29 +01:00
Oliver Gugger 870e845a1e cmd/lncli: print new status responses to CLI 2024-11-06 15:30:27 +01:00
Oliver Gugger d89ea2d335 walletrpc: return meaningful responses instead of empty 2024-11-06 15:30:26 +01:00
Oliver Gugger 26216f749a itest: add tests for new backup responses 2024-11-06 15:30:25 +01:00
Oliver Gugger 45e13cead1 lnrpc+rpcserver: return meaningful responses instead of empty 2024-11-06 15:30:24 +01:00
Oliver Gugger d8c920fa7a chanbackup+rpcserver+server: return number of recovered channels 2024-11-06 15:30:23 +01:00
Oliver Gugger 15a5fe7704 channeldb+rpcserver: return number of deleted payments 2024-11-06 15:30:21 +01:00
Oliver Gugger e3cc4d70c0 Merge pull request #8600 from GeorgeTsagk/chanfunding-coinselect-nofeecheck
Add `maxFeeRatio` parameter to sanityCheckFee in psbt coin selection
2024-11-05 20:56:02 +01:00
Oliver Gugger 85175814a4 Merge pull request #9013 from guggero/fundpsbt-fee-rate-sat-per-kwu
[walletrpc]: add `sat_per_kw` fee option to `FundPsbt` RPC
2024-11-05 09:24:49 +01:00
Oliver Gugger 8849dd21d4 docs: add release notes 2024-11-04 14:12:50 +01:00
Oliver Gugger 837ff3427c cmd/lncli: add new --sat_per_kw flag to lncli wallet fundpsbt 2024-11-04 14:12:26 +01:00
Oliver Gugger fb8bdfefd3 walletrpc: add sat_per_kw fee rate option
To allow more precise fee rates, we add a sat_per_kw option to the fee
oneof in the gRPC definition.
2024-11-04 14:12:26 +01:00
Oliver Gugger 22ae3e5ddd Merge pull request #9167 from ellemouton/mcEncodingToTLV
routing+migration32: update migration 32 to use pure TLV encoding for mission control results
2024-11-01 13:16:04 +01:00
Oliver Gugger 006026f617 Merge pull request #9215 from carlaKC/9166-docs
routerrpc/trivial: add docs to forward interceptor
2024-11-01 09:46:16 +01:00
Oliver Gugger 891108d2ea Merge pull request #9221 from yyforyongyu/fix-TestChannelLinkCancelFullCommitment
htlcswitch: fix flake in `TestChannelLinkCancelFullCommitment`
2024-11-01 09:45:49 +01:00
Oliver Gugger c0e85d36ae Merge pull request #8381 from anibilthare/issue_8205_num_retries_2
watchtower: Add retry logic for fetching blocks
2024-10-31 10:22:19 +01:00
Oliver Gugger 684041bbfe Merge pull request #9233 from ellemouton/moveLoggingCompressorOption
build+config: move file logger specific options to `logging.file`
2024-10-30 14:10:59 +01:00
Oliver Gugger 22c3cc51ed Merge pull request #9223 from starius/close-to-external-p2tr
lnwallet: fix closechannel for P2TR external addr
2024-10-30 14:10:21 +01:00
Oliver Gugger 5da2e8dec2 Merge pull request #9237 from yyforyongyu/fix-btcdnotify-config
chainntnfs/btcdnotify: remove redundant config params re-assignment
2024-10-30 14:09:10 +01:00
Oliver Gugger 4c48402868 Merge pull request #9222 from ffranr/add-maybesome-opt
Improve Option documentation and add MaybeSome function
2024-10-30 09:31:38 +01:00
Oliver Gugger 4778b146cc Merge pull request #9219 from myxmaster/improve-sanitycheckfee-error-msg
chanfunding: improve sanityCheckFee error message for clarity
2024-10-29 13:07:06 +01:00
Oliver Gugger 4e54db4ac8 Merge pull request #9228 from yyforyongyu/fix-itest-flakes
itest: fix flake in `payment_failure_reason_canceled`
2024-10-29 13:05:32 +01:00
Oliver Gugger 5cec466fad Merge pull request #9212 from ellemouton/slogFollowUps
multi: update log dep for sub-modules
2024-10-28 16:32:46 +01:00
Oliver Gugger c37baa68d8 Merge pull request #9226 from sputn1ck/sendcoins_selectutxo_fix_amt
cmd/sendcoins: fix display amount if select utxo and sweepall is set
2024-10-28 11:34:12 +01:00
Oliver Gugger acbb33bb7b Merge pull request #9220 from oren-z0/issue-9169-code-comments-fix
Fix comments regarding breach hint and key calculations
2024-10-25 11:14:22 +02:00
Oliver Gugger 582468c0f6 Merge pull request #9199 from GeorgeTsagk/htlc-modify-cancel-htlc
Add `cancelSet` flag HtlcModify interface
2024-10-25 10:57:09 +02:00
Oliver Gugger e488002db5 Merge pull request #9214 from guggero/release-go-version-check
makefile+scripts: add Go version check to release command
2024-10-23 14:20:38 +02:00
Oliver Gugger 5f20fd4d9f lntest: shutdown all nodes at end of test
Fixes an issue where the standby nodes would keep running even after the
test finished (successfully or with a failure).
2024-10-22 18:12:16 +02:00
Oliver Gugger 91c82c1938 Merge pull request #9206 from Roasbeef/roasbeef-pgp-2024
scripts/key: add new gpg key for roasbeef
2024-10-22 09:23:57 +02:00
Oliver Gugger f34bf51d16 Merge pull request #9200 from starius/fix-logging
peer: fix logging (missing argument) [skip ci]
2024-10-21 10:23:48 +02:00
Oliver Gugger 6edd942c70 mod: bump fn to v1.2.3 2024-10-17 17:34:11 +02:00
Oliver Gugger 395a761eb6 Merge pull request #9196 from lightningnetwork/fn-context-guard
fn: add ContextGuard from tapd repo
2024-10-17 17:31:48 +02:00
Oliver Gugger deefa3a9f1 fn: add ContextGuard from tapd repo
This adds the ContextGuard struct from the taproot-assets repository
that has been in use there for a while.

The context guard allows for easy creation of contexts that depend on a
central wait group and quit channel.

A context can either be created with a timeout and quit, meaning it will
cancel either on reaching the timeout or when the central quit channel
is closed.

Or a context can be created to block and use a timeout, meaning it will
_not_ cancel on quit but rather block the shutdown until it is completed
(or times out).

The third way is to create a context that just cancels on quit with no
timeout.
2024-10-17 13:11:30 +02:00
Oliver Gugger f46ae2f893 Merge pull request #9195 from yyforyongyu/optimize-itest-setup
itest+lntest: speed up test setup
2024-10-17 10:16:06 +02:00