Commit Graph

12871 Commits

Author SHA1 Message Date
Oliver Gugger
ed511bb37f
Merge pull request #6146 from yyforyongyu/add-closing-txid
rpcserver: add closing txid in PendingChannels' WaitingCloseChannel
2022-01-12 13:23:16 +01:00
Oliver Gugger
2560e2c69f
Merge pull request #6142 from sangaman/externalhosts-desc
docs: clarify --externalhosts usage
2022-01-12 11:57:16 +01:00
Carsten Otto
7ff3121032 contractcourt: use "info" log level for messages leading to force-closes [skip ci] 2022-01-11 20:18:19 +01:00
Oliver Gugger
d3faef5691
Merge pull request #6080 from guggero/pr-consolidation
multi: consolidate trivial PRs that are stuck on CI pipeline steps
2022-01-11 16:04:40 +01:00
Oliver Gugger
1795c1f686
docs: add release notes 2022-01-11 14:08:20 +01:00
asvdf
7c9bd93196
docs: update postgres docs with sample configuration 2022-01-11 14:08:20 +01:00
mateuszmp
35b11ef791
docs: fix spelling in JavaScript example.
Fixed a spelling mistake in work "handshake" on line 33.
Stylized grpc to gRPC on line 32.
2022-01-11 14:08:20 +01:00
3nprob
258c1987e8
docs: Fix broken link to lnd_test.go 2022-01-11 14:08:19 +01:00
randymcmillan
df8333cad7
docs/recovery.md: grammar adjust - add link 2022-01-11 14:08:19 +01:00
Rong Ou
a2d9814206
docs: fix typo 2022-01-11 14:08:19 +01:00
Thebora Kompanioni
9ba341bd95
docs: remove PIDFile from example systemd service 2022-01-11 14:08:18 +01:00
Naveen
4de2ec1264
docs: sign your git commits [skip-ci]
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2014-May/005877.html
2022-01-11 14:08:18 +01:00
naveen
87a0e52464
multi: Removed deprecated interfacer linter
Removed the deprecated interfacer linter from being called for linting.

Also removed the `nolint:interfacer` within the code.

https://github.com/lightningnetwork/lnd/issues/5741
2022-01-11 14:08:18 +01:00
naveen
545e84f4ce
multi: formatting changes 2022-01-11 14:08:17 +01:00
MrManPew
0f167fd03e
config: better error message if config file doesn't exist 2022-01-11 14:08:17 +01:00
henta
f553462bf4
docs: Update grpc/java.md 2022-01-11 14:01:09 +01:00
Dan Bolser
fc2bab4006
docs: update lnd versions in DOCKER.md 2022-01-11 14:01:08 +01:00
Oliver Gugger
617be6f994
Merge pull request #6140 from bottlepay/fix-duplicate-close
htlcswitch: fix duplicate close
2022-01-11 11:08:30 +01:00
Oliver Gugger
f788f9286e
Merge pull request #6088 from arshbot/export-backend-credentials
Export backend credentials
2022-01-11 11:02:37 +01:00
Harsha Goli
baf6977948
Revert "lntest: export attributes of type BitcoindBackendConfig"
[skip ci]

This reverts commit eccf20c5b2.
2022-01-10 14:49:29 -05:00
Harsha Goli
69ae56ad5c
lntest: surface bitcoin backend rpc credentials
[skip ci]
2022-01-10 14:49:10 -05:00
Joost Jager
7cd7cef6c6
htlcswitch: fix duplicate close
The decayed log database opening and closing is managed at a higher
level in config_builder.go.
2022-01-10 08:42:32 +01:00
Olaoluwa Osuntokun
fd63301dc5
Merge pull request #6006 from guggero/remote-signer-no-chain
Allow remote signer to run without chain backend
2022-01-07 17:37:16 -08:00
Olaoluwa Osuntokun
8b00e3c0ce
Merge pull request #6139 from guggero/itest-refactor
itest: refactor for re-use in LiT
2022-01-07 17:16:59 -08:00
yyforyongyu
18388b676d
docs: add release note for closing txid 2022-01-07 18:21:05 +08:00
yyforyongyu
99378b22c3
rpcserver: add closing txid in WaitingCloseChannel 2022-01-07 18:21:02 +08:00
yyforyongyu
3c1c640612
rpcserver: split PendingChannels into three sections
This commit refactors the method PendingChannels for maintenance
purpose.
2022-01-07 16:38:51 +08:00
Daniel McNally
b5f50c2522
docs: clarify --externalhosts usage
This clarifies the usage of the `externalhosts` option and brings its
documentation in line with similar options such as `externalip`.

