StateArchivalSettings class
- Inheritance
-
- Object
- XDRSerialization
- StateArchivalSettings
Constructors
- StateArchivalSettings({required int maxEntryTtl, required int minTemporaryTtl, required int minPersistentTtl, required BigInt persistentRentRateDenominator, required BigInt tempRentRateDenominator, required int maxEntriesToArchive, required int bucketListSizeWindowSampleSize, required int bucketListWindowSamplePeriod, required int evictionScanSize, required int startingEvictionScanLevel})
-
StateArchivalSettings.fromStruct(Map<
String, dynamic> json) -
factory
Properties
- bucketListSizeWindowSampleSize → int
-
Number of snapshots to use when calculating average BucketList size
final
- bucketListWindowSamplePeriod → int
-
How often to sample the BucketList size for the average, in ledgers
final
- evictionScanSize → int
-
Maximum number of bytes that we scan for eviction per ledger
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxEntriesToArchive → int
-
max number of entries that emit archival meta in a single ledger
final
- maxEntryTtl → int
-
final
- minPersistentTtl → int
-
final
- minTemporaryTtl → int
-
final
- persistentRentRateDenominator → BigInt
-
rent_fee = wfee_rate_average / rent_rate_denominator_for_type
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startingEvictionScanLevel → int
-
Lowest BucketList level to be scanned to evict entries
final
- tempRentRateDenominator → BigInt
-
final
Methods
-
createLayout(
{String? property}) → Layout< Map< String, dynamic> > -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toLayoutStruct(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
-
toXDR(
{String? property}) → List< int> -
inherited
-
toXDRBase64(
) → String -
inherited
-
toXDRHex(
) → String -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited