Commit Graph

13570 Commits

Author SHA1 Message Date
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
Eng Zer Jun
6d00cdea45
watchtower/wtdb: 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
Eng Zer Jun
05c0dd7c91
walletunlocker: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:05 +08:00
Eng Zer Jun
ca1cc68b79
tor: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:05 +08:00
Eng Zer Jun
b5a626be78
routing: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:05 +08:00
Eng Zer Jun
71185d46fb
peer: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:05 +08:00
Eng Zer Jun
f3dec8fbb0
macarooons: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:05 +08:00
Eng Zer Jun
9acd53a5de
lnwallet: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:05 +08:00
Eng Zer Jun
ca5c695526
lntest/itest: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:04 +08:00
Eng Zer Jun
0edc16aa01
kvdb: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:04 +08:00
Eng Zer Jun
d926ad1f84
keychain: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:04 +08:00
Eng Zer Jun
6c4ce69b26
invoices: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:04 +08:00
Eng Zer Jun
9294b53fcc
htlcswitch: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 09:03:01 +08:00
Eng Zer Jun
4f1e4ff87a
funding: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:16 +08:00
Eng Zer Jun
dbf3cf62fe
discovery: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:16 +08:00
Eng Zer Jun
d1541d6628
contractcourt: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:16 +08:00
Eng Zer Jun
5d5ad9ce65
cluster: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:16 +08:00
Eng Zer Jun
dd07cb850d
channeldb: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:16 +08:00
Eng Zer Jun
519df2a15d
chanbackup: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:16 +08:00
Eng Zer Jun
712177ee03
chainntnfs: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:16 +08:00
Eng Zer Jun
994f4d67a1
cert: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:15 +08:00
Eng Zer Jun
1cd7e3aee6
aliasmgr: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:11 +08:00
Olaoluwa Osuntokun
65a5eeb24e
build: make Go 1.18 the min version, update to Go 1.19
As usual, we keep with the last two Go versions, which means the last
year of Go release (they release every 6 months or so).

This change means we can now use the type params (generics) in the
project!
2022-08-23 10:54:13 -05:00
Olaoluwa Osuntokun
f8615f9910
Merge pull request #6853 from yyforyongyu/fix-make-fmt
github: fix `make fmt` and add `make fmt-check`
2022-08-23 10:48:58 -05:00
yyforyongyu
859c5e5da4
Makefile+github: add make fmt-check to check for formatting 2022-08-23 22:10:27 +08:00
yyforyongyu
0735522194
multi: fix make fmt 2022-08-23 22:10:24 +08:00
Oliver Gugger
3851f286b9
Merge pull request #6849 from yyforyongyu/small-fix
clock: add missing package `require`
2022-08-23 10:59:33 +02:00