- update blockpool td by subscribing to ChainHeadEvent - if ahead of best peer, demote it - addPeer now take own td as current td - removePeer now take own td as current td - add relevant tests to peers_test - eth: backend now calls blockpool with eth.eventMux and chainManager.Td |
||
|---|---|---|
| .. | ||
| test | ||
| blockpool_test.go | ||
| blockpool_util_test.go | ||
| blockpool.go | ||
| config_test.go | ||
| errors_test.go | ||
| peers_test.go | ||
| peers.go | ||
| section.go | ||
| status_test.go | ||
| status.go | ||