lnd/input
yyforyongyu 34e0c7b5e0
input+sweep: make sure input with no fee rate is not added to cluster
This commit makes sure an input is only added to the cluster when it has
successfully estimated its fee rate. Previously, when an error is
returned from `feeRateForPreference`, we'd still add this input to the
cluster, resulting a **lower** fee rates being used because when
averaging the fee rates, we'd think this input has zero fee rate
specified.

An unit test is patched to make the method `clusterByLockTime` more
robust.
2023-10-13 17:00:53 +08:00
..
input.go multi: fix linter errors 2023-08-22 16:34:15 -07:00
mocks.go input+sweep: make sure input with no fee rate is not added to cluster 2023-10-13 17:00:53 +08:00
musig2.go input+lnwallet: modify musig2 interfaces use explicit optional local nonces 2023-09-18 11:42:13 -07:00
musig2_session_manager.go input+lnwallet: modify musig2 interfaces use explicit optional local nonces 2023-09-18 11:42:13 -07:00
musig2_test.go multi: add version to MuSig2 API, bump btcd/btcec to v2.3.2 2023-02-03 18:30:10 +01:00
script_desc.go multi: fix linter errors 2023-08-22 16:34:15 -07:00
script_utils.go multi: fix linter errors 2023-08-22 16:34:15 -07:00
script_utils_test.go input: add exhaustive unit tests for new taproot scripts 2023-08-22 16:30:23 -07:00
signdescriptor.go contractcourt: update UTXO nursery to support taproot chans 2023-08-22 16:33:42 -07:00
signdescriptor_test.go multi: use btcd's btcec/v2 and btcutil modules 2022-03-09 19:02:37 +01:00
signer.go signer: fix comment about p2tr in ComputeInputScript 2022-06-29 18:28:59 +02:00
size.go multi: fix linter errors 2023-08-22 16:34:15 -07:00
size_test.go multi: fix linter errors 2023-08-22 16:34:15 -07:00
taproot.go input: add PayToTaprootScript helper func 2023-08-22 16:29:52 -07:00
taproot_test.go lnwallet: update channel state machine to use new ScriptDescriptor interface 2023-08-22 16:33:46 -07:00
test_utils.go input+wallet: extract musig2 session management into new module 2023-08-22 16:30:39 -07:00
txout.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
txout_test.go multi: move Input interface and related code 2019-01-31 13:25:33 +01:00
witnessgen.go multi: fix linter errors 2023-08-22 16:34:15 -07:00