• Z
    blockpool stability fixes: · 3d57e377
    zelig 提交于
    - follow up locks and fix them
    - chainManager: call SetQueued for parentErr future blocks, uncomment TD checks, unskip test
    - make ErrIncorrectTD non-fatal to be forgiving to genuine mistaken nodes (temp) but demote them to guard against stuck best peers.
    - add purging to bounded nodeCache (config nodeCacheSize)
    - use nodeCache when creating blockpool entries and let non-best peers add blocks (performance boost)
    - minor error in addError
    - reduce idleBestPeerTimeout to 1 minute
    - correct status counts and unskip status passing status test
    - glogified logging
    3d57e377
blockpool.go 28.1 KB