Commit Graph

11727 Commits

Author SHA1 Message Date
Vincent Woo
6ff53226d0 In sample-lnd.conf, move astray neutrino and routing options into their respective sections 2021-06-19 20:01:23 -07:00
Olaoluwa Osuntokun
f9a51882c4
Merge pull request #5376 from de6df1re/lnrpc-doc-fix
lnrpc: fix v1 switch API doc
2021-06-18 14:13:39 -07:00
Olaoluwa Osuntokun
fdc6d2607d
Merge pull request #5369 from Crypt-iQ/coop_close_sanity_06082021
lnwallet+funding: sanitize upfront_shutdown_script
2021-06-18 14:13:25 -07:00
Olaoluwa Osuntokun
2fd75ace9d
Merge pull request #5374 from yyforyongyu/itest-use-require-sendcoin
itest: use require inside net.SendCoins
2021-06-18 14:12:39 -07:00
Olaoluwa Osuntokun
9362f5d279
Merge pull request #5364 from guggero/prevent-stop-on-rescan
rpcserver: prevent shutdown during wallet recovery
2021-06-18 14:11:30 -07:00
Olaoluwa Osuntokun
2706f1972f
Merge pull request #5358 from ErikEk/lnrpc-log-connections-to-transaction-subscription-stream
rpcserver: log connections to transaction subscription stream
2021-06-18 14:09:57 -07:00
Olaoluwa Osuntokun
16bce31e46
Merge pull request #5348 from yyforyongyu/fix-itest-channel-close
itest: fix wrong node queried for balance
2021-06-18 14:09:19 -07:00
Olaoluwa Osuntokun
da94cbf1ec
Merge pull request #5200 from champo/send_all_min_confs
sweep,rpc: honor minConfs paramater when SendAll is set
2021-06-18 14:08:45 -07:00
Olaoluwa Osuntokun
6f051fa5ea
Merge pull request #5248 from joostjager/concurrent-onion
htlcswitch: concurrent onion decoding
2021-06-18 14:08:24 -07:00
Olaoluwa Osuntokun
a4d4d5f8dc
Merge pull request #5299 from C-Otto/insufficient-bandwidth-log
add detailed log message for "insufficient bandwidth" error
2021-06-18 14:07:15 -07:00
Olaoluwa Osuntokun
3831ce05a0
Merge pull request #5399 from carlaKC/monitoring-default
multi: enable monitoring build by default
2021-06-18 14:06:41 -07:00
Olaoluwa Osuntokun
6c7fb7c20a
build: bump version to v0.13.99
A version bump to indicate that master is currently in-between major
versions.
2021-06-18 14:04:31 -07:00
carla
8491d0da43
multi: enable monitoring build by default
The monitoring server still needs to be enabled using prometheus.enable,
so including this in the default build does not add an additional http
server unless the user opts in.
2021-06-18 09:15:51 +02:00
Olaoluwa Osuntokun
725ff10480
build: bump version to v0.13.0-beta 2021-06-16 19:25:10 -07:00
Olaoluwa Osuntokun
cf7d082b98
Merge pull request #5353 from guggero/remove-release-cache
GitHub: remove build cache for release builder
2021-06-16 19:23:42 -07:00
eugene
13d7e97a84
docs: update fuzz.md to explain new build/run process 2021-06-16 12:49:26 -04:00
offerm
2c4dbfa19f feature: expose preimage in forward+settle event
Until now, clients of SubscribeHTLCEvents didn't have access to the settled preimage. The API allows to intercept forward event and to be updated on forward events however the forward+settle event does not include the payment preimage. This pr changes allows it.
2021-06-15 22:01:24 +03:00
eugene
6d04f11f94
lnwallet+funding: sanitize upfront_shutdown_script
Otherwise, we would get non-standard txn's and fail to broadcast
them when cooperatively closing a channel. This wouldn't affect
funds security as no HTLCs would be active to steal. This is just
a safety measure as we should only generate standard txn's.
2021-06-11 10:46:21 -04:00
de6df1re
c0c0673356
lnrpc: fix v1 switch API doc 2021-06-10 16:55:00 -05:00
yyforyongyu
6515c575bd
itest: use require inside net.SendCoins
This commit refactored the function SendCoins to take a new *testing.T
so the unexpected error is handled inside it.
2021-06-10 01:29:22 +08:00
yyforyongyu
b42bb87c81
itest: use require inside net.NewNode
This commit refactored the function NewNode to take a *testing.T so that
the unexpected error is checked inside it. The caller is now free from
checking the errors.
2021-06-09 02:14:37 +08:00
Oliver Gugger
ce9ccd3f14
rpcserver: prevent shutdown during wallet recovery
If the wallet recovery chain rescan was aborted before it finished, the
user would need to remember to use a positive recovery_window value the
next time they unlock the wallet for the rescan to continue. Because
forgetting to do so could lead to an incomplete wallet state (and
therefore potential missing funds) we rather don't allow shutting down
lnd through the RPC while a rescan is in progress.
This won't prevent any user from manually signaling Ctrl+C to kill lnd.
But that user might also check the log and see there's still something
going on that's preventing lnd from shutting down.
2021-06-07 13:15:10 +02:00
ErikEk
70901dc157 rpcserver: log connections to transaction subscription stream 2021-06-05 23:09:29 +02:00
yyforyongyu
a60db53a5a
itest: fix wrong node queried for balance 2021-06-03 19:55:25 +08:00
Oliver Gugger
3965ee93df
GitHub: remove build cache for release builder
The golang build cache seems to only grow over time and is now causing
disk space issues on the release builder. Since the release build has to
build for targets that aren't built during other GH actions and our
releases are too far apart to be hitting the cache anyway we suspect the
cache doesn't actually help that much.
Removing it might mean the build takes a bit longer but at least won't
cause any problems with full virtual disks anymore.
2021-06-03 09:35:46 +02:00
Olaoluwa Osuntokun
42099ef5e1
build: bump version to v0.13.0-beta.rc5 2021-06-02 17:18:24 -04:00
Olaoluwa Osuntokun
c580005081
Merge pull request #5352 from guggero/drop-unused-arch
make: drop unused release targets
2021-06-02 14:13:14 -07:00
Oliver Gugger
a5ceca2f24
make: drop unused release targets
Removes the os/architecture combinations from the release target list
that had 0 downloads for v0.12.1-beta.
2021-06-02 21:27:58 +02:00
Olaoluwa Osuntokun
140907ce32
Merge pull request #5350 from Roasbeef/0-13-rc4-tag
build: bump version to v0.13.0-beta.rc4
2021-06-02 08:11:08 -07:00
Olaoluwa Osuntokun
aa5c844633
Merge pull request #5351 from wpaulino/signet-bitcoind
config+chainreg: fix default rpc params for signet bitcoind
2021-06-02 08:09:58 -07:00
Wilmer Paulino
0bd6f32867
chainreg: handle missing case for bitcoind signet rpc connectivity
This allows lnd to connect to bitcoind's expected signet RPC port.
2021-06-01 16:22:36 -07:00
Wilmer Paulino
b213402722
config: support auto rpc config with bitcoind signet
This allows lnd to automatically retrieve the RPC credentials when
attempting to connect to a signet bitcoind node.
2021-06-01 16:22:10 -07:00
Olaoluwa Osuntokun
5ac65d961d
build: bump version to v0.13.0-beta.rc4 2021-06-01 15:29:40 -07:00
Olaoluwa Osuntokun
a45827ff4d
docs: add prometheus flags to sample-lnd.conf (#5331) 2021-06-01 15:22:47 -07:00
ErikEk
4114cc5a77 docs: add prometheus flags to sample-lnd.conf 2021-06-01 08:21:12 +02:00
maitrebitcoin
23baa75c09
docs/INSTALL.md: update command line to install go
you must be root to be able to install go on /usr/local/
without "sudo" the command fails with :
tar: go/src/cmd/go/main.go: Cannot open: No such file or directory
2021-05-31 13:06:09 -07:00
Olaoluwa Osuntokun
22b1008916
Merge pull request #5343 from kaloudis/patch-1
Fix typo on FundPsbt fee definition error
2021-05-31 13:05:26 -07:00
Olaoluwa Osuntokun
7e91a022f3
Merge pull request #5336 from cfromknecht/reuse-amp-invoice
lnrpc: allow AMP pay-addr override + bump invoice timeouts
2021-05-31 13:02:34 -07:00
Evan Kaloudis
8d5a3d6bb9
Fix typo on FundPsbt fee definition error 2021-05-30 14:28:59 -04:00
Conner Fromknecht
4bb6cc9cee
lnrpc/addinvoice: bump default LND invoice timeouts
Increases the default MPP expiry from 1 hour to 1 day. For the new AMP
invoices, we increase the interval to 1 month. The longer time frames
for AMP invoices is used so that the invoice can be pseudo reused as
implemented in the prior commit.

The BOLT 11 default of 1 hour is still preserved whenever the field is
missing in the payment request itself, but as of this commit the field
will always be set by lnd.
2021-05-28 09:30:06 -07:00
Conner Fromknecht
d6f88cbe6f
lnrpc: allow payment addr override for AMP invoices
This permits an AMP invoice to be "pseudo-reusable", where the invoice
paramters can be used multiple times so long as a new payment address is
supplied. This prevents additional round trips between payer and payee
to obtain a new invoice, even though the payments/invoices won't be
logically associated via the RPC interface like they would when the full
reusable invoices are deployed.
2021-05-28 09:30:05 -07:00
Conner Fromknecht
a765ba1f3d
lntest/mpp_test: ensure ctx.alice and ctx.bob are shutdown
Not doing so prevents consecutive subtests from starting properly.
2021-05-28 09:30:05 -07:00
Olaoluwa Osuntokun
ad0ecc4d58
Merge pull request #5333 from wpaulino/incompatible-account-addr-type
lnwallet: check if requested address type is compatible with account
2021-05-27 19:06:13 -07:00
Olaoluwa Osuntokun
9fbcc349d4
Merge pull request #5338 from guggero/btcutil-fix-update
mod: update btcutil dependency
2021-05-27 18:09:26 -07:00
Oliver Gugger
fca685a8c5
mod: update btcutil dependency
Bumps the btcutil dependency to the latest version that fixes a bug in
parsing addresses.
2021-05-27 19:20:09 +02:00
Olaoluwa Osuntokun
9163d1a16f
Merge pull request #5328 from guggero/neutrino-router-fix
rpcserver: check router state only if it is validating
2021-05-26 18:25:15 -07:00
Olaoluwa Osuntokun
c96a4e2bf8
Merge pull request #5322 from wpaulino/key-import-docs
docs: add introductory documentation for new key import feature
2021-05-26 18:24:23 -07:00
Olaoluwa Osuntokun
0ed72b8c6a
Merge pull request #5025 from guggero/signet
Add basic bitcoin signet support
2021-05-26 18:19:57 -07:00
Olaoluwa Osuntokun
cede7a122a
Merge pull request #5155 from bottlepay/random-coins
wallet: random coin selection
2021-05-26 15:28:25 -07:00
Olaoluwa Osuntokun
7f7e83b6aa
Merge pull request #5334 from wpaulino/process-zombie-update-log-debug
discovery: demote err log to debug from processZombieUpdate
2021-05-26 15:27:24 -07:00