lnd/lntest
Olaoluwa Osuntokun 67e18e6089
rpc: optimize DescribeGraph by caching the response
Unfortunately, we can't use the graph cache directly here as it doesn't
include all the information we need, since it only includes the minimal
amount of information needed for path finding.

Instead, we use a simple mutex guarded cache that evicts itself after a
certain interval. The default is set small enough that most users
shouldn't really notice. We also provide a way to disable the cache, and
also disable the cache in the itests.

Fixes https://github.com/lightningnetwork/lnd/issues/1232
2021-11-04 15:30:31 -07:00
..
channels lntest/channels: introduce subpackage to deduplicate static structs 2021-01-25 14:04:39 -05:00
itest itest: wait for channel to be properly closed 2021-11-02 20:36:27 +01:00
mock multi: forward SendCoins call over RPC 2021-10-14 15:42:52 +02:00
wait itest: remove extra graph topology subscription 2021-09-17 07:50:42 +08:00
bitcoind_common.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
bitcoind_notxindex.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
bitcoind.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
btcd.go mod+lntest: disable stall handler in btcd mining node 2021-10-05 20:48:47 +02:00
doc.go lntest: Add doc.go with package documentation. 2017-12-14 20:06:23 -08:00
fee_service_test.go chainfee: change min conf target to be 1 2021-06-29 20:25:46 +08:00
fee_service.go lntest: avoid global ServeMux 2021-08-27 11:30:01 +02:00
harness.go lntest: count unconfirmed balance as well 2021-11-02 20:36:45 +01:00
neutrino.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
node.go rpc: optimize DescribeGraph by caching the response 2021-11-04 15:30:31 -07:00
timeouts_darwin.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
timeouts_remote_db.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00
timeouts.go multi: add golang 1.17 compatible build tags 2021-09-29 17:31:37 -07:00