Oliver Gugger
264b3b00cd
github: add schedule for daily build
2022-01-18 12:46:27 +01:00
Oliver Gugger
3ff849d15b
Merge pull request #6167 from madskrogh/pendingchannels-private-status
...
lnrpc: add Private field to PendingChannelsResponse
2022-01-18 10:48:00 +01:00
mads krogh
429ee6e28e
docs/release-notes: add entry for private status in pendingchannels response
2022-01-18 09:42:14 +01:00
mads krogh
1e3c05399c
lnd+lnrpc: add private status to pendingchannels response
2022-01-18 09:42:14 +01:00
mads krogh
42cebcfe2b
lnd: remove unused graph param from createRPCOpenChannel
2022-01-18 09:42:05 +01:00
Oliver Gugger
f84825e441
Merge pull request #6152 from madskrogh/closechannel-with-point
...
lncli: closechannel chan_point flag
2022-01-17 10:29:46 +01:00
Joost Jager
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
Joost Jager
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
Joost Jager
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
Olaoluwa Osuntokun
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
Olaoluwa Osuntokun
135f8a1455
docs/release-notes: add entry for peer defer fix
2022-01-13 15:01:23 -08:00
Olaoluwa Osuntokun
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
Olaoluwa Osuntokun
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
mads krogh
95a6e3b8e4
docs/release-notes: add entry for chan_point closechannel flag
2022-01-13 14:39:05 +01:00
mads krogh
3821bd2202
lncli: add test for parseChanPoint
2022-01-13 14:35:04 +01:00
mads krogh
807bc0628c
lncli: add chan_point flag to closechannel command
2022-01-13 14:35:00 +01:00
Joost Jager
54324d554a
channeldb: extract deserializeChanEdgePolicyRaw
...
Allows for pure deserialization without depending on a database connection.
2022-01-12 19:11:56 +01:00
Joost Jager
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
Joost Jager
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
Joost Jager
102a1cbaaa
routing: remove unused ForEachChannel
2022-01-12 13:38:58 +01:00
Joost Jager
99566b768e
kvdb/postgres: use readonly db transaction if possible
2022-01-12 13:38:56 +01:00
Oliver Gugger
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
Oliver Gugger
2560e2c69f
Merge pull request #6142 from sangaman/externalhosts-desc
...
docs: clarify --externalhosts usage
2022-01-12 11:57:16 +01:00
Carsten Otto
7ff3121032
contractcourt: use "info" log level for messages leading to force-closes [skip ci]
2022-01-11 20:18:19 +01:00
Oliver Gugger
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
Oliver Gugger
1795c1f686
docs: add release notes
2022-01-11 14:08:20 +01:00
asvdf
7c9bd93196
docs: update postgres docs with sample configuration
2022-01-11 14:08:20 +01:00
mateuszmp
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
3nprob
258c1987e8
docs: Fix broken link to lnd_test.go
2022-01-11 14:08:19 +01:00
randymcmillan
df8333cad7
docs/recovery.md: grammar adjust - add link
2022-01-11 14:08:19 +01:00
Rong Ou
a2d9814206
docs: fix typo
2022-01-11 14:08:19 +01:00
Thebora Kompanioni
9ba341bd95
docs: remove PIDFile from example systemd service
2022-01-11 14:08:18 +01:00
Naveen
4de2ec1264
docs: sign your git commits [skip-ci]
...
https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2014-May/005877.html
2022-01-11 14:08:18 +01:00
naveen
87a0e52464
multi: Removed deprecated interfacer linter
...
Removed the deprecated interfacer linter from being called for linting.
Also removed the `nolint:interfacer` within the code.
https://github.com/lightningnetwork/lnd/issues/5741
2022-01-11 14:08:18 +01:00
naveen
545e84f4ce
multi: formatting changes
2022-01-11 14:08:17 +01:00
MrManPew
0f167fd03e
config: better error message if config file doesn't exist
2022-01-11 14:08:17 +01:00
henta
f553462bf4
docs: Update grpc/java.md
2022-01-11 14:01:09 +01:00
Dan Bolser
fc2bab4006
docs: update lnd versions in DOCKER.md
2022-01-11 14:01:08 +01:00
Oliver Gugger
617be6f994
Merge pull request #6140 from bottlepay/fix-duplicate-close
...
htlcswitch: fix duplicate close
kvdb/v1.2.5
2022-01-11 11:08:30 +01:00
Oliver Gugger
f788f9286e
Merge pull request #6088 from arshbot/export-backend-credentials
...
Export backend credentials
2022-01-11 11:02:37 +01:00
Harsha Goli
baf6977948
Revert "lntest: export attributes of type BitcoindBackendConfig"
...
[skip ci]
This reverts commit eccf20c5b2
.
2022-01-10 14:49:29 -05:00
Harsha Goli
69ae56ad5c
lntest: surface bitcoin backend rpc credentials
...
[skip ci]
2022-01-10 14:49:10 -05:00
Joost Jager
7cd7cef6c6
htlcswitch: fix duplicate close
...
The decayed log database opening and closing is managed at a higher
level in config_builder.go.
2022-01-10 08:42:32 +01:00
Olaoluwa Osuntokun
fd63301dc5
Merge pull request #6006 from guggero/remote-signer-no-chain
...
Allow remote signer to run without chain backend
2022-01-07 17:37:16 -08:00
Olaoluwa Osuntokun
8b00e3c0ce
Merge pull request #6139 from guggero/itest-refactor
...
itest: refactor for re-use in LiT
2022-01-07 17:16:59 -08:00
yyforyongyu
18388b676d
docs: add release note for closing txid
2022-01-07 18:21:05 +08:00
yyforyongyu
99378b22c3
rpcserver: add closing txid in WaitingCloseChannel
2022-01-07 18:21:02 +08:00
yyforyongyu
3c1c640612
rpcserver: split PendingChannels into three sections
...
This commit refactors the method PendingChannels for maintenance
purpose.
2022-01-07 16:38:51 +08:00
Daniel McNally
b5f50c2522
docs: clarify --externalhosts usage
...
This clarifies the usage of the `externalhosts` option and brings its
documentation in line with similar options such as `externalip`.
Related issue: #6141
[skip ci]
2022-01-06 10:41:07 -05:00
Oliver Gugger
5282c9acf9
docs: update remote signing doc and release notes
2022-01-06 14:35:26 +01:00