Skip to content

Commit

Permalink
fix: Changed maxTimeBehindPullTransactionsStart to 5m. (#325)
Browse files Browse the repository at this point in the history
Co-authored-by: Fernando <[email protected]>
  • Loading branch information
fboucquez and Fernando authored Nov 16, 2021
1 parent 2cb2942 commit 9e7c480
Show file tree
Hide file tree
Showing 22 changed files with 22 additions and 21 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e
- Fixed `symbol-statistics-service-typescript-fetch-client` exception handling.
- Rest `2.4.0` upgrade.
- Fixed peer and api json file generation.
- Changed `maxTimeBehindPullTransactionsStart` to 5m.

## [1.1.0] - Nov-05-2021

Expand Down
2 changes: 1 addition & 1 deletion presets/shared.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ maxMessageSize: 1024
reservedRootNamespaceNames: 'symbol, symbl, xym, xem, nem, user, account, org, com, biz, net, edu, mil, gov, info'
defaultDynamicFeeMultiplier: 1000
minFeeMultiplier: 100
maxTimeBehindPullTransactionsStart: 24h
maxTimeBehindPullTransactionsStart: 5m
epochAdjustment: 1573430400s
nodeEqualityStrategy: host
maxVotingKeyLifetime: 26280
Expand Down
2 changes: 1 addition & 1 deletion test/reports/bootstrap-voting/api-node-0-config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/bootstrap-voting/api-node-0-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/bootstrap-voting/peer-node-0-config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/bootstrap-voting/peer-node-0-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/bootstrap-voting/peer-node-1-config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/bootstrap-voting/peer-node-1-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/mainnet-dual-voting/node-config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/mainnet-dual-voting/node-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/mainnet-dual/node-config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/mainnet-dual/node-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/mainnet-peer/node-config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/mainnet-peer/node-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -799,7 +799,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/testnet-api/node-config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/testnet-api/node-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/testnet-dual-voting/node-config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/testnet-dual-voting/node-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/testnet-peer-voting/node-config.csv
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ shortLivedCacheBlockDuration; 100m; utils::TimeSpan; Duration of a block in the
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down
2 changes: 1 addition & 1 deletion test/reports/testnet-peer-voting/node-config.rst
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ config-node.properties
shortLivedCachePruneInterval; 90s; utils::TimeSpan; Time between short lived cache pruning.
shortLivedCacheMaxSize; 10'000'000; uint32_t; Maximum size of a short lived cache.
minFeeMultiplier; 100; BlockFeeMultiplier; Minimum fee multiplier of transactions to propagate and include in blocks.
maxTimeBehindPullTransactionsStart; 24h; ;
maxTimeBehindPullTransactionsStart; 5m; ;
transactionSelectionStrategy; oldest; model::TransactionSelectionStrategy; Transaction selection strategy used for syncing and harvesting unconfirmed transactions.
unconfirmedTransactionsCacheMaxResponseSize; 5MB; utils::FileSize; Maximum size of an unconfirmed transactions response.
unconfirmedTransactionsCacheMaxSize; 20MB; uint32_t; Maximum size of the unconfirmed transactions cache.
Expand Down

0 comments on commit 9e7c480

Please sign in to comment.