erigon-pulse/consensus
Mark Holt 5935b11b24
Devnet macos startup and windows committed memory startup fixes (#7832)
The fixes here fix a couple of issues related to devnet start-up

1. macos threading and syscall error return where causing multi node
start to both not wait and fail
2. On windows creating DB's with the default 2 TB mapsize causes the os
to reserve about 4GB of committed memory per DB. This may not be used -
but is reserved by the OS - so a default bor node reserves around 10GB
of storage. Starting many nodes causes the OS page file to become
exhausted.

To fix this the consensus DB's now use the node's OpenDatabase function
rather than their own, which means that the consensus DB's take notice
of the config.MdbxDBSizeLimit.

This fix leaves one 4GB committed memory allocation in the TX pool which
needs its own MapSize setting.

---------

Co-authored-by: Alex Sharp <akhounov@gmail.com>
2023-07-02 22:37:23 +01:00
..
aura Block Gas limit contract integration for Chiado (#7727) 2023-06-19 22:06:51 +05:30
bor Revert "Remove excessive logging in bor (#7690)" (#7777) 2023-06-21 14:16:21 +01:00
clique e3: release chain maker changes (#7787) 2023-06-23 10:07:42 +07:00
ethash Block Gas limit contract integration for Chiado (#7727) 2023-06-19 22:06:51 +05:30
merge EIP-4844: Handle data gas in txpool (#7779) 2023-06-23 11:10:23 +02:00
misc EIP-4844: Handle data gas in txpool (#7779) 2023-06-23 11:10:23 +02:00
chain_reader.go use BlockReader.CanonicalHash method instead of rawdb (#7604) 2023-05-31 13:41:10 +07:00
consensus.go Block Gas limit contract integration for Chiado (#7727) 2023-06-19 22:06:51 +05:30
errors.go Withdrawals part 1 (#6009) 2022-12-01 09:15:01 +01:00
result.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00