nimbus-eth1/nimbus/sync
Jordan Hrycaj 143f2e99f5
Core db+aristo fixes and tx handling updates (#2164)
* Aristo: Rename journal related sources and functions

why:
  Previously, the naming was hinged on the phrases `fifo`, `filter` etc.
  which reflect the inner workings of cascaded filters. This was
  unfortunate for reading/understanding the source code for actions where
  the focus is the journal as a whole.

* Aristo: Fix buffer overflow (path length truncating error)

* Aristo: Tighten `hikeUp()` stop check, update error code

why:
  Detect dangling vertex links. These are legit with `snap` sync
  processing but not with regular processing.

* Aristo: Raise assert in regular mode `merge()` at a dangling link/edge

why:
  With `snap` sync processing, partial trees are ok and can be amended.
  Not so in regular mode.

  Previously there was only a debug message when a non-legit dangling edge
  was encountered.

* Aristo: Make sure that vertices are copied before modification

why:
  Otherwise vertices from lower layers might also be modified

* Aristo: Fix relaxed mode for validity checker `check()`

* Remove cruft

* Aristo: Update API for transaction handling

details:
+ Split `aristo_tx.nim` into sub-modules
+ Split `forkWith()` into `findTx()` + `forkTx()`
+ Removed `forkTop()`, `forkBase()` (now superseded by new `forkTx()`)

* CoreDb+Aristo: Fix initialiser (missing methods)
2024-05-03 17:38:17 +00:00
..
beacon Add style check to config.nims and fix styles in source code (#2038) 2024-02-20 10:07:38 +07:00
full Core db+aristo fixes and tx handling updates (#2164) 2024-05-03 17:38:17 +00:00
handlers Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
misc Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
protocol Providing eth68 stubs while setting eth67 as default (#2129) 2024-04-12 11:21:17 +00:00
snap Misc updates for full sync (#2140) 2024-04-19 18:37:27 +00:00
beacon.nim Working prototype of beacon downloader (#1780) 2023-09-28 13:20:12 +07:00
full.nim
handlers.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
legacy.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
peers.nim
protocol.nim Providing eth68 stubs while setting eth67 as default (#2129) 2024-04-12 11:21:17 +00:00
snap.nim Fix 'trustedSetupFile' is not accessible for type NimbusConf.cmd == import (#2008) 2024-02-04 22:45:54 +07:00
stateless.nim
sync_desc.nim
sync_sched.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
types.nim