nimbus-eth1/nimbus/db/aristo/aristo_part
Jacek Sieka 2fe8cc4551
leaf cache fixes (#2637)
* Add missing leaf cache update when a leaf turns to a branch with two
leaves (on merge) and vice versa (on delete) - this could lead to stale
leaves being returned from the cache causing validation failures - it
didn't happen because the leaf caches were not being used efficiently :)
* Replace `seq` with `ArrayBuf` in `Hike` allowing it to become
allocation-free - this PR also works around an inefficiency in nim in
returning large types via a `var` parameter
* Use the leaf cache instead of `getVtxRc` to fetch recent leaves - this
makes the vertex cache more efficient at caching branches because fewer
leaf requests pass through it.
2024-09-19 10:39:06 +02:00
..
part_chain_rlp.nim simplify VertexRef (#2626) 2024-09-13 18:55:17 +02:00
part_ctx.nim leaf cache fixes (#2637) 2024-09-19 10:39:06 +02:00
part_debug.nim simplify VertexRef (#2626) 2024-09-13 18:55:17 +02:00
part_desc.nim Added portal proof nodes generation functionality (#2539) 2024-08-06 11:29:26 +00:00
part_helpers.nim simplify VertexRef (#2626) 2024-09-13 18:55:17 +02:00