lnrpc+autopilot: add graph diameter calculation

* adds a brute force computation of the diameter
* adds a more efficient calculation of the diameter
This commit is contained in:
bitromortac
2021-12-22 11:03:03 +01:00
parent 4d9a05c2f4
commit 52d56a8990
4 changed files with 273 additions and 2 deletions

View File

@@ -75,6 +75,8 @@
`remote_balance`](https://github.com/lightningnetwork/lnd/pull/5931) in
`pending_force_closing_channels` under `pendingchannels` whereas before was
empty(zero).
* The graph's [diameter is calculated](https://github.com/lightningnetwork/lnd/pull/6066)
and added to the `getnetworkinfo` output.
* [Add dev only RPC subserver and the devrpc.ImportGraph
call](https://github.com/lightningnetwork/lnd/pull/6149)
@@ -131,6 +133,7 @@ gRPC performance metrics (latency to process `GetInfo`, etc)](https://github.com
* 3nprob
* Andreas Schjønhaug
* asvdf
* bitromortac
* BTCparadigm
* Carla Kirk-Cohen
* Carsten Otto
@@ -151,4 +154,4 @@ gRPC performance metrics (latency to process `GetInfo`, etc)](https://github.com
* Thebora Kompanioni
* Torkel Rogstad
* Vsevolod Kaganovych
* Yong Yu
* Yong Yu