Commit Graph
13696 Commits
Author SHA1 Message Date
Oliver Gugger 80049c98f1 Merge pull request #6926 from guggero/query-routes-bindings
lnrpc: add additional REST binding for QueryRoutes
2022-09-20 09:44:34 +02:00
Matt Morehouse 179e7ceb08 docs: update release notes 2022-09-19 12:50:07 -05:00
Matt Morehouse 54474d5cd7 funding: fix potential data race
localDiscoverySignals needs to be guarded by its mutex.  I was unable to
write a test case that would trigger a race under the race detector, but
better safe than sorry.
2022-09-19 10:55:45 -05:00
Oliver Gugger a1c31f06fa docs: add release notes 2022-09-19 10:28:38 +02:00
Oliver Gugger 01cd1c991e lnrpc: add additional REST binding for QueryRoutes
Lists with non-primitive members aren't supported in the query string of
a GET request with the current version of the grpc-gateway library. To
allow route_hints to be set through REST, we also offer a POST endpoint
for that call where the encoding of the request parameter can be
specified as JSON.
2022-09-19 10:18:34 +02:00
benthecarman 96326e045a Add comments for all wallet states [skip ci] 2022-09-15 09:14:36 -05:00
Oliver Gugger 202fcd6672 Merge pull request #6779 from Crypt-iQ/tlv_domain
tlv: allow tlv streams to use large records
2022-09-15 09:20:31 +02:00
eugene a61fb5675a release-notes: update for 0.16.0 2022-09-14 15:48:15 -04:00
eugene 524058f39d tlv: allow tlv streams to use large records in non-p2p setting 2022-09-14 15:48:13 -04:00
Olaoluwa Osuntokun 89ebd03ff8 Merge pull request #6899 from kaloudis/protos-remove-js-build-tag
lnrpc/gen_protos.sh: remove js build tag
2022-09-13 17:36:14 -07:00
Oliver Gugger ab6fa9849c Merge pull request #6908 from nayuta-ueno/fix-docs
docs: fix typo in watchtower document and code comment
2022-09-13 15:26:23 +02:00
ueno c6c7f94668 docs: fix typo in watchtower document and code comment [skip ci] 2022-09-13 22:06:30 +09:00
Oliver Gugger bd69e79f84 Merge pull request #6335 from JssDWt/feature/subscribe-paymentattempts
routerrpc: TrackPayments
2022-09-12 12:45:35 +02:00
Jesse de Wit e05444c98c release-notes: add trackpayments
Add the new TrackPayments api to the release notes.
2022-09-10 21:53:02 +02:00
Jesse de Wit 0266ab77ab routing+routerrpc: test stream cancellation
Test stream cancellation of the TrackPayments rpc call. In order to achieve
this, ControlTowerSubscriber is converted to an interface, to avoid trying to
close a null channel when closing the subscription. By returning a mock
implementation of the ControlTowerSubscriber in the test that problem is
avoided.
2022-09-10 21:53:01 +02:00
Oliver Gugger 3873ec41af Merge pull request #6905 from guggero/neutrino-backend-warning
sample-conf: Chain backend documentation reformat, add warning [skip ci]
2022-09-09 16:43:21 +02:00
Abel 836d32514b sample-conf: Chain backend documentation reformat, add warning [skip ci]
Change formatting of `bitcoin.node` configuration, add warning
about changing BETWEEN chain back-ends
2022-09-09 16:42:08 +02:00
Oliver Gugger 82e79929ca Merge pull request #6893 from positiveblue/go-19-travis
ci: fix go version for travis jobs
2022-09-09 13:28:37 +02:00
Oliver Gugger 5d95f3f572 Merge pull request #6526 from orbitalturtle/tor-encryption-refactoring
Update Tor module to add option to encrypt Tor key
2022-09-09 13:09:48 +02:00
Jesse de Wit 4bc3007668 lntest: add trackpayments itest
Add an itest for the new TrackPayments api.
2022-09-08 10:48:34 +02:00
Jesse de Wit 275f085e6d routerrpc: add TrackPayments
Add method to track all payments rather than tracking a payment by payment hash.
2022-09-08 10:48:34 +02:00
Jesse de Wit e65f020348 routing: add SubscribeAllPayments to control tower
Add a method 'SubscribeAllPayments' to the control tower, in order to be able to
subscribe to any payment, rather than subscribing to a specific payment hash.
2022-09-08 10:48:34 +02:00
Evan Kaloudis 981f8969b4 lnrpc/gen_protos.sh: remove js build tag 2022-09-07 18:32:05 -04:00
positiveblue 12fa11f685 ci: fix go version for travis jobs
Golang uses semver `X.Y.Z` but when `Z` is zero it gets dropped from the
version. Ex: `1.18`, `1.19` instead of `1.18.0` and `1.19.0`.
2022-09-06 15:40:07 -07:00
Orbital 53f9032630 docs: Update release notes 2022-09-06 15:14:12 -05:00
Orbital 177f365538 tor: Add option to encrypt Tor private key
This commit lays the groundwork for enabling the option of encrypting a Tor private key on disk, and removes the onion type parameters from the OnionStore interface methods, since they are unused.
2022-09-06 15:14:08 -05:00
Oliver Gugger 9d04b0c3d9 Merge pull request #6868 from yyforyongyu/sweepr-config
sever+lncfg: add sweepr config
2022-09-01 10:05:11 +02:00
yyforyongyu 50487c6fe9 docs: add release docs for sweeper config 2022-09-01 10:44:50 +08:00
yyforyongyu 2f27a52f7f server+lncfg: make sweepr batch window duration configurable 2022-09-01 10:44:29 +08:00
yyforyongyu 1aa4d047fe sweep: add more debug/trace logs 2022-09-01 10:44:28 +08:00
Oliver Gugger b208642caf Merge pull request #6875 from ellemouton/fixProfilePanic
cmd+docs: fix cap out of range error in profile command
2022-08-31 20:12:17 +02:00
Elle Mouton 96021fe85b cmd+docs: fix cap out of range error in profile command
If `lncli profile remove` is called when there are no existing profiles,
it will cause a "cap out of range" panic. So in this commit, a length
check is added to avoid this.
2022-08-31 15:34:39 +02:00
Oliver Gugger 9f013f5058 Merge pull request #6858 from bottlepay/lncli-fix-sendpayment
lncli: fix sendpayment arg parsing
2022-08-29 08:52:59 +02:00
Joost Jager fe8a1f2f36 lncli: fix sendpayment arg parsing 2022-08-25 13:24:19 +02:00
Oliver Gugger cf9a9864cf Merge pull request #6775 from guggero/import-taproot-pubkey
Import Taproot pubkey
2022-08-25 10:13:30 +02:00
Oliver Gugger 9fe97aff9e docs: add release notes 2022-08-25 09:22:40 +02:00
Oliver Gugger c45d0f6b07 itest: add integration tests for tapscript import
We add basic integration test coverage for importing Tapscript
addresses. Note that FundPsbt is not supported with those types of
imported keys, so we need to manually fill in all information in the
PSBT to be able to sweep the funds again.
2022-08-25 09:21:52 +02:00
Oliver Gugger 2dac7ef35a lnrpc: add wallet output type for Taproot 2022-08-25 09:21:52 +02:00
Oliver Gugger 74fbd61d5f walletrpc: add ImportTapscript RPC 2022-08-25 09:21:50 +02:00
Oliver Gugger db73e640d9 input: add tapscript full key only helper function 2022-08-25 09:20:24 +02:00
Oliver Gugger 9f47d31681 input: add tapscript root hash helper function 2022-08-25 09:20:23 +02:00
Oliver Gugger 0d6e791042 lntest+lnwallet: add ImportTaprootScript to wallet interface 2022-08-25 09:20:23 +02:00
Oliver Gugger 3a66a09d9d itest: test BIP-0086 Taproot account+pubkey import 2022-08-25 09:20:23 +02:00
Oliver Gugger 97dfc04117 lnrpc: allow importing Taproot pubkeys 2022-08-25 09:20:23 +02:00
Oliver Gugger 394ee84120 mod: update btcwallet to latest version 2022-08-25 09:20:23 +02:00
Olaoluwa Osuntokun 2ad6b57f5e Merge pull request #6795 from Roasbeef/go1-19
build: make Go 1.18 the min version, update to Go 1.19
2022-08-24 15:33:37 -05:00
Olaoluwa Osuntokun b3998ddb5c lnrpc: re-compile protos w/ Go 1.19 2022-08-24 11:43:00 -05:00
Oliver Gugger 073d052078 Merge pull request #6710 from Juneezee/test/t.TempDir
test: use `T.TempDir` to create temporary test directory
2022-08-24 09:01:06 +02:00
Eng Zer Jun 5ee4c5657a docs: add release note entry for #6710
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:06 +08:00
Eng Zer Jun 1ceee96fc4 server: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:06 +08:00