Skip to content

Commit

Permalink
feat: Change config defaults (#14058)
Browse files Browse the repository at this point in the history
Signed-off-by: Austin Littley <austin@swirldslabs.com>
  • Loading branch information
litt3 committed Jun 26, 2024
1 parent e9f0ecf commit bcf069f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public record AccountsConfig(
@ConfigProperty(defaultValue = "2") @NetworkProperty long treasury,
@ConfigProperty(defaultValue = "true") @NetworkProperty boolean storeOnDisk,
@ConfigProperty(defaultValue = "true") @NetworkProperty boolean releaseAliasAfterDeletion,
@ConfigProperty(defaultValue = "40000000") @NetworkProperty long maxNumber,
@ConfigProperty(defaultValue = "20000000") @NetworkProperty long maxNumber,
@ConfigProperty(value = "blocklist.enabled", defaultValue = "false") @NetworkProperty boolean blocklistEnabled,
@ConfigProperty(value = "blocklist.path", defaultValue = "") @NetworkProperty String blocklistResource) {}
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public record TokensConfig(
@ConfigProperty(value = "nfts.maxBatchSizeBurn", defaultValue = "10") @NetworkProperty int nftsMaxBatchSizeBurn,
@ConfigProperty(value = "nfts.maxBatchSizeWipe", defaultValue = "10") @NetworkProperty int nftsMaxBatchSizeWipe,
@ConfigProperty(value = "nfts.maxBatchSizeMint", defaultValue = "10") @NetworkProperty int nftsMaxBatchSizeMint,
@ConfigProperty(value = "nfts.maxAllowedMints", defaultValue = "40000000") @NetworkProperty
@ConfigProperty(value = "nfts.maxAllowedMints", defaultValue = "20000000") @NetworkProperty
long nftsMaxAllowedMints,
@ConfigProperty(value = "nfts.maxQueryRange", defaultValue = "100") @NetworkProperty long nftsMaxQueryRange,
@ConfigProperty(value = "nfts.useTreasuryWildcards", defaultValue = "true") @NetworkProperty
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
@ConfigData("consensus")
public record ConsensusConfig(
@ConfigProperty(defaultValue = "26") int roundsNonAncient,
@ConfigProperty(defaultValue = "1500") int roundsExpired,
@ConfigProperty(defaultValue = "500") int roundsExpired,
@ConfigProperty(defaultValue = "12") int coinFreq) {}

0 comments on commit bcf069f

Please sign in to comment.