Forked from
github / maticnetwork / bor
3497 commits behind the upstream repository.
-
Felix Lange authored
* 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
2695fa22
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
server.go 10.27 KiB