alpeb-btc
0cae501009
lnrpc: provide hop hints when adding an invoice with no amount
...
With this change we allow adding hop hints when adding an invoice, even
if its amount is zero.
A couple of new unit test case have been added, and the
`testInvoiceRoutingHints` itest was expanded to account for this
scenario.
2022-11-12 05:01:10 -05:00
alpeb-btc
e68ae33c9a
lnrpc: refactor populateHopHintsTestCases
in addinvoice_test.go
...
Extract into a separate function the steps to set up the two-channel
mock, to be reused in other cases.
2022-11-12 05:01:09 -05:00
alpeb-btc
143111e368
lnrpc: fix typos in addinvoice_test.go
2022-11-12 05:01:09 -05:00
alpeb-btc
a96483c7d2
itest: refactor testInvoiceRoutingHints
' hints check logic
...
Move code into new closure `checkInvoiceHints` to reuse when checking
other invoices.
2022-11-12 05:01:09 -05:00
Olaoluwa Osuntokun
f6ae63fd7b
Merge pull request #7130 from guggero/remote-signing-fixes
...
rpcwallet: fix remote signing issues
2022-11-11 16:26:20 -08:00
Oliver Gugger
404e18afab
Merge pull request #7127 from morehouse/native_fuzzing
...
brontide+lnwire+wtwire+zpay32: migrate fuzz tests
2022-11-11 16:26:03 +01:00
Matt Morehouse
48c71d7f2b
docs: update release notes
2022-11-11 08:44:35 -06:00
Matt Morehouse
e15d3e898e
brontide,lnwire,wtwire,zpay32: appease linter
...
Address all linter complaints for the newly migrated fuzz tests.
2022-11-11 08:44:30 -06:00
Matt Morehouse
5a48568806
brontide,lnwire,wtwire,zpay32: use CamelCase
...
Rename fuzz test functions to use CamelCase.
2022-11-11 08:44:24 -06:00
Conner
c77852a68c
brontide: migrate fuzz tests
2022-11-11 08:44:16 -06:00
Conner
782f973298
zpay32: migrate fuzz tests
2022-11-11 08:44:12 -06:00
Conner
1ed2a1bc28
wtwire: migrate fuzz tests
2022-11-11 08:44:01 -06:00
Conner
3d4d8cd6cc
lnwire: migrate fuzz tests
2022-11-11 08:43:32 -06:00
Oliver Gugger
7e04d407b7
Merge pull request #6766 from andreihod/fix-infinite-loop-error
...
routing: Fix possible infinite loop on first hop unknown next peer
2022-11-11 12:13:27 +01:00
Oliver Gugger
8b522aa49a
docs: add release notes for v0.15.5-beta
2022-11-11 10:20:10 +01:00
Oliver Gugger
5bd3e91750
rpcwallet: pass prev output fetcher into ComputeInputScript
...
This commit fixes signing of Taproot inputs when some of the other
inputs of the transaction are not known to the wallet (such as a Pool
account for example).
If we want to sign for a Taproot (change) input when depositing into a
Pool account the wallet won't know the Pool account input. So we need to
make sure we pass it along inside the PrevOutputFetcher (which contains
the UTXO information extracted from the PSBT).
2022-11-11 10:20:09 +01:00
Oliver Gugger
ed2e542515
rpcwallet: don't re-use sign desc in loop
...
This commit fixes an issue with signing for mixed inputs in a remote
signing setup where the re-use of the sign descriptor would lead to the
sign method not being reset correctly if a p2wkh input is following a
p2tr input.
2022-11-11 10:20:09 +01:00
Oliver Gugger
b3f6fe315e
itest: add test coverage for Taproot tweak key mutation
2022-11-11 10:20:09 +01:00
Oliver Gugger
082d68d0ca
mod: bump btcwallet to version with addr validation
...
This commit bumps the btcwallet dependency to the version that includes
the address validation that asserts we can sign for an address before we
use it.
2022-11-11 10:20:08 +01:00
Oliver Gugger
e3536dd770
mod+keychain+lntest: bump btcd to version with tweak fix
...
This commit bumps to the latest version of btcd that fixes a key
mutation issue when signing for Taproot outputs.
2022-11-11 10:20:08 +01:00
andreihod
3ed0e8ee96
lint: remove unnecessary leading newline
2022-11-11 04:23:55 -03:00
andreihod
861f8174b1
docs: update release notes
2022-11-11 04:23:55 -03:00
andreihod
befa1b7cf0
routing: Fix possible infinite loop on first hop misleading hint
...
Add ignore condition to additional edges that connect to self. These
edges are already known and avoiding these hints protect the payment
from malformed channel ids which could lead to infinite loop.
Fixes lightningnetwork#6169.
Co-authored-by: lsunsi <lsunsi@pm.me>
2022-11-11 04:23:55 -03:00
Olaoluwa Osuntokun
bcdf24b15e
Merge pull request #7126 from yyforyongyu/temp-fix-itest
...
itest+funding: decrease sleep time and add a temporary fix for itest
2022-11-10 16:53:44 -08:00
yyforyongyu
22ae772b3f
docs: replace release docs re checking FundingLocked interval
2022-11-10 13:59:17 +08:00
yyforyongyu
b7816489a1
itest: add temp fix to bring back btcd build
2022-11-10 13:59:17 +08:00
yyforyongyu
4b558c3af5
funding: decrease checking interval to be 10ms in itest
...
When waiting for the peer to send us FundingLocked, we check whether
we've received this message periodically. This commit changes the
checking interval from 1s to 10ms in itest, which allows us to still
stop the CPU spike while responding to the message quickly.
2022-11-10 13:59:14 +08:00
Oliver Gugger
22fec76339
Merge pull request #7114 from ellemouton/useCorrectBaseBranchOnPush
...
github: only check commits on PR events
2022-11-04 10:27:23 +01:00
Elle Mouton
5499ce36fa
github+docs: only check commits on PR action
2022-11-04 11:07:19 +02:00
Oliver Gugger
ae6006a84e
Merge pull request #7095 from yyforyongyu/funding-locked
...
funding: wait for one sec if funding locked is not received
2022-11-02 09:27:41 +01:00
Oliver Gugger
421c9c660c
Merge pull request #7103 from ellemouton/checkAgainstBaseBranch
...
github: check commits against base branch
2022-11-02 09:22:13 +01:00
Oliver Gugger
926fdf486c
Merge pull request #6573 from voltagecloud/tls-reloader
...
cert: add TLS reloader
2022-11-02 09:10:15 +01:00
Elle Mouton
5ea99578a8
github: check commits against base branch
2022-11-02 09:08:21 +02:00
Orbital
a647c87972
docs: update release notes
2022-11-01 16:44:23 -05:00
Orbital
2f35b9aa7f
cert: add TLS reloader and return bytes from GenCert
...
Co-authored-by: gkrizek <graham@krizek.io>
2022-11-01 16:44:18 -05:00
yyforyongyu
8761a9a056
funding: wait for one sec if funding locked is not received
2022-11-02 02:02:49 +08:00
Oliver Gugger
31a803c931
Merge pull request #7100 from guggero/btcd-dep-update
...
mod+docs: bump btcd version to v0.23.3 on master branch
2022-11-01 17:32:50 +01:00
Oliver Gugger
b0673d06ea
docs: add release notes for 0.16.0-beta
2022-11-01 16:40:56 +01:00
Oliver Gugger
3013e939dd
docs: add release notes for 0.15.4-beta
2022-11-01 16:39:19 +01:00
Oliver Gugger
1628424c33
mod: bump btcd to v0.23.3
2022-11-01 16:38:36 +01:00
Oliver Gugger
84401f6f6c
Merge pull request #7039 from TonyGiorgio/sync-7034
...
Remove ErrSynchronizingChain
2022-10-31 08:35:48 +01:00
Oliver Gugger
b9d40a5123
Merge pull request #7070 from habibitcoin/master
...
doc: remove ⛰ emoji from commands
2022-10-28 19:35:51 +02:00
habibitcoin
04a1160939
docs: remove $ from multiline commands or frequently copied [skip ci]
2022-10-28 12:32:24 -05:00
habibitcoin
0b1e881d18
scripted-diff: replace ⛰ emoji with $ [skip ci]
...
-BEGIN VERIFY SCRIPT-
sed -i 's/⛰/$/g' $(git grep -l '⛰')
-END VERIFY SCRIPT-
2022-10-28 12:06:49 -04:00
Tony Giorgio
09537596fc
funding+lnwire: remove ErrSynchronizingChain
2022-10-28 10:06:59 -05:00
Oliver Gugger
e7f4b183ae
Merge pull request #7090 from Kodylow/fix-adming-typo
...
fixes adming typo
2022-10-28 11:20:31 +02:00
Kody Low
c89dd86a2e
fix typo
2022-10-27 16:26:47 -07:00
Oliver Gugger
81b17ef4fd
Merge pull request #6517 from bottlepay/lookup-htlc
...
htlcswitch: final settle signal
2022-10-27 17:52:37 +02:00
Joost Jager
3a89a84744
rpcserver: add LookupHtlc call
2022-10-27 16:43:09 +02:00
Joost Jager
511fb00777
htlcswitch: add final htlc event to notifier
2022-10-27 16:42:36 +02:00