aboutsummaryrefslogtreecommitdiffstats
path: root/metrics/metrics_test.go
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2018-08-17 18:21:53 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-08-17 18:21:53 +0800
commit2695fa2213fe5010a80970bca1078834662d5972 (patch)
treec6bda44cc6c86c378f6717b3d896ac339360e9d3 /metrics/metrics_test.go
parentf44046a1c6889049dbf0f9448075a43f5b280b09 (diff)
downloaddexon-2695fa2213fe5010a80970bca1078834662d5972.tar
dexon-2695fa2213fe5010a80970bca1078834662d5972.tar.gz
dexon-2695fa2213fe5010a80970bca1078834662d5972.tar.bz2
dexon-2695fa2213fe5010a80970bca1078834662d5972.tar.lz
dexon-2695fa2213fe5010a80970bca1078834662d5972.tar.xz
dexon-2695fa2213fe5010a80970bca1078834662d5972.tar.zst
dexon-2695fa2213fe5010a80970bca1078834662d5972.zip
les: fix crasher in NodeInfo when running as server (#17419)
* les: fix crasher in NodeInfo when running as server The ProtocolManager computes CHT and Bloom trie roots by asking the indexers for their current head. It tried to get the indexers from LesOdr, but no LesOdr instance is created in server mode. Attempt to fix this by moving the indexers, protocol creation and NodeInfo to a new lesCommons struct which is embedded into both server and client. All this setup code should really be cleaned up, but this is just a hotfix so we have to do that some other time. * les: fix commons protocol maker
Diffstat (limited to 'metrics/metrics_test.go')
0 files changed, 0 insertions, 0 deletions