ae7335ce3b
lnwallet: expose output leases on WalletController interface
2020-06-03 18:49:39 -07:00
94629b6c73
build: update btcwallet version to expose output leases
2020-06-03 18:31:53 -07:00
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
96dc30ae70
fundingmanager: log raw transaction on braodcast
2020-06-03 14:57:13 -07:00
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
3e5e60cac4
lnd+kvdb: pass LND abort context to etcd
2020-06-03 17:44:44 +02:00
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
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
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
cd04dd79b6
Merge pull request #4339 from bhandras/etcd_bump
...
build: bump etcd to v3.3.22
2020-06-02 18:31:17 -07:00
1dd43f3669
test: add error to itest whitelist
2020-06-02 15:40:20 +02:00
2a591ee2f1
build: bump etcd to v3.3.22
2020-06-02 15:40:20 +02:00
9f32942a90
Merge pull request #4334 from joostjager/hold-keysend-part1
...
invoices: add explicit hodl invoice flag
2020-06-02 10:59:47 +02:00
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
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
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
c5e62ba9b3
Merge pull request #4332 from cfromknecht/dry-run-migration-logs
...
channeldb: dry run migration logs
2020-05-28 15:39:55 -07:00
6b3c2c1ac5
Merge pull request #4335 from joostjager/queryroutes-limit
...
rpcserver+routerrpc: remove payment limit
2020-05-28 15:39:15 -07:00
703e8acb36
Merge pull request #4326 from bhandras/testclock_improvement
...
clock: add module support
clock/v1.0.0
clock/v1.0.1
2020-05-28 19:47:28 +02:00
df7a05da84
rpcserver+routerrpc: remove payment limit
2020-05-28 19:34:17 +02:00
1ae27b4f44
itest: add errors to the whitelist
2020-05-28 13:32:51 +02:00
fc87e8358e
clock: add go.mod
2020-05-28 10:37:04 +02:00
5e09a5287a
lnd: use Infof to format errors on channeldb open
2020-05-27 22:42:46 -07:00
66652ec4bc
channeldb/db: lower-case ErrDryRunMigrationOk message
2020-05-27 22:42:22 -07:00
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
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
3faf8bad3f
Merge pull request #4320 from guggero/refactor-log-writer
...
config+log: remove global RootLogWriter variable
2020-05-27 19:25:32 -07:00
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
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
d2d8793afd
Merge pull request #4298 from cfromknecht/sub-inv-fixes
...
channeldb+invoices: minor invoice subscription fixes
2020-05-27 15:56:47 -07:00
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
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
75f916b026
log+config: remove global RootLogWriter variable
2020-05-27 09:43:59 +02:00
70772ab99b
config+lnd+rpcserver: use log writer from cfg
2020-05-27 09:43:59 +02:00
152d153e7f
itest: increase mempool timeout
...
Neutrino can get slow towards the end of the itests.
2020-05-26 19:49:42 -07:00
5c4ab4b7cf
lntest: update error whitelist
2020-05-26 19:49:42 -07:00
cbf71b5452
channeldb+invoices: use payment addr as primary index
2020-05-26 18:55:27 -07:00
3522f09a08
channeldb+invoices: track invoices by InvoiceRef
2020-05-26 18:55:27 -07:00
2799202fd9
invoices/invoiceregistry: rename updateCtx to ctx
2020-05-26 18:55:27 -07:00
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
24cce7a6ec
channeldb: consolidate top-level bucket create/wipe
2020-05-26 18:55:27 -07:00
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
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
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
d0f3f6166d
lntest/itest: add link error to whitelist
2020-05-26 18:21:08 -07:00
ef9068319b
multi: rename ReadCursor to RCursor
2020-05-26 18:21:08 -07:00
455ddfebdb
multi: rename: ReadBucket to RBucket
2020-05-26 18:21:08 -07:00
d0d2ca403d
multi: rename ReadTx to RTx
2020-05-26 18:20:37 -07:00
03e6a18212
Merge pull request #4317 from bhandras/testclock_improvement
...
clock: optionally wait until tickers are registered in TestClock
2020-05-26 18:02:25 -07:00
797d0f9368
Merge pull request #4316 from gcomte/master
...
lncli: Fix typos in closechannel help dialog
2020-05-26 18:01:12 -07:00