go-ethereum/node
rjl493456442 10519768a2
core, ethdb: introduce database sync function (#31703)
This pull request introduces a SyncKeyValue function to the
ethdb.KeyValueStore
interface, providing the ability to forcibly flush all previous writes
to disk.

This functionality is critical for go-ethereum, which internally uses
two independent
database engines: a key-value store (such as Pebble, LevelDB, or
memoryDB for
testing) and a flat-file–based freezer. To ensure write-order
consistency between
these engines, the key-value store must be explicitly synced before
writing to the
freezer and vice versa.

Fixes 
- https://github.com/ethereum/go-ethereum/issues/31405
- https://github.com/ethereum/go-ethereum/issues/29819
2025-05-08 19:10:26 +08:00
..
api.go
api_test.go
config.go cmd/geth: remove unlock commandline flag (#30737) 2024-11-15 10:15:15 +01:00
config_test.go build: replace tenv linter with usetesting (#31172) 2025-02-21 13:36:18 +01:00
database.go core, ethdb: introduce database sync function (#31703) 2025-05-08 19:10:26 +08:00
defaults.go
doc.go
endpoints.go
errors.go
jwt_auth.go
jwt_handler.go
lifecycle.go
node.go cmd/geth: remove unlock commandline flag (#30737) 2024-11-15 10:15:15 +01:00
node_auth_test.go
node_example_test.go
node_test.go
rpcstack.go
rpcstack_test.go node: avoid double close resp.Body (#31710) 2025-05-02 09:21:17 -06:00
utils_test.go