Oliver Gugger
891108d2ea
Merge pull request #9221 from yyforyongyu/fix-TestChannelLinkCancelFullCommitment
...
htlcswitch: fix flake in `TestChannelLinkCancelFullCommitment`
2024-11-01 09:45:49 +01:00
ziggie
5fe9bb2cff
htlcswitch: adopt test for dust threshold
2024-10-31 17:35:53 +01:00
ziggie
cfa073e6ec
htlcswitch: increase logs
2024-10-31 17:35:27 +01:00
yyforyongyu
8311bc56e5
htlcswitch: fix flake in TestChannelLinkCancelFullCommitment
...
We bring down the max number of inflight HTLCs in the link's unit tests
to speed up the tests.
2024-10-31 20:23:31 +08: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
Elle Mouton
e547d21920
multi: update log file max num and size defaults
2024-10-30 13:30:04 +02:00
Elle Mouton
8106810d9e
docs: add release notes
2024-10-30 13:30:04 +02:00
Elle Mouton
22c13790df
build+config: move maxlogfiles and maxfilesize to logger config
...
Add deprecation notices but continue to read both.
2024-10-30 13:30:04 +02:00
Elle Mouton
3adbdbb39a
multi: move logcompressor to logging.file.compressor
...
This is not a breaking change since the logcompressor config option has
not been released yet.
2024-10-30 13:30:04 +02:00
Elle Mouton
1886d3865b
build: extract File logging options into own struct
...
In preparation for extending LoggerConfig with file specific config.
2024-10-30 13:16:39 +02:00
Elle Mouton
0512357c17
build: dedup logging config
...
Move all shared code to config.go which has no build tags.
2024-10-30 13:15:34 +02:00
Elle Mouton
4c5e5653e4
build: rename config.go file
...
to config_prod.go in preparation for adding a shared config.go file.
2024-10-30 13:15:33 +02: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
Elle
7ceb3d61b5
Merge pull request #9213 from ellemouton/updateSubmodules
...
go.mod: update LND sub-module deps
2024-10-30 09:13:07 +02:00
ffranr
71298f7614
fn: fix documentation comment for Option
...
Remove the type generic from the `Option` type struct in the doc
comment.
2024-10-29 20:16:20 +00:00
ffranr
c49d038540
fn: add OptionFromPtr function
...
Add a function `OptionFromPtr` that constructs an `Option` from a
pointer. The function signature is: `OptionFromPtr : *A -> Option[A]`.
This utility has proven useful in the taproot-assets project.
2024-10-29 20:16:20 +00:00
yyforyongyu
611405f59c
chainntnfs/btcdnotify: remove redundant config params re-assignment
2024-10-30 02:01:14 +08:00
Elle Mouton
b4d098fb29
go.mod: update LND sub-module deps
2024-10-29 15:01:00 +02: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
yyforyongyu
785e058b77
itest: fix flake in testPaymentFailureReasonCanceled
...
Fix the case,
```
--- FAIL: TestLightningNetworkDaemon/tranche01/46-of-191/bitcoind/payment_failure_reason_canceled (20.86s)
harness.go:2113:
Error Trace: /home/runner/work/lnd/lnd/lntest/harness.go:2113
/home/runner/work/lnd/lnd/itest/lnd_payment_test.go:1183
/home/runner/work/lnd/lnd/itest/lnd_payment_test.go:1138
/home/runner/work/lnd/lnd/lntest/harness.go:396
/home/runner/work/lnd/lnd/itest/lnd_test.go:139
Error: err from HTLC interceptor stream
Test: TestLightningNetworkDaemon/tranche01/46-of-191/bitcoind/payment_failure_reason_canceled
Messages: received err from HTLC interceptor stream: rpc error: code = Unknown desc = interceptor already exists
```
2024-10-29 15:32:17 +08:00
yyforyongyu
21535826ba
lntest: remove redundant MineBlocks
2024-10-29 15:31:21 +08:00
myxmaster
7b5b92ff02
chanfunding: improve sanityCheckFee error message for clarity and update coin_select_test accordingly
2024-10-28 20:04:34 +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
Boris Nagaev
4b87072514
itest: coop_close_with_external_delivery with p2tr
...
Customize the itest with the type of external delivery address. Test with P2TR
address type in addition to P2WKPH.
2024-10-28 11:10:41 -03:00
Boris Nagaev
9fec11eeb5
lnwallet: fix closechannel for P2TR external addr
...
If the delivery address is P2TR, function InternalKeyForAddr checks its
existance in the wallet to return internal key for it in case it is a custom
taproot channel. It used to return the error returned by wallet.AddressInfo.
The error is now ignored if it is ErrAddressNotFound error. This fixes
"lncli closechannel --delivery_addr <external p2tr address" case.
2024-10-28 11:08:15 -03: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
sputn1ck
6be3e5b609
cmd/sendcoins: fix amt if select utxo
...
This commit fixes the display of the amount when
selecting utxos for the sendcoins command and
combining it with the `-sweepall` flag. Prior this
would show the full balance of the wallet. Now it
shows the total amount of the selected utxos.
2024-10-28 10:03:52 +01:00
Elle Mouton
67419a7c0c
Revert "kvdb/postgres: remove global application level lock"
...
This reverts commit 43a1ca4f3d
.
2024-10-28 09:35:18 +02:00
Elle Mouton
a03d5fcb9e
tor: update btclog dep
2024-10-26 14:18:32 +02:00
Elle Mouton
83751ee208
sqldb: update btclog dep
2024-10-26 14:18:00 +02:00
Elle Mouton
a6e68cb6b8
kvdb: update btclog dep
2024-10-26 14:16:31 +02:00
Elle Mouton
de358667f3
healthcheck: bump btclog dep
2024-10-26 14:16:25 +02:00
Elle Mouton
1e39e3758e
build: apply log type flags in NewDefaultLogHandlers
...
So that the logging config "Disable" options and log type flags are all
handled in one place. Other repo's can then re-use this nicely.
2024-10-26 14:15:14 +02:00
Animesh Bilthare
ecd4480331
watchtower: Add retry logic for fetching blocks
...
By default, try to fetch the blocks 3 more times
in case of error.
2024-10-26 16:59:13 +05:30
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
Oren
54b30423a3
watchtower: fix comments on breach hint and key
2024-10-25 00:07:04 +03:00
George Tsagkarelis
4b1bb102bf
invoices: cancel htlc on HtlcModify signal
2024-10-24 12:59:29 +02:00
George Tsagkarelis
1c17356fdc
lnrpc+invoices: add cancelSet to HtlcModifier interface
2024-10-24 12:59:28 +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
ffranr
7919b3f204
makefile+scripts: add Go version check to release command
...
This commit updates `scripts/release.sh` to include a check for the
correct Go version before executing the release build. This ensures that
the release binaries are built with the specified Go version,
maintaining consistency and integrity for developer signatures.
2024-10-23 13:34:35 +02:00
Elle
b4ef22bf47
Merge pull request #9083 from ellemouton/slog
...
log: structured logging
2024-10-22 20:00:56 +02:00
Yong
6a5a79fb88
Merge pull request #9209 from guggero/lntest-shutdown
...
lntest: shutdown all nodes at end of test
2024-10-23 02:00:39 +08: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
Elle Mouton
30d39ac595
build+sample_conf: option to print log call-site
2024-10-22 17:07:50 +02:00
Elle Mouton
eddcdb2a5a
docs: add release note entry
2024-10-22 17:03:56 +02:00