Commit Graph
11539 Commits
Author SHA1 Message Date
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
Wilmer Paulino 186237ca73 discovery: demote err log to debug from processZombieUpdate
This log can be "spammy" while nodes throughout the network have yet to
upgrade to v0.13.0-beta, which includes several enhancements to prevent
the broadcast of zombie edges/updates.
2021-05-26 13:33:41 -07:00
Wilmer Paulino f195f21c8c lncli: remove RPC name from list wallet accounts command description 2021-05-26 11:20:31 -07:00
Wilmer Paulino 8745cf03c1 lnwallet: check if requested address type is compatible with account 2021-05-26 11:20:30 -07:00
Wilmer Paulino 798113a024 lnwallet: refactor common logic between NewAddress and LastUnusedAddress 2021-05-26 11:20:28 -07:00
Olaoluwa Osuntokun 785d3c9b4f Merge pull request #5164 from cryptosharks131/fix-python-grpc-updatechannelpolicy
Update PolicyUpdateRequest to avoid python clash
2021-05-25 16:05:38 -07:00
cryptosharks131 fe81049931 Add documentation to use global variable to update channel policies in python 2021-05-25 17:48:56 -04:00
Oliver Gugger 3f2d4f108d rpcserver: check router state only if it is validating
Fixes #5325.
Corrects a problem introduced in #5281 that caused the synced_to_chain
flag in the GetInfo call to never become true when the router subsystem
is running in Neutrino mode (channel validation turned off).
2021-05-25 09:45:48 +02:00
Olaoluwa Osuntokun f15961f764 Merge pull request #5316 from halseth/breachtests-buffer-chan
breacharbiter_test: select on quit chan on publication
2021-05-24 18:05:11 -07:00
Joost Jager 42f4afef75 multi: add random coin selection 2021-05-24 20:09:56 +02:00
Wilmer Paulino 3b22bd9064 docs: add introductory documentation for new key import feature 2021-05-21 14:39:35 -07:00
Johan T. Halseth fb99994720 breacharbiter_test: assert publication of adjusted justice tx
Since the breacharbiter will publish an adjusted justice tx after
detecing a spend from the breached commitment, we could get into a race
where sometime it would not get the second spend before publication,
resulting in a deadlock on the publTx channel.

Now we instead wait for the publication of this adjusted tx before
notifying the second spend.
2021-05-21 09:53:20 +02:00
Oliver Gugger 4f98cea820 Merge pull request #5311 from Crypt-iQ/btcutil_mod_update
go.mod: update to use latest btcutil commit with psbt fix
2021-05-21 09:52:29 +02:00
eugene 17646b0c04 go.mod: update btcutil, btcutil/psbt commits for psbt fix
This pulls in the latest btcutil and btcutil/psbt commits which
include a panic fix for malformed PSBT inputs.
2021-05-20 15:56:42 -04:00
Johan T. Halseth b74c1ca822 breach tests: increase cleanup timeout
1 second was not always enough for the breacharbiter to cleanup,
  especially in case of the more complex split sweep.
2021-05-20 09:50:14 +02:00
Johan T. Halseth 07c0277f3b breacharbiter_test: select on quit chan on publication
Since publication would deadlock on publishing the tx in case the test
had failed we also select on the brar quit channel.
2021-05-20 09:12:32 +02:00
Olaoluwa Osuntokun dee6a1a29b Merge pull request #5314 from Roasbeef/13-rc3
build: bump version to v0.13.0-beta.rc3
2021-05-19 21:02:23 -07:00
Olaoluwa Osuntokun 7716175454 build: bump version to v0.13.0-beta.rc3 2021-05-19 18:26:22 -07:00
Olaoluwa Osuntokun f5ee874a0b Merge pull request #5305 from carlaKC/sessionkey-deserialize
channeldb: read HtlcAttemptInfo session key raw bytes
2021-05-19 17:14:17 -07:00
Olaoluwa Osuntokun c18f3333d8 Merge pull request #5247 from joostjager/deprecate-chan-capacity
lnrpc: deprecate route hop channel capacity field
2021-05-19 17:06:15 -07:00
Olaoluwa Osuntokun 47403c0be4 Merge pull request #5226 from yyforyongyu/small-fix-invoice
invoices: remove unused param in notifyClients
2021-05-19 16:36:06 -07:00
Olaoluwa Osuntokun 7f10e2bb75 Merge pull request #5309 from guggero/fix-router-annotations
lnrpc: fix typos in REST annotations for routerrpc
2021-05-19 11:24:49 -07:00
Oliver Gugger 3eb7539de1 lnrpc: fix typos in REST annotations for routerrpc
Fixes #5307.
Corrects some typos in the REST annotations for the routerrpc subserver.
Unfortunately these mistakes aren't caught by the current version of the
grpc-gateway library. But we intend to update to v2 soon which will
output alerts as mentioned in #5307.
2021-05-19 09:48:33 +02:00
carla 64333c0303 channeldb: cache htlc attempt session key 2021-05-19 09:08:18 +02:00
carla 8071ebb16a channeldb: read raw htlc attempt session key 2021-05-19 09:03:52 +02:00
carla eb068bf666 multi: unexport session key and add constructor for htlc attempt info 2021-05-19 09:03:46 +02:00
Olaoluwa Osuntokun 6c330d3121 Merge pull request #5303 from guggero/policy-nil-check
rpcserver: add nil check to policy ordering
2021-05-18 15:47:27 -07:00
Oliver Gugger 3a5a03fa49 rpcserver: add nil check to policy ordering
Fixes #5301.
This was introduced with #5295. Since either policies can be nil, we
need to always check that first.
2021-05-18 21:17:09 +02:00