ziggie
643e415448
scripts: dont check new config value.
...
Because we need to remain backwards compatible with the old
`dust-threshold` value we set the default value for
`channel-max-fee-exposure` later in the program flow. Given
the restrictions of the sample config check we need to exclude
this value from the check.
2024-11-06 18:52:07 +01:00
ziggie
7b2da94750
multi: deprecate dust-treshold config value
...
Replace ambigious config value "dust-treshold" with a more clear
"channel-max-fee-exposure" exposure value. The old value is
deprecated and will be removed in the near future.
2024-11-06 18:16:06 +01:00
ziggie
a040f8fafa
htlcswitch: increase log
2024-11-06 18:12:43 +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
Elle Mouton
30e0d6ca9c
docs: update release notes
2024-11-01 12:28:06 +02:00
Elle Mouton
5370c90906
routing+migration32: update MC encoding to use pure TLV
...
In this commit, we update an existing migration which at the time of
writing has not been included in a release. We update it so that it
converts the format used for MissionControl result encoding to use pure
TLV instead. The 3 structs that have been updated are: `mcHop`,
`mcRoute` and `paymentResult`.
2024-11-01 12:28:06 +02: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
Elle Mouton
d9a073ad7e
routing+channeldb: let Vertex implement tlv.RecordProducer
...
So that we can use it in TLV encoding.
Also add this to the codec for channeldb migration 32 since we will be
using it there in an upcoming adjustment commit.
2024-11-01 08:59:54 +02:00
Elle Mouton
a5f3fa17e7
lnwire21: update Msat and TrueBoolean
...
Add the TrueBoolean type along with its Record method. Also update the
Millisatoshi type with a Record method. Both of these will be used in an
upcoming commit which adjusts a mission control migration to use pure
TLV types.
2024-11-01 08:59:54 +02: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