Related issue: #6141

[skip ci]
2022-01-06 10:41:07 -05:00
Oliver Gugger
5282c9acf9
docs: update remote signing doc and release notes 2022-01-06 14:35:26 +01:00
Oliver Gugger
bab807a57d
multi: add migrate-wallet-to-watch-only flag
To enable converting an existing wallet with private key material into a
watch-only wallet on first startup with remote signing enabled, we add a
new flag. Since the conversion is a destructive process, this shouldn't
happen automatically just because remote signing is enabled.
2022-01-06 14:35:26 +01:00
Oliver Gugger
afc53d1c52
lnwallet: initialize first 255 accounts
This fixes lightninglabs/loop#437 by adding all accounts that are used
in liquidity products such as Loop or Pool. Since both of these products
use key families below 255, we can get by with that number.
The alternative to creating way too many accounts (which increases the
default wallet size by ~250kB) would be to hard code the exact accounts
used by Loop (99) and Pool (210). But that sounds like a bad idea given
that there could always be more accounts being added to those (or other)
products. By making sure the first 255 accounts exist, we have a lot
more flexibility in those products for choosing key families.
2022-01-06 14:35:26 +01:00
Oliver Gugger
0bdac59a8c
multi: add nochainbackend option 2022-01-06 14:35:25 +01:00
Oliver Gugger
da59c1fa62
multi: add health check for remote signer 2022-01-06 14:35:25 +01:00
Oliver Gugger
9601a9ab84
multi: make remote signer RPC timeout configurable 2022-01-06 14:35:25 +01:00
Oliver Gugger
f3cd383d1f
rpcwallet: add critical log to remote signer errors 2022-01-06 14:35:24 +01:00
Oliver Gugger
3d353a9879
config_builder+rpcwallet: simplify RPC signing
With the remote signing instance now not needing to know anything about
addresses or current derivation indices, we don't need to forward any
such calls to that instance and can simplify the RPCKeyRing
considerably.
2022-01-06 14:35:24 +01:00
Oliver Gugger
8994d86a1d
walletrpc+itest: add SignPsbt RPC 2022-01-06 14:35:07 +01:00
Oliver Gugger
d135b638f6
btcwallet: add SignPsbt 2022-01-06 13:24:32 +01:00
Oliver Gugger
c24763b3da
lnd+lnwallet: add logger for btcwallet+rpcwallet 2022-01-06 13:24:32 +01:00
Oliver Gugger
b54279dd87
lnwallet: add derivation and prev TX to UTXO 2022-01-06 13:24:31 +01:00
Oliver Gugger
167a1f2b79
btcwallet: add method for deriving key from BIP32 path 2022-01-06 13:24:31 +01:00
Oliver Gugger
ca5d5023e3
btcwallet: move PSBT related methods to own file
This is a pure code move commit to extract the FundPsbt and FinalizePsbt
methods into their own file.
2022-01-06 13:24:31 +01:00
Oliver Gugger
8c77829c46
lnwallet+lntest+mod: bump btcwallet to export ScriptForOutput 2022-01-06 13:24:30 +01:00
Oliver Gugger
1902ad724e
signrpc: remove incomplete sentence and TODO
We use SignOutputRaw which expects a witness script being set, even for
P2WKH. There is a special case in SignOutputRaw for the case where the
script is a p2wkh script, then the input script is reconstructed
correctly for the sighash.
2022-01-06 13:24:30 +01:00
Oliver Gugger
9da8333a6e
multi: fix formatting 2022-01-06 13:24:30 +01:00
Oliver Gugger
d039822184
docs: add release notes 2022-01-06 12:58:29 +01:00
Oliver Gugger
5401b12402
lntest: export base node config for re-use 2022-01-06 12:58:27 +01:00
Oliver Gugger
8c3f2eaba0
lntest: export ListenerFormat constant 2022-01-06 12:57:27 +01:00
Oliver Gugger
5afe7852b5
lntest: fix colliding variable name
The variable name "bytes" collides with an imported package name, so we
rename it to avoid shadowing.
2022-01-06 12:57:27 +01:00
Oliver Gugger
61bffa70f9
Merge pull request #6052 from yyforyongyu/itest-2-refactor-1
itest: prepare itest for major refactor
2022-01-06 10:26:20 +01:00