1
0
forked from cerc-io/plugeth
plugeth/ethdb
rjl493456442 0b1f97e151
core/rawdb: support freezer batch read with no size limit ()
This change adds the ability to perform reads from freezer without size limitation. This can be useful in cases where callers are certain that out-of-memory will not happen (e.g. reading only a few elements). 

The previous API was designed to behave both optimally and secure while servicing a request from a peer, whereas this change should _not_ be used when an untrusted peer can influence the query size.
2023-07-12 03:19:01 -04:00
..
dbtest ethdb/dbtest: use slices package for sorting () 2023-06-19 07:48:47 +02:00
leveldb ethdb/leveldb: update leveldb metrics collection () 2023-07-06 00:04:07 +02:00
memorydb ethdb/pebble: prevent shutdown-panic () 2023-05-19 08:36:21 -04:00
pebble ethdb/pebble: use sync mode for pebble writes () 2023-06-27 03:19:02 -04:00
remotedb cmd/geth, cmd/utils: geth attach with custom headers () 2022-09-30 13:50:25 +02:00
batch.go core, ethdb, tests, trie: implement NewBatchWithSize API for batcher () 2022-02-15 15:15:13 +02:00
database.go core/rawdb: support freezer batch read with no size limit () 2023-07-12 03:19:01 -04:00
iterator.go all: simplify and fix database iteration with prefix/start () 2020-04-15 14:08:53 +03:00
snapshot.go all: update license headers and AUTHORS from git history () 2022-05-24 20:39:40 +02:00