Commit Graph

12762 Commits

Author SHA1 Message Date
f50950640f Merge pull request #6188 from yyforyongyu/timeout-7z
github: add timeout when zipping log files
2022-01-21 12:28:21 +01:00
b2f3cabc23 github: add timeout when zipping log files 2022-01-21 12:36:54 +08:00
d67e6d5414 Merge pull request #6111 from bottlepay/cache-loading
kvdb+channeldb: speed up graph cache
kvdb/v1.3.0
2022-01-20 17:35:04 -08:00
408e40fd64 Merge pull request #6180 from bhandras/force-import-mc
routing: add option to force Mission Control pair history import
2022-01-20 17:04:00 -08:00
2e42476f29 Merge pull request #6151 from C-Otto/force-close-logging
contractcourt: use "info" log level for messages leading to force-clo…
2022-01-20 16:59:26 -08:00
717c7c59a0 Merge pull request #6183 from guggero/github-daily-docker-build
GitHub: fix daily docker build
2022-01-20 21:17:57 +01:00
2dff5ba216 docs: update release notes 0.14.2 2022-01-20 18:20:44 +01:00
6680d27d6f Merge pull request #6184 from carlaKC/healthcheck-nochainbackend
server: disable chain health check if we're running without backend
2022-01-20 15:18:24 +01:00
7241653561 docs: add release notes 2022-01-20 14:31:47 +02:00
0ae38457de server: disable chain health check if we're running without backend
There is no chain backend to check, so this check will always fail.
This commit disables it when we're running without a backend.
2022-01-20 14:21:36 +02:00
5ead5ec4b6 GitHub: fix daily docker build 2022-01-20 10:27:42 +01:00
ddaba02558 Merge pull request #6178 from BTCparadigm/GitIgnore
Ignore .vs/ folder
2022-01-20 09:34:20 +01:00
ec046aec1b lncli: add force flag to 2022-01-19 17:18:06 +01:00
23c157a07b routing: add option to force import MC pair history
This commit adds the `force` flag to the `XImportMissionControl` RPC
which allows skipping rules around the pair import except for what is
mandatory to make values meaningful. This can be useful for when clients
would like to forcibly override MC state in order to manipulate routing
results.
2022-01-19 17:18:05 +01:00
a88a3c1b6d Update release-notes-0.15.0.md
Add .gitignore update.
Add myself as contributor.
2022-01-19 13:01:56 +02:00
3829385073 Merge pull request #6159 from Roasbeef/fix-historical-migration
contractcourt: catch error when no historical bucket exists
2022-01-18 15:52:23 -08:00
0090230792 Ignore .vs/ folder 2022-01-19 00:34:52 +02:00
957a0a5138 docs/release-notes: add entry for historical chan bucket check 2022-01-18 09:11:21 -08:00
91f32ad270 contractcourt: catch error when no historical bucket exists
For older nodes, this bucket was never created, so we'll get an error if
we try and query it. In this commit, we catch this error like we do when
a given channel doesn't have the information (but the bucket actually
exists).

Fixes #6155
2022-01-18 09:11:13 -08:00
431ef6c4c3 Merge pull request #6160 from guggero/docker-nightly-build
github: add schedule for nightly docker build
2022-01-18 13:11:14 +01:00
264b3b00cd github: add schedule for daily build 2022-01-18 12:46:27 +01:00
3ff849d15b Merge pull request #6167 from madskrogh/pendingchannels-private-status
lnrpc: add Private field to PendingChannelsResponse
2022-01-18 10:48:00 +01:00
429ee6e28e docs/release-notes: add entry for private status in pendingchannels response 2022-01-18 09:42:14 +01:00
1e3c05399c lnd+lnrpc: add private status to pendingchannels response 2022-01-18 09:42:14 +01:00
42cebcfe2b lnd: remove unused graph param from createRPCOpenChannel 2022-01-18 09:42:05 +01:00
f84825e441 Merge pull request #6152 from madskrogh/closechannel-with-point
lncli: closechannel chan_point flag
2022-01-17 10:29:46 +01:00
352008a0c2 channeldb: speed up graph cache loading
Use the optimized ForEachChannel method to reduce the graph cache
loading time.
2022-01-14 14:57:29 +01:00
2e2229a2e7 channeldb: reallocate node in ForEachNodeCacheable
Allows cacheableNode to be used outside of the callback. This is a
preparation for optimization of the graph cache population.
2022-01-14 14:57:27 +01:00
cb4703638f channeldb: optimize ForEachChannel
In this commit, we modify the implementation of ForEachChannel to
utilize the new kvdb method ForAll. This greatly reduces the number of
round-trips to the database needed to iterate over all channels
in the graph.
2022-01-14 14:57:25 +01:00
2682ca3e22 Merge pull request #6144 from Roasbeef/peer-block-epoch-defer
peer: always defer clean up of the block epoch client used for ping headers
2022-01-13 15:01:59 -08:00
135f8a1455 docs/release-notes: add entry for peer defer fix 2022-01-13 15:01:23 -08:00
3481286ea0 lnwire+peer: clamp pong bytes, make ping handler more effcieint
This was not properly enforced and would be a spec violation on the
peer's end. Also re-use a pong buffer to save on heap allocations if
there are a lot of peers. The pong buffer is only read from, so this
is concurrent safe.
2022-01-13 15:01:18 -08:00
ae16f2b631 peer: always defer clean up of the block epoch client used for ping headers
In this commit, we fix an inadvertent memory leak by ensuring we always
use `defer` to clean up the allocated objects/memory we use to be
notified of new blocks to update what we send within the set of ping
headers.

A further optimization here would be using a single global block epoch
housed within the server, that all peer `pingHandler` goroutines use
directly.

Fixes #6143.
2022-01-13 15:01:13 -08:00
95a6e3b8e4 docs/release-notes: add entry for chan_point closechannel flag 2022-01-13 14:39:05 +01:00
3821bd2202 lncli: add test for parseChanPoint 2022-01-13 14:35:04 +01:00
807bc0628c lncli: add chan_point flag to closechannel command 2022-01-13 14:35:00 +01:00
54324d554a channeldb: extract deserializeChanEdgePolicyRaw
Allows for pure deserialization without depending on a database connection.
2022-01-12 19:11:56 +01:00
aff9685a61 channeldb: extract AddNodeFeatures
Preparation for efficient graph cache loading where we don't iterate
over the channels of each node in the network individually.
2022-01-12 19:11:54 +01:00
b8408a1484 kvdb: add ForAll
A new method to allow efficient range queries for backends that support
it.
2022-01-12 19:11:53 +01:00
102a1cbaaa routing: remove unused ForEachChannel 2022-01-12 13:38:58 +01:00
99566b768e kvdb/postgres: use readonly db transaction if possible 2022-01-12 13:38:56 +01:00
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
2560e2c69f Merge pull request #6142 from sangaman/externalhosts-desc
docs: clarify --externalhosts usage
2022-01-12 11:57:16 +01:00
7ff3121032 contractcourt: use "info" log level for messages leading to force-closes [skip ci] 2022-01-11 20:18:19 +01:00
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
1795c1f686 docs: add release notes 2022-01-11 14:08:20 +01:00
7c9bd93196 docs: update postgres docs with sample configuration 2022-01-11 14:08:20 +01:00
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
258c1987e8 docs: Fix broken link to lnd_test.go 2022-01-11 14:08:19 +01:00
df8333cad7 docs/recovery.md: grammar adjust - add link 2022-01-11 14:08:19 +01:00