nimbus-eth1/nimbus/p2p/clique
Jordan Hrycaj 1eb79c34c6 Fixing Win64/CI unit test segfault
why:
  Previously, the function 'snapshot_desc.loadSnapshot()' contained the
  equivalent of 'eth.decode(@[],SnapshotData)' for some type 'SnapshotData'
  which should result in an exception of type 'RlpTypeMismatch'.

  Before mid October, this worked for all systems on the Github CI. Since
  then, a segfault message in the Github CI can be reproduced on all 64bit
  Windows wuns when running 'build/all_tests <id-of-test_txpool>' after the
  failed 'make test' directive (the latter one needs to be extended by
  '|| true'.)  This error cannot be reproduced on my local Win7/64 system
  with the same MSYS2 and gcc 11.2.0 compiler.

  The fix is, rather than catching an exception, to explicitly check the
  first argument of 'eth.decode(@[],SnapshotData)' and act if it is empty.

also:
  removed some obsolete {.inline.} annotations.
2022-01-22 08:26:57 +02:00
..
snapshot Fixing Win64/CI unit test segfault 2022-01-22 08:26:57 +02:00
clique_cfg.nim update ec_recover 2022-01-22 08:26:57 +02:00
clique_defs.nim #768 Moved/re-implemented ecRecover() from Clique sources to utils/ec_recover 2021-08-05 12:27:10 +07:00
clique_desc.nim implement simple PoA sealing engine 2021-08-24 14:49:13 +07:00
clique_genvote.nim Jordan/poa voting header (#782) 2021-08-03 08:15:32 +01:00
clique_helpers.nim Jordan/poa voting header (#782) 2021-08-03 08:15:32 +01:00
clique_sealer.nim fixes comments in clique.seal func 2021-08-24 16:14:17 +07:00
clique_snapshot.nim Fixing Win64/CI unit test segfault 2022-01-22 08:26:57 +02:00
clique_verify.nim Rename `ZERO_HASH32` to `ZERO_HASH256` to match `Hash256` type 2021-08-05 10:21:11 +01:00