• 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
database.go 6.89 KB