Commit Graph

6 Commits

Author SHA1 Message Date
Ștefan Talpalaru be476feeec
better error handling
- changed the logging level of some messages that should not appear by
  default in a debug build
- most errors in persistWorkItem() are gracefully recovered from
- fixed the handling of out of order blocks
- dropped work items with fewer blocks than what we requested
- getBestBlockNumber(): log and allow exceptions from getBlockHeaders()
- obtainBlocksFromPeer(): moved here the check for block numbers being
  in sequence (from nimbus/p2p/chain.nim)
- sendMsg(): log and catch exceptions in callers
2018-12-17 23:35:45 +01:00
Yuriy Glukhov e64ab468ae Blocks ordering 2018-10-02 14:40:08 +03:00
Zahary Karadjov badc616be8 Deal with the refactoring in status-im/nim-rlp#20 2018-09-26 17:21:49 +03:00
Yuriy Glukhov f89d2eee5f Specify debug enode through env var. Fail less often in discovery 2018-09-20 22:28:53 +03:00
cheatfate 24d762da34 Moved eth_p2p to asyncdispatch2.
Fix some warnings at rlpx.nim.
Commented debug echo in rlpx.nim.
2018-06-18 12:05:38 +03:00
Zahary Karadjov 812c6284c0 rename package to eth_p2p to make it consistent with our naming scheme 2018-06-16 21:58:41 +03:00