HomeSource World

core: mirror full node reorg logic in light client too (#20931)

Authored by icodezjb <icodezjb@163.com> on Apr 22 2020, 8:27 AM.

Description

core: mirror full node reorg logic in light client too (#20931)

  • core: fix the condition of reorg
  • core: fix nitpick to only retrieve head once
  • core: don't reorg if received chain is longer at same diff

Co-authored-by: Péter Szilágyi <peterke@gmail.com>

Details

Event Timeline

GitHub <noreply@github.com> committed rGETH2ec723219102: core: mirror full node reorg logic in light client too (#20931) (authored by icodezjb <icodezjb@163.com>).Apr 22 2020, 8:27 AM