• rjl493456442's avatar
    core/rawdb: support freezer batch read with no size limit (#27687) · 0b1f97e1
    rjl493456442 authored
    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. 
    0b1f97e1
Name
Last commit
Last update
..
dbtest Loading commit data...
leveldb Loading commit data...
memorydb Loading commit data...
pebble Loading commit data...
remotedb Loading commit data...
batch.go Loading commit data...
database.go Loading commit data...
iterator.go Loading commit data...
snapshot.go Loading commit data...