@stellar/stellar-base 11.0.1 → 11.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/stellar-base.js +242 -16
- package/dist/stellar-base.min.js +1 -1
- package/lib/generated/curr_generated.js +242 -16
- package/lib/generated/next_generated.js +242 -16
- package/package.json +10 -10
- package/types/curr.d.ts +371 -12
- package/types/next.d.ts +371 -12
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
## [`v11.1.0`](https://github.com/stellar/js-stellar-base/compare/v11.0.1...v11.1.0)
|
|
7
|
+
|
|
8
|
+
### Added
|
|
9
|
+
* The generated XDR has been upgraded to match the upcoming Protocol 21, namely [stellar/stellar-xdr@`1a04392`](https://github.com/stellar/stellar-xdr/commit/1a04392432dacc0092caaeae22a600ea1af3c6a5) ([#738](https://github.com/stellar/js-stellar-base/pull/738)).
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
* Updated various dependencies ([#737](https://github.com/stellar/js-stellar-base/pull/737), [#739](https://github.com/stellar/js-stellar-base/pull/739)).
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [`v11.0.1`](https://github.com/stellar/js-stellar-base/compare/v11.0.0...v11.0.1)
|
|
7
16
|
|
|
8
17
|
### Fixed
|
package/dist/stellar-base.js
CHANGED
|
@@ -2404,7 +2404,7 @@ var types = xdr.config(function (xdr) {
|
|
|
2404
2404
|
// const MASK_ACCOUNT_FLAGS_V17 = 0xF;
|
|
2405
2405
|
//
|
|
2406
2406
|
// ===========================================================================
|
|
2407
|
-
xdr["const"]("MASK_ACCOUNT_FLAGS_V17",
|
|
2407
|
+
xdr["const"]("MASK_ACCOUNT_FLAGS_V17", 0xF);
|
|
2408
2408
|
|
|
2409
2409
|
// === xdr source ============================================================
|
|
2410
2410
|
//
|
|
@@ -3246,15 +3246,79 @@ var types = xdr.config(function (xdr) {
|
|
|
3246
3246
|
|
|
3247
3247
|
// === xdr source ============================================================
|
|
3248
3248
|
//
|
|
3249
|
-
// struct
|
|
3249
|
+
// struct ContractCodeCostInputs {
|
|
3250
3250
|
// ExtensionPoint ext;
|
|
3251
|
+
// uint32 nInstructions;
|
|
3252
|
+
// uint32 nFunctions;
|
|
3253
|
+
// uint32 nGlobals;
|
|
3254
|
+
// uint32 nTableEntries;
|
|
3255
|
+
// uint32 nTypes;
|
|
3256
|
+
// uint32 nDataSegments;
|
|
3257
|
+
// uint32 nElemSegments;
|
|
3258
|
+
// uint32 nImports;
|
|
3259
|
+
// uint32 nExports;
|
|
3260
|
+
// uint32 nDataSegmentBytes;
|
|
3261
|
+
// };
|
|
3262
|
+
//
|
|
3263
|
+
// ===========================================================================
|
|
3264
|
+
xdr.struct("ContractCodeCostInputs", [["ext", xdr.lookup("ExtensionPoint")], ["nInstructions", xdr.lookup("Uint32")], ["nFunctions", xdr.lookup("Uint32")], ["nGlobals", xdr.lookup("Uint32")], ["nTableEntries", xdr.lookup("Uint32")], ["nTypes", xdr.lookup("Uint32")], ["nDataSegments", xdr.lookup("Uint32")], ["nElemSegments", xdr.lookup("Uint32")], ["nImports", xdr.lookup("Uint32")], ["nExports", xdr.lookup("Uint32")], ["nDataSegmentBytes", xdr.lookup("Uint32")]]);
|
|
3265
|
+
|
|
3266
|
+
// === xdr source ============================================================
|
|
3267
|
+
//
|
|
3268
|
+
// struct
|
|
3269
|
+
// {
|
|
3270
|
+
// ExtensionPoint ext;
|
|
3271
|
+
// ContractCodeCostInputs costInputs;
|
|
3272
|
+
// }
|
|
3273
|
+
//
|
|
3274
|
+
// ===========================================================================
|
|
3275
|
+
xdr.struct("ContractCodeEntryV1", [["ext", xdr.lookup("ExtensionPoint")], ["costInputs", xdr.lookup("ContractCodeCostInputs")]]);
|
|
3276
|
+
|
|
3277
|
+
// === xdr source ============================================================
|
|
3278
|
+
//
|
|
3279
|
+
// union switch (int v)
|
|
3280
|
+
// {
|
|
3281
|
+
// case 0:
|
|
3282
|
+
// void;
|
|
3283
|
+
// case 1:
|
|
3284
|
+
// struct
|
|
3285
|
+
// {
|
|
3286
|
+
// ExtensionPoint ext;
|
|
3287
|
+
// ContractCodeCostInputs costInputs;
|
|
3288
|
+
// } v1;
|
|
3289
|
+
// }
|
|
3290
|
+
//
|
|
3291
|
+
// ===========================================================================
|
|
3292
|
+
xdr.union("ContractCodeEntryExt", {
|
|
3293
|
+
switchOn: xdr["int"](),
|
|
3294
|
+
switchName: "v",
|
|
3295
|
+
switches: [[0, xdr["void"]()], [1, "v1"]],
|
|
3296
|
+
arms: {
|
|
3297
|
+
v1: xdr.lookup("ContractCodeEntryV1")
|
|
3298
|
+
}
|
|
3299
|
+
});
|
|
3300
|
+
|
|
3301
|
+
// === xdr source ============================================================
|
|
3302
|
+
//
|
|
3303
|
+
// struct ContractCodeEntry {
|
|
3304
|
+
// union switch (int v)
|
|
3305
|
+
// {
|
|
3306
|
+
// case 0:
|
|
3307
|
+
// void;
|
|
3308
|
+
// case 1:
|
|
3309
|
+
// struct
|
|
3310
|
+
// {
|
|
3311
|
+
// ExtensionPoint ext;
|
|
3312
|
+
// ContractCodeCostInputs costInputs;
|
|
3313
|
+
// } v1;
|
|
3314
|
+
// } ext;
|
|
3251
3315
|
//
|
|
3252
3316
|
// Hash hash;
|
|
3253
3317
|
// opaque code<>;
|
|
3254
3318
|
// };
|
|
3255
3319
|
//
|
|
3256
3320
|
// ===========================================================================
|
|
3257
|
-
xdr.struct("ContractCodeEntry", [["ext", xdr.lookup("
|
|
3321
|
+
xdr.struct("ContractCodeEntry", [["ext", xdr.lookup("ContractCodeEntryExt")], ["hash", xdr.lookup("Hash")], ["code", xdr.varOpaque()]]);
|
|
3258
3322
|
|
|
3259
3323
|
// === xdr source ============================================================
|
|
3260
3324
|
//
|
|
@@ -4449,10 +4513,69 @@ var types = xdr.config(function (xdr) {
|
|
|
4449
4513
|
|
|
4450
4514
|
// === xdr source ============================================================
|
|
4451
4515
|
//
|
|
4452
|
-
// struct
|
|
4516
|
+
// struct SorobanTransactionMetaExtV1
|
|
4453
4517
|
// {
|
|
4454
4518
|
// ExtensionPoint ext;
|
|
4455
4519
|
//
|
|
4520
|
+
// // The following are the components of the overall Soroban resource fee
|
|
4521
|
+
// // charged for the transaction.
|
|
4522
|
+
// // The following relation holds:
|
|
4523
|
+
// // `resourceFeeCharged = totalNonRefundableResourceFeeCharged + totalRefundableResourceFeeCharged`
|
|
4524
|
+
// // where `resourceFeeCharged` is the overall fee charged for the
|
|
4525
|
+
// // transaction. Also, `resourceFeeCharged` <= `sorobanData.resourceFee`
|
|
4526
|
+
// // i.e.we never charge more than the declared resource fee.
|
|
4527
|
+
// // The inclusion fee for charged the Soroban transaction can be found using
|
|
4528
|
+
// // the following equation:
|
|
4529
|
+
// // `result.feeCharged = resourceFeeCharged + inclusionFeeCharged`.
|
|
4530
|
+
//
|
|
4531
|
+
// // Total amount (in stroops) that has been charged for non-refundable
|
|
4532
|
+
// // Soroban resources.
|
|
4533
|
+
// // Non-refundable resources are charged based on the usage declared in
|
|
4534
|
+
// // the transaction envelope (such as `instructions`, `readBytes` etc.) and
|
|
4535
|
+
// // is charged regardless of the success of the transaction.
|
|
4536
|
+
// int64 totalNonRefundableResourceFeeCharged;
|
|
4537
|
+
// // Total amount (in stroops) that has been charged for refundable
|
|
4538
|
+
// // Soroban resource fees.
|
|
4539
|
+
// // Currently this comprises the rent fee (`rentFeeCharged`) and the
|
|
4540
|
+
// // fee for the events and return value.
|
|
4541
|
+
// // Refundable resources are charged based on the actual resources usage.
|
|
4542
|
+
// // Since currently refundable resources are only used for the successful
|
|
4543
|
+
// // transactions, this will be `0` for failed transactions.
|
|
4544
|
+
// int64 totalRefundableResourceFeeCharged;
|
|
4545
|
+
// // Amount (in stroops) that has been charged for rent.
|
|
4546
|
+
// // This is a part of `totalNonRefundableResourceFeeCharged`.
|
|
4547
|
+
// int64 rentFeeCharged;
|
|
4548
|
+
// };
|
|
4549
|
+
//
|
|
4550
|
+
// ===========================================================================
|
|
4551
|
+
xdr.struct("SorobanTransactionMetaExtV1", [["ext", xdr.lookup("ExtensionPoint")], ["totalNonRefundableResourceFeeCharged", xdr.lookup("Int64")], ["totalRefundableResourceFeeCharged", xdr.lookup("Int64")], ["rentFeeCharged", xdr.lookup("Int64")]]);
|
|
4552
|
+
|
|
4553
|
+
// === xdr source ============================================================
|
|
4554
|
+
//
|
|
4555
|
+
// union SorobanTransactionMetaExt switch (int v)
|
|
4556
|
+
// {
|
|
4557
|
+
// case 0:
|
|
4558
|
+
// void;
|
|
4559
|
+
// case 1:
|
|
4560
|
+
// SorobanTransactionMetaExtV1 v1;
|
|
4561
|
+
// };
|
|
4562
|
+
//
|
|
4563
|
+
// ===========================================================================
|
|
4564
|
+
xdr.union("SorobanTransactionMetaExt", {
|
|
4565
|
+
switchOn: xdr["int"](),
|
|
4566
|
+
switchName: "v",
|
|
4567
|
+
switches: [[0, xdr["void"]()], [1, "v1"]],
|
|
4568
|
+
arms: {
|
|
4569
|
+
v1: xdr.lookup("SorobanTransactionMetaExtV1")
|
|
4570
|
+
}
|
|
4571
|
+
});
|
|
4572
|
+
|
|
4573
|
+
// === xdr source ============================================================
|
|
4574
|
+
//
|
|
4575
|
+
// struct SorobanTransactionMeta
|
|
4576
|
+
// {
|
|
4577
|
+
// SorobanTransactionMetaExt ext;
|
|
4578
|
+
//
|
|
4456
4579
|
// ContractEvent events<>; // custom events populated by the
|
|
4457
4580
|
// // contracts themselves.
|
|
4458
4581
|
// SCVal returnValue; // return value of the host fn invocation
|
|
@@ -4464,7 +4587,7 @@ var types = xdr.config(function (xdr) {
|
|
|
4464
4587
|
// };
|
|
4465
4588
|
//
|
|
4466
4589
|
// ===========================================================================
|
|
4467
|
-
xdr.struct("SorobanTransactionMeta", [["ext", xdr.lookup("
|
|
4590
|
+
xdr.struct("SorobanTransactionMeta", [["ext", xdr.lookup("SorobanTransactionMetaExt")], ["events", xdr.varArray(xdr.lookup("ContractEvent"), 2147483647)], ["returnValue", xdr.lookup("ScVal")], ["diagnosticEvents", xdr.varArray(xdr.lookup("DiagnosticEvent"), 2147483647)]]);
|
|
4468
4591
|
|
|
4469
4592
|
// === xdr source ============================================================
|
|
4470
4593
|
//
|
|
@@ -4570,11 +4693,40 @@ var types = xdr.config(function (xdr) {
|
|
|
4570
4693
|
|
|
4571
4694
|
// === xdr source ============================================================
|
|
4572
4695
|
//
|
|
4573
|
-
// struct
|
|
4696
|
+
// struct LedgerCloseMetaExtV1
|
|
4574
4697
|
// {
|
|
4575
|
-
// // We forgot to add an ExtensionPoint in v0 but at least
|
|
4576
|
-
// // we can add one now in v1.
|
|
4577
4698
|
// ExtensionPoint ext;
|
|
4699
|
+
// int64 sorobanFeeWrite1KB;
|
|
4700
|
+
// };
|
|
4701
|
+
//
|
|
4702
|
+
// ===========================================================================
|
|
4703
|
+
xdr.struct("LedgerCloseMetaExtV1", [["ext", xdr.lookup("ExtensionPoint")], ["sorobanFeeWrite1Kb", xdr.lookup("Int64")]]);
|
|
4704
|
+
|
|
4705
|
+
// === xdr source ============================================================
|
|
4706
|
+
//
|
|
4707
|
+
// union LedgerCloseMetaExt switch (int v)
|
|
4708
|
+
// {
|
|
4709
|
+
// case 0:
|
|
4710
|
+
// void;
|
|
4711
|
+
// case 1:
|
|
4712
|
+
// LedgerCloseMetaExtV1 v1;
|
|
4713
|
+
// };
|
|
4714
|
+
//
|
|
4715
|
+
// ===========================================================================
|
|
4716
|
+
xdr.union("LedgerCloseMetaExt", {
|
|
4717
|
+
switchOn: xdr["int"](),
|
|
4718
|
+
switchName: "v",
|
|
4719
|
+
switches: [[0, xdr["void"]()], [1, "v1"]],
|
|
4720
|
+
arms: {
|
|
4721
|
+
v1: xdr.lookup("LedgerCloseMetaExtV1")
|
|
4722
|
+
}
|
|
4723
|
+
});
|
|
4724
|
+
|
|
4725
|
+
// === xdr source ============================================================
|
|
4726
|
+
//
|
|
4727
|
+
// struct LedgerCloseMetaV1
|
|
4728
|
+
// {
|
|
4729
|
+
// LedgerCloseMetaExt ext;
|
|
4578
4730
|
//
|
|
4579
4731
|
// LedgerHeaderHistoryEntry ledgerHeader;
|
|
4580
4732
|
//
|
|
@@ -4604,7 +4756,7 @@ var types = xdr.config(function (xdr) {
|
|
|
4604
4756
|
// };
|
|
4605
4757
|
//
|
|
4606
4758
|
// ===========================================================================
|
|
4607
|
-
xdr.struct("LedgerCloseMetaV1", [["ext", xdr.lookup("
|
|
4759
|
+
xdr.struct("LedgerCloseMetaV1", [["ext", xdr.lookup("LedgerCloseMetaExt")], ["ledgerHeader", xdr.lookup("LedgerHeaderHistoryEntry")], ["txSet", xdr.lookup("GeneralizedTransactionSet")], ["txProcessing", xdr.varArray(xdr.lookup("TransactionResultMeta"), 2147483647)], ["upgradesProcessing", xdr.varArray(xdr.lookup("UpgradeEntryMeta"), 2147483647)], ["scpInfo", xdr.varArray(xdr.lookup("ScpHistoryEntry"), 2147483647)], ["totalByteSizeOfBucketList", xdr.lookup("Uint64")], ["evictedTemporaryLedgerKeys", xdr.varArray(xdr.lookup("LedgerKey"), 2147483647)], ["evictedPersistentLedgerEntries", xdr.varArray(xdr.lookup("LedgerEntry"), 2147483647)]]);
|
|
4608
4760
|
|
|
4609
4761
|
// === xdr source ============================================================
|
|
4610
4762
|
//
|
|
@@ -10018,8 +10170,9 @@ var types = xdr.config(function (xdr) {
|
|
|
10018
10170
|
// InvokeVmFunction = 13,
|
|
10019
10171
|
// // Cost of computing a keccak256 hash from bytes.
|
|
10020
10172
|
// ComputeKeccak256Hash = 14,
|
|
10021
|
-
// // Cost of
|
|
10022
|
-
//
|
|
10173
|
+
// // Cost of decoding an ECDSA signature computed from a 256-bit prime modulus
|
|
10174
|
+
// // curve (e.g. secp256k1 and secp256r1)
|
|
10175
|
+
// DecodeEcdsaCurve256Sig = 15,
|
|
10023
10176
|
// // Cost of recovering an ECDSA secp256k1 key from a signature.
|
|
10024
10177
|
// RecoverEcdsaSecp256k1Key = 16,
|
|
10025
10178
|
// // Cost of int256 addition (`+`) and subtraction (`-`) operations
|
|
@@ -10033,7 +10186,55 @@ var types = xdr.config(function (xdr) {
|
|
|
10033
10186
|
// // Cost of int256 shift (`shl`, `shr`) operation
|
|
10034
10187
|
// Int256Shift = 21,
|
|
10035
10188
|
// // Cost of drawing random bytes using a ChaCha20 PRNG
|
|
10036
|
-
// ChaCha20DrawBytes = 22
|
|
10189
|
+
// ChaCha20DrawBytes = 22,
|
|
10190
|
+
//
|
|
10191
|
+
// // Cost of parsing wasm bytes that only encode instructions.
|
|
10192
|
+
// ParseWasmInstructions = 23,
|
|
10193
|
+
// // Cost of parsing a known number of wasm functions.
|
|
10194
|
+
// ParseWasmFunctions = 24,
|
|
10195
|
+
// // Cost of parsing a known number of wasm globals.
|
|
10196
|
+
// ParseWasmGlobals = 25,
|
|
10197
|
+
// // Cost of parsing a known number of wasm table entries.
|
|
10198
|
+
// ParseWasmTableEntries = 26,
|
|
10199
|
+
// // Cost of parsing a known number of wasm types.
|
|
10200
|
+
// ParseWasmTypes = 27,
|
|
10201
|
+
// // Cost of parsing a known number of wasm data segments.
|
|
10202
|
+
// ParseWasmDataSegments = 28,
|
|
10203
|
+
// // Cost of parsing a known number of wasm element segments.
|
|
10204
|
+
// ParseWasmElemSegments = 29,
|
|
10205
|
+
// // Cost of parsing a known number of wasm imports.
|
|
10206
|
+
// ParseWasmImports = 30,
|
|
10207
|
+
// // Cost of parsing a known number of wasm exports.
|
|
10208
|
+
// ParseWasmExports = 31,
|
|
10209
|
+
// // Cost of parsing a known number of data segment bytes.
|
|
10210
|
+
// ParseWasmDataSegmentBytes = 32,
|
|
10211
|
+
//
|
|
10212
|
+
// // Cost of instantiating wasm bytes that only encode instructions.
|
|
10213
|
+
// InstantiateWasmInstructions = 33,
|
|
10214
|
+
// // Cost of instantiating a known number of wasm functions.
|
|
10215
|
+
// InstantiateWasmFunctions = 34,
|
|
10216
|
+
// // Cost of instantiating a known number of wasm globals.
|
|
10217
|
+
// InstantiateWasmGlobals = 35,
|
|
10218
|
+
// // Cost of instantiating a known number of wasm table entries.
|
|
10219
|
+
// InstantiateWasmTableEntries = 36,
|
|
10220
|
+
// // Cost of instantiating a known number of wasm types.
|
|
10221
|
+
// InstantiateWasmTypes = 37,
|
|
10222
|
+
// // Cost of instantiating a known number of wasm data segments.
|
|
10223
|
+
// InstantiateWasmDataSegments = 38,
|
|
10224
|
+
// // Cost of instantiating a known number of wasm element segments.
|
|
10225
|
+
// InstantiateWasmElemSegments = 39,
|
|
10226
|
+
// // Cost of instantiating a known number of wasm imports.
|
|
10227
|
+
// InstantiateWasmImports = 40,
|
|
10228
|
+
// // Cost of instantiating a known number of wasm exports.
|
|
10229
|
+
// InstantiateWasmExports = 41,
|
|
10230
|
+
// // Cost of instantiating a known number of data segment bytes.
|
|
10231
|
+
// InstantiateWasmDataSegmentBytes = 42,
|
|
10232
|
+
//
|
|
10233
|
+
// // Cost of decoding a bytes array representing an uncompressed SEC-1 encoded
|
|
10234
|
+
// // point on a 256-bit elliptic curve
|
|
10235
|
+
// Sec1DecodePointUncompressed = 43,
|
|
10236
|
+
// // Cost of verifying an ECDSA Secp256r1 signature
|
|
10237
|
+
// VerifyEcdsaSecp256r1Sig = 44
|
|
10037
10238
|
// };
|
|
10038
10239
|
//
|
|
10039
10240
|
// ===========================================================================
|
|
@@ -10053,14 +10254,36 @@ var types = xdr.config(function (xdr) {
|
|
|
10053
10254
|
vmCachedInstantiation: 12,
|
|
10054
10255
|
invokeVmFunction: 13,
|
|
10055
10256
|
computeKeccak256Hash: 14,
|
|
10056
|
-
|
|
10257
|
+
decodeEcdsaCurve256Sig: 15,
|
|
10057
10258
|
recoverEcdsaSecp256k1Key: 16,
|
|
10058
10259
|
int256AddSub: 17,
|
|
10059
10260
|
int256Mul: 18,
|
|
10060
10261
|
int256Div: 19,
|
|
10061
10262
|
int256Pow: 20,
|
|
10062
10263
|
int256Shift: 21,
|
|
10063
|
-
chaCha20DrawBytes: 22
|
|
10264
|
+
chaCha20DrawBytes: 22,
|
|
10265
|
+
parseWasmInstructions: 23,
|
|
10266
|
+
parseWasmFunctions: 24,
|
|
10267
|
+
parseWasmGlobals: 25,
|
|
10268
|
+
parseWasmTableEntries: 26,
|
|
10269
|
+
parseWasmTypes: 27,
|
|
10270
|
+
parseWasmDataSegments: 28,
|
|
10271
|
+
parseWasmElemSegments: 29,
|
|
10272
|
+
parseWasmImports: 30,
|
|
10273
|
+
parseWasmExports: 31,
|
|
10274
|
+
parseWasmDataSegmentBytes: 32,
|
|
10275
|
+
instantiateWasmInstructions: 33,
|
|
10276
|
+
instantiateWasmFunctions: 34,
|
|
10277
|
+
instantiateWasmGlobals: 35,
|
|
10278
|
+
instantiateWasmTableEntries: 36,
|
|
10279
|
+
instantiateWasmTypes: 37,
|
|
10280
|
+
instantiateWasmDataSegments: 38,
|
|
10281
|
+
instantiateWasmElemSegments: 39,
|
|
10282
|
+
instantiateWasmImports: 40,
|
|
10283
|
+
instantiateWasmExports: 41,
|
|
10284
|
+
instantiateWasmDataSegmentBytes: 42,
|
|
10285
|
+
sec1DecodePointUncompressed: 43,
|
|
10286
|
+
verifyEcdsaSecp256r1Sig: 44
|
|
10064
10287
|
});
|
|
10065
10288
|
|
|
10066
10289
|
// === xdr source ============================================================
|
|
@@ -10093,15 +10316,18 @@ var types = xdr.config(function (xdr) {
|
|
|
10093
10316
|
// // Number of snapshots to use when calculating average BucketList size
|
|
10094
10317
|
// uint32 bucketListSizeWindowSampleSize;
|
|
10095
10318
|
//
|
|
10319
|
+
// // How often to sample the BucketList size for the average, in ledgers
|
|
10320
|
+
// uint32 bucketListWindowSamplePeriod;
|
|
10321
|
+
//
|
|
10096
10322
|
// // Maximum number of bytes that we scan for eviction per ledger
|
|
10097
|
-
//
|
|
10323
|
+
// uint32 evictionScanSize;
|
|
10098
10324
|
//
|
|
10099
10325
|
// // Lowest BucketList level to be scanned to evict entries
|
|
10100
10326
|
// uint32 startingEvictionScanLevel;
|
|
10101
10327
|
// };
|
|
10102
10328
|
//
|
|
10103
10329
|
// ===========================================================================
|
|
10104
|
-
xdr.struct("StateArchivalSettings", [["maxEntryTtl", xdr.lookup("Uint32")], ["minTemporaryTtl", xdr.lookup("Uint32")], ["minPersistentTtl", xdr.lookup("Uint32")], ["persistentRentRateDenominator", xdr.lookup("Int64")], ["tempRentRateDenominator", xdr.lookup("Int64")], ["maxEntriesToArchive", xdr.lookup("Uint32")], ["bucketListSizeWindowSampleSize", xdr.lookup("Uint32")], ["evictionScanSize", xdr.lookup("
|
|
10330
|
+
xdr.struct("StateArchivalSettings", [["maxEntryTtl", xdr.lookup("Uint32")], ["minTemporaryTtl", xdr.lookup("Uint32")], ["minPersistentTtl", xdr.lookup("Uint32")], ["persistentRentRateDenominator", xdr.lookup("Int64")], ["tempRentRateDenominator", xdr.lookup("Int64")], ["maxEntriesToArchive", xdr.lookup("Uint32")], ["bucketListSizeWindowSampleSize", xdr.lookup("Uint32")], ["bucketListWindowSamplePeriod", xdr.lookup("Uint32")], ["evictionScanSize", xdr.lookup("Uint32")], ["startingEvictionScanLevel", xdr.lookup("Uint32")]]);
|
|
10105
10331
|
|
|
10106
10332
|
// === xdr source ============================================================
|
|
10107
10333
|
//
|