solana_runtime

Module rent_collector

Source
Expand description

Bank’s wrapper around RentCollector to allow for overriding of some SVMRentCollector trait methods, which are otherwise implemented on RentCollector directly.

Agave requires submission of logs and metrics during account rent state assessment, which is not included in the RentCollector implementation of the SVMRentCollector trait. This wrapper allows all SVMRentCollector methods to be passed through to the underlying RentCollector, except for those which require additional logging and metrics.

Structs§

  • Wrapper around RentCollector to allow for overriding of some SVMRentCollector trait methods, which are otherwise implemented on RentCollector directly.