State Archival Settings Xdr
data class StateArchivalSettingsXdr(val maxEntryTtl: Uint32Xdr, val minTemporaryTtl: Uint32Xdr, val minPersistentTtl: Uint32Xdr, val persistentRentRateDenominator: Int64Xdr, val tempRentRateDenominator: Int64Xdr, val maxEntriesToArchive: Uint32Xdr, val liveSorobanStateSizeWindowSampleSize: Uint32Xdr, val liveSorobanStateSizeWindowSamplePeriod: Uint32Xdr, val evictionScanSize: Uint32Xdr, val startingEvictionScanLevel: Uint32Xdr)
XDR Source: struct StateArchivalSettings { uint32 maxEntryTTL; uint32 minTemporaryTTL; uint32 minPersistentTTL;
// rent_fee = wfee_rate_average / rent_rate_denominator_for_type
int64 persistentRentRateDenominator;
int64 tempRentRateDenominator;
// max number of entries that emit archival meta in a single ledger
uint32 maxEntriesToArchive;
// Number of snapshots to use when calculating average live Soroban State size
uint32 liveSorobanStateSizeWindowSampleSize;
// How often to sample the live Soroban State size for the average, in ledgers
uint32 liveSorobanStateSizeWindowSamplePeriod;
// Maximum number of bytes that we scan for eviction per ledger
uint32 evictionScanSize;
// Lowest BucketList level to be scanned to evict entries
uint32 startingEvictionScanLevel;Content copied to clipboard
};
Constructors
Link copied to clipboard
constructor(maxEntryTtl: Uint32Xdr, minTemporaryTtl: Uint32Xdr, minPersistentTtl: Uint32Xdr, persistentRentRateDenominator: Int64Xdr, tempRentRateDenominator: Int64Xdr, maxEntriesToArchive: Uint32Xdr, liveSorobanStateSizeWindowSampleSize: Uint32Xdr, liveSorobanStateSizeWindowSamplePeriod: Uint32Xdr, evictionScanSize: Uint32Xdr, startingEvictionScanLevel: Uint32Xdr)
Properties
Link copied to clipboard
Maximum number of bytes that we scan for eviction per ledger
Link copied to clipboard
How often to sample the live Soroban State size for the average, in ledgers
Link copied to clipboard
Number of snapshots to use when calculating average live Soroban State size
Link copied to clipboard
max number of entries that emit archival meta in a single ledger
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
rent_fee = wfee_rate_average / rent_rate_denominator_for_type
Link copied to clipboard
Lowest BucketList level to be scanned to evict entries
Link copied to clipboard