Joost Jager
13dff2fb3e
htlcswitch: interceptor expiry check
2022-04-12 08:27:06 +02:00
Joost Jager
bae0b6bdf9
htlcswitch/test: isolate test packets
...
Decouple the tests somewhat and fix a bug along the way where the test
passed because of a left-over package from a prior test.
2022-04-12 08:27:04 +02:00
Olaoluwa Osuntokun
2fd900b172
Merge pull request #5587 from positiveblue/5466-update-node-announcement-data
...
lnrpc: Add UpdateNodeAnnouncement endpoint
2022-04-11 22:32:12 -04:00
Olaoluwa Osuntokun
e6fd93eb38
Merge pull request #6385 from Roasbeef/tlv-all-day-err-day
...
lnrpc: remove legacy onion payload as an option for SendToRoute
2022-04-11 20:45:29 -04:00
Olaoluwa Osuntokun
060fcafc19
docs/release-notes: add entry for SendToRoute
legacy payload deprecation
2022-04-11 20:30:08 -04:00
Olaoluwa Osuntokun
427a518b0a
lnrpc: ignore legacy onion payload as an option for SendToRoute
...
In this commit, we start to ignore the option to allow the caller to use
the legacy onion payload. The new payload is much more flexible and
efficient, so there's really no reason to still use it, other than for
backwards compatibility tests. Our existing tests that exercise the
legacy feature uses a build tag, which forces nodes to not advertise the
new payload format, which then forces path finding to include the legacy
payload, so we can be confident that route is still being tested.
The existence of this option (which actually makes the TLV payload
opt-in for `SendToRoute` users) makes it harder to remove it from the
protocol all together. With this PR, we take a step forward to allowing
such a change which is being tracked on the spec level at:
https://github.com/lightning/bolts/pull/962 .
In a future release, we'll move to remove the field all together.
Ignoring the field today doesn't seem to have any clear downsides, as
most payments always include the MPP payload (due to payment secrets),
so this shouldn't impact users in a significant way.
2022-04-11 20:29:57 -04:00
Olaoluwa Osuntokun
954d5cf896
Merge pull request #6403 from guggero/fix-linter
...
cmd/lncli: fix linter issues after contributor PR [skip ci]
2022-04-11 12:26:22 -04:00
Oliver Gugger
e13e5f874f
cmd/lncli: fix linter issues after contributor PR [skip ci]
2022-04-11 18:02:42 +02:00
Oliver Gugger
65dc3ef8a6
Merge pull request #6349 from gabbyprecious/unlock-error-message#2529
...
change changepassword and unlock error message
2022-04-11 17:05:33 +02:00
Hitanshu Mehta
3dc5ddc168
fix typos [skip ci]
2022-04-11 18:26:54 +05:30
Oliver Gugger
8109c9ccf1
Merge pull request #6392 from C-Otto/fix-typo
...
rpcperms: fix typo
2022-04-04 23:47:55 +02:00
Carsten Otto
50ec39477e
rpcperms: fix typo [skip ci]
2022-04-04 22:58:41 +02:00
positiveblue
fdfdd10e86
docs: add release notes
2022-04-02 19:10:28 -07:00
positiveblue
f3fdf8d28e
lncli: add peers updatenodeannouncement
2022-04-02 19:10:27 -07:00
positiveblue
ae2aa5671f
lnrpc/peers: handle feature bit changes in updateNodeAnnouncement
2022-04-02 19:10:25 -07:00
positiveblue
76196db70e
lnrpc/peers: handle net address changes in updateNodeAnnouncement
2022-04-02 19:09:10 -07:00
positiveblue
aacb2565f5
lnrpc/peers: handle color changes in updateNodeAnnouncement
2022-04-01 18:36:26 -07:00
positiveblue
ce4813940d
lnrpc/peers: handle alias changes in updateNodeAnnouncement
2022-04-01 18:36:26 -07:00
positiveblue
e4e0935816
lnrpc/peers: skeleton logic for updateNodeAnnouncement
...
Basic logic for the endpoint:
- Get the current nodeAnn information
- Calculate modifications
- Apply modifications
- Return changes
2022-04-01 18:36:21 -07:00
positiveblue
5ab0cbd433
lnrpc: add updatenodeannouncement
to Peers
service
...
New endpoint for the `Peers` subrpc.
2022-04-01 18:20:05 -07:00
positiveblue
d4021c5aca
lnrpc: fix log.go
files
...
The `log.go` file of each subserver is a copy and paste of the others.
All of them have the same typo, an extra space in a comment, and the
the definition of a function not used anywhere.
2022-04-01 18:12:59 -07:00
positiveblue
9db17d7a22
lnrpc: add peersrpc subsever
2022-04-01 18:12:58 -07:00
positiveblue
d2f016c105
lnrpc: add peers .proto
files
2022-04-01 18:12:58 -07:00
gabbyprecious
a0b7680424
cmd/lncli: changepassworderror message [skip ci]
2022-04-01 15:52:59 +02:00
Oliver Gugger
0f858958f9
Merge pull request #6373 from hsjoberg/macos-makefile
...
mobile: Add macos and apple Makefile tasks
2022-04-01 12:35:57 +02:00
Oliver Gugger
359ef6a821
Merge pull request #6376 from ellemouton/useTCPResolverForAllInterfacesAddr
...
lncfg: normal TCP resolution for the all-interfaces IP
2022-03-31 14:46:38 +02:00
Hampus Sjöberg
1786fdf4d4
mobile: Add iossimulator gomobile target to ios Makefile task
2022-03-31 12:10:13 +04:00
Elle Mouton
2bf2939b84
go.mod: update btcd to include tor resolver fix
2022-03-31 09:49:09 +02:00
Oliver Gugger
8072b20d54
Merge pull request #6380 from guggero/websocket-proxy-race-fix
...
lnrpc: fix websocket proxy data race
2022-03-30 18:13:55 +02:00
Oliver Gugger
de9d3096c0
docs: add release notes
2022-03-30 17:03:45 +02:00
Oliver Gugger
40358d406d
lnrpc: fix websocket proxy data race
...
Was discovered in a race unit test in lightning node connect that uses
the websocket proxy to connect to the hashmail server on the client
side.
By not shadowing the err variable we end up reading and writing to the
same variable from two different goroutines, which causes the data race.
2022-03-30 17:03:30 +02:00
Oliver Gugger
6275a78c79
Merge pull request #6379 from guggero/wallet-default-scopes
...
btcwallet: always make sure default scopes exist
2022-03-30 13:35:59 +02:00
Elle Mouton
c582438a4e
lncfg: use net pkg IsLoopback method
...
Use the IsLoopback method provided by the net package instead of using
hardcoded loopback addresses.
2022-03-30 13:21:50 +02:00
Elle Mouton
c6e96c67ce
lncfg: normal TCP resolution for unspecified IPs
...
Use normal TCP resolution for any unspecified IP (0.0.0.0 or ::) instead
of using the Tor resolver.
2022-03-30 13:21:48 +02:00
Oliver Gugger
ba83c11a6f
Merge pull request #6346 from thinkmassive/docker-tag-master
...
github: re-add rolling tag 'daily-testing-only'
2022-03-30 12:53:37 +02:00
Oliver Gugger
28a99fc2a2
docs: add release notes
2022-03-30 12:50:16 +02:00
Oliver Gugger
485d8f043d
btcwallet: always make sure default scopes exist
...
If new default scopes are added to the underlying btcwallet
implementation, then they aren't automatically created for _existing_
wallets, only for new ones. So on startup we need to make sure all
scopes are present.
2022-03-30 12:50:16 +02:00
Oliver Gugger
5fd9df3b6e
Merge pull request #6383 from Roasbeef/update-btcutil-psbt-fix
...
build: update to latest btcutil/psbt version
2022-03-30 12:41:14 +02:00
Olaoluwa Osuntokun
f8174630d8
build: update to latest btcutil/psbt version
...
Updates a version of `btcutil/psbt` that has looser parsing requirements
to properly match the BIP.
Fixes: https://github.com/lightningnetwork/lnd/issues/6372
2022-03-29 20:10:54 -05:00
Oliver Gugger
6e2214fd0f
Merge pull request #6365 from antonilol/some_typos
...
fix some typos
2022-03-28 09:23:43 +02:00
Antoni Spaanderman
1516310257
channelarbitrator: fix typo in comment [skip ci]
2022-03-27 15:54:56 +02:00
Hampus Sjöberg
cc21ae1502
Add info about macos
and apple
Makefile tasks to 0.15.0 release notes
2022-03-27 03:16:00 +04:00
Hampus Sjöberg
a97b194574
mobile: Add apple Makefile task for compiling xcframework for all Apple platforms
2022-03-27 02:33:59 +04:00
Hampus Sjöberg
f015d885e4
mobile: Add macos Makefile task for compiling xcframework for macOS
2022-03-27 02:00:28 +04:00
Hampus Sjöberg
b19f5b9743
Fix error in log message in Makefile ios task
2022-03-27 02:00:28 +04:00
Olaoluwa Osuntokun
dceb10144f
Merge pull request #6263 from guggero/schnorr-taproot-signet
...
Taproot: integrate btcec/v2 and btcwallet changes to support Taproot key spend paths in lnd's wallet
2022-03-25 16:07:56 -07:00
Oliver Gugger
f500892681
docs: add release notes
2022-03-24 18:02:40 +01:00
Oliver Gugger
3b5585c12b
multi: fix and test v1 output spend ntfns
...
Because Taproot key spend only spends don't allow us to re-construct the
spent pkScript from the witness alone, we cannot support registering
spend notifications for v1 pkScripts only. We instead require the
outpoint to be specified. This commit makes it possible to only match by
outpoint and also adds an itest for it.
2022-03-24 18:02:40 +01:00
Oliver Gugger
ef98f2df8a
multi: add p2tr tapscript key path signing capabilities
2022-03-24 18:02:39 +01:00
Oliver Gugger
78db46be7e
multi: add p2tr tapscript signing capabilities
2022-03-24 18:02:39 +01:00