Skip to main content

AddressLookupResolver

Type Alias AddressLookupResolver 

Source
pub type AddressLookupResolver = dyn Fn(&VersionedTransaction, u64) -> AnyResult<LoadedAddresses> + Send + Sync;
Expand description

Synchronous ALT lookup from a prewarmed, slot-aware local cache. Called on the receive task; never perform RPC or blocking I/O here. Address identity and table activation at the requested slot are the caller’s responsibility.