Commit Graph

13469 Commits

Author SHA1 Message Date
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
Oliver Gugger
5109c55721 itest: assert P2TR on-chain fund recovery 2022-03-24 18:02:38 +01:00
Oliver Gugger
108f49f23b input+signer: test wallet script import 2022-03-24 18:02:38 +01:00
Oliver Gugger
c73cf03a55 multi: add p2tr keyspend wallet support 2022-03-24 18:02:38 +01:00
Oliver Gugger
f130eddb92 multi: use prev output fetcher where possible 2022-03-24 18:02:37 +01:00
Oliver Gugger
72c9582b85 multi: bump btcd to taproot aware version 2022-03-24 15:00:25 +01:00
Oliver Gugger
0dcaa511a2 Merge pull request #6341 from guggero/remote-signer-signoutputraw
remote signer: fix SignOutputRaw RPC for incomplete key info, fix healthcheck connection leak
2022-03-24 14:59:38 +01:00
Oliver Gugger
0f4e691d4d docs: add release notes 2022-03-24 14:13:06 +01:00
Oliver Gugger
8c44da225a rpcwallet: fix RPC wallet health check connection leak
Fixes #6329.
This commit fixes a connection leak in the RPC wallet's health check. By
not closing the test connection the watch-only node would slowly stack
up connections and eventually hit the ulimit.
2022-03-24 14:13:06 +01:00
Oliver Gugger
42b0aa9a8e rpcwallet+itest: fix incomplete key info problem
Fixes an issue with SignOutputRaw in remote signing mode where we
weren't able to sign on the remote signer if we only provided the public
key or only the family/index (and not both).

Fixes part of an issue detected in lightninglabs/loop#457.
2022-03-24 14:13:05 +01:00