Conner Fromknecht
7f258d0213
Merge pull request #4303 from wpaulino/persistent-output-leases
...
walletrpc: add basic coin selection RPCs
2020-06-03 21:39:15 -07:00
Wilmer Paulino
146611d1c1
lnrpc: mark existing ListUnspent RPC as deprecated in favor of walletrpc
2020-06-03 19:03:05 -07:00
Wilmer Paulino
acfd432602
walletrpc: add ListUnspent RPC
2020-06-03 19:03:04 -07:00
Wilmer Paulino
7616a3dc7f
rpc: refactor request validation and response marshal into functions
2020-06-03 18:50:11 -07:00
Wilmer Paulino
9dcaf4fbc6
walletrpc: add output leases RPCs
2020-06-03 18:50:09 -07:00
Wilmer Paulino
ae7335ce3b
lnwallet: expose output leases on WalletController interface
2020-06-03 18:49:39 -07:00
Wilmer Paulino
94629b6c73
build: update btcwallet version to expose output leases
2020-06-03 18:31:53 -07:00
Wilmer Paulino
c7dad7a8dd
Merge pull request #4341 from wpaulino/log-raw-funding-tx
...
fundingmanager: log raw transaction on broadcast
2020-06-03 15:45:22 -07:00
Wilmer Paulino
96dc30ae70
fundingmanager: log raw transaction on braodcast
2020-06-03 14:57:13 -07:00
András Bánki-Horváth
595bb7c1ff
Merge pull request #4318 from bhandras/etcd_fixes
...
lnd+kvdb+etcd: remove retry goroutine from the STM and integrate abort context
2020-06-03 19:21:01 +02:00
Andras Banki-Horvath
3e5e60cac4
lnd+kvdb: pass LND abort context to etcd
2020-06-03 17:44:44 +02:00
Andras Banki-Horvath
d3545830c9
kvdb+etcd: integrate the abort context to the STM retry loop
...
This commit extends the etcd.BackendConfig to also provide an abort
context and integrates it with the STM retry loop in order to be able
stop LND when conflicting transactions keep the loop running.
2020-06-03 17:44:44 +02:00
Andras Banki-Horvath
415de2f0c7
kvdb+etcd: remove retry goroutine from the STM
...
This commit removes the retry goroutine from the STM as the retry loop
is only running when the STM transaction is encapsulated in Update/View
whereas for self-standing transactions we use a different approach.
By removing the goroutine we won't catch panics thrown that are supposed
to be catched outside of the STM.
2020-06-03 17:44:44 +02:00
Olaoluwa Osuntokun
09bb9db782
Merge pull request #4342 from wpaulino/create-chan-ann-zero-features
...
netann: decode features when creating chan ann from stored chan info
2020-06-02 20:06:53 -07:00
Olaoluwa Osuntokun
cd04dd79b6
Merge pull request #4339 from bhandras/etcd_bump
...
build: bump etcd to v3.3.22
2020-06-02 18:31:17 -07:00
Andras Banki-Horvath
1dd43f3669
test: add error to itest whitelist
2020-06-02 15:40:20 +02:00
Andras Banki-Horvath
2a591ee2f1
build: bump etcd to v3.3.22
2020-06-02 15:40:20 +02:00
Joost Jager
9f32942a90
Merge pull request #4334 from joostjager/hold-keysend-part1
...
invoices: add explicit hodl invoice flag
2020-06-02 10:59:47 +02:00
Joost Jager
d416ed59ea
multi: add explicit hodl invoice flag to invoice
...
Previously it wasn't possible to store a preimage in the invoice
database and signal that a payment should not be settled right away. The
only way to hold a payment was to insert the magic UnknownPreimage value
in the invoice database. This commit introduces a distinct flag to
signal that an invoice is a hold invoice and thereby allows the preimage
to be present in the database already.
Preparation for (key send) hodl invoices for which we already know the
preimage.
2020-06-02 07:34:23 +02:00
Wilmer Paulino
d0fe8b737b
netann: decode features when creating chan ann from stored chan info
...
This was the only field not properly set when creating a
lnwire.ChannelAnnouncement from a channeldb.ChannelEdgeInfo.
2020-06-01 17:30:23 -07:00
Olaoluwa Osuntokun
bdc0d875bc
Merge pull request #4327 from joostjager/stuck-payment-loop
...
routing: don't treat bad features as an unexpected error
2020-05-28 15:43:09 -07:00
Olaoluwa Osuntokun
c5e62ba9b3
Merge pull request #4332 from cfromknecht/dry-run-migration-logs
...
channeldb: dry run migration logs
2020-05-28 15:39:55 -07:00
Olaoluwa Osuntokun
6b3c2c1ac5
Merge pull request #4335 from joostjager/queryroutes-limit
...
rpcserver+routerrpc: remove payment limit
2020-05-28 15:39:15 -07:00
András Bánki-Horváth
703e8acb36
Merge pull request #4326 from bhandras/testclock_improvement
...
clock: add module support
2020-05-28 19:47:28 +02:00
Joost Jager
df7a05da84
rpcserver+routerrpc: remove payment limit
2020-05-28 19:34:17 +02:00
Andras Banki-Horvath
1ae27b4f44
itest: add errors to the whitelist
2020-05-28 13:32:51 +02:00
Andras Banki-Horvath
fc87e8358e
clock: add go.mod
2020-05-28 10:37:04 +02:00
Conner Fromknecht
5e09a5287a
lnd: use Infof to format errors on channeldb open
2020-05-27 22:42:46 -07:00
Conner Fromknecht
66652ec4bc
channeldb/db: lower-case ErrDryRunMigrationOk message
2020-05-27 22:42:22 -07:00
Joost Jager
24c865450a
Merge pull request #4331 from cfromknecht/stray-read-bucket
...
channeldb/invoices: correct stray kvdb.ReadBucket to RBucket
2020-05-28 07:25:58 +02:00
Conner Fromknecht
eae8e6de17
channeldb/invoices: correct stray kvdb.ReadBucket to RBucket
...
We recently renamed kvdb.ReadBucket to kvdb.RBucket in #4252 , but this
was not detected in #4285 since this new code didn't produce a
conflict.
2020-05-27 20:20:29 -07:00
Conner Fromknecht
3faf8bad3f
Merge pull request #4320 from guggero/refactor-log-writer
...
config+log: remove global RootLogWriter variable
2020-05-27 19:25:32 -07:00
Conner Fromknecht
0f3ab775c7
Merge pull request #4285 from cfromknecht/pay-addr-index
...
channeldb: index payments by payment addr, use payment hash as fallback
2020-05-27 17:36:30 -07:00
Olaoluwa Osuntokun
f5598f7305
Merge pull request #4324 from Roasbeef/lnd-v-0-10-99
...
build: bump version to lnd v0.10.99-beta
2020-05-27 15:57:19 -07:00
Olaoluwa Osuntokun
d2d8793afd
Merge pull request #4298 from cfromknecht/sub-inv-fixes
...
channeldb+invoices: minor invoice subscription fixes
2020-05-27 15:56:47 -07:00
Olaoluwa Osuntokun
eddd9049dc
Merge pull request #4252 from cfromknecht/rename-kvdb-read
...
multi: rename kvdb Read* types to R*
2020-05-27 15:52:49 -07:00
Joost Jager
3ef68baf4a
routing: don't treat bad features as an unexpected error
...
Previous behavior led to the payment loop being abandoned immediately,
resulting in a payment stuck in state in_flight.
2020-05-27 12:15:53 +02:00
Oliver Gugger
75f916b026
log+config: remove global RootLogWriter variable
2020-05-27 09:43:59 +02:00
Oliver Gugger
70772ab99b
config+lnd+rpcserver: use log writer from cfg
2020-05-27 09:43:59 +02:00
Conner Fromknecht
152d153e7f
itest: increase mempool timeout
...
Neutrino can get slow towards the end of the itests.
2020-05-26 19:49:42 -07:00
Conner Fromknecht
5c4ab4b7cf
lntest: update error whitelist
2020-05-26 19:49:42 -07:00
Conner Fromknecht
cbf71b5452
channeldb+invoices: use payment addr as primary index
2020-05-26 18:55:27 -07:00
Conner Fromknecht
3522f09a08
channeldb+invoices: track invoices by InvoiceRef
2020-05-26 18:55:27 -07:00
Conner Fromknecht
2799202fd9
invoices/invoiceregistry: rename updateCtx to ctx
2020-05-26 18:55:27 -07:00
Conner Fromknecht
e80e21d1a8
channeldb/migration: add generic CreateTLB migration
...
This commit creates a generic migration for creating top-level buckets.
2020-05-26 18:55:27 -07:00
Conner Fromknecht
24cce7a6ec
channeldb: consolidate top-level bucket create/wipe
2020-05-26 18:55:27 -07:00
Conner Fromknecht
d343575104
channeldb/migtest: log migration failure instead of failing
...
This line was incorrectly moved when the migtest package was created for
migration 12. This PR introduces a negative test for CreateTLB which
surfaced this.
2020-05-26 18:55:22 -07:00
Conner Fromknecht
32b04b7ac3
Merge pull request #4228 from carlaKC/txdetails-labeltxrpc
...
walletrpc: add LabelTransaction endpoint to retrospectively label txns
2020-05-26 18:37:27 -07:00
Olaoluwa Osuntokun
d9044e5692
build: bump version to lnd v0.10.99-beta
...
In this commit, we bump the version to a `.99` minor version to reflect
the fact that master is ahead of _both_ `v0.10.0-beta`, and the upcoming
`v0.10.1-beta`.
2020-05-26 18:34:42 -07:00
Conner Fromknecht
d0f3f6166d
lntest/itest: add link error to whitelist
2020-05-26 18:21:08 -07:00