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 Code reorg 4 snap sync suite (#1560) 2023-04-24 21:24:07 +01:00
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 Slightly change the static peer manager lookup behaviour (#1484) 2023-03-06 09:22:07 +00:00
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 bump submodules 2023-06-07 18:12:02 +07:00
sync_desc.nim Unified database frontend integration (#1670) 2023-08-04 12:10:09 +01:00
sync_sched.nim Reduce compiler warnings (#2030) 2024-02-16 16:08:07 +07:00
types.nim Bump nim-eth and remove unneeded Defect raises (#1575) 2023-05-10 18:04:35 +02:00