You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 058d2d3
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: config.example.yaml
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -121,6 +121,7 @@ gasPriceMultiplier: 107
121
121
122
122
# Time threshold (in ms) for a transaction mine time before it counts as a trigger to increase gas price multiplier for future transactions, default is 15000ms (15 seconds)
123
123
# A timed out receipt wait does not count, only a mined transaction does. Set this to at least two block times, one missed block is normal.
124
+
# A receipt wait times out after 3 block times, so set this below that, otherwise no transaction can count as slow.
124
125
txTimeThreshold: 15000
125
126
126
127
# Points added to the gas price multiplier on each step up, default is 10
@@ -135,7 +136,7 @@ gasIncreaseStepTime: 6
135
136
# maxGasPriceMultiplier: 200
136
137
137
138
# The average block time (in ms) of the operating chain, used as the polling interval of the block number watcher
138
-
# and the transaction receipt wait, required
139
+
# and the transaction receipt wait, a receipt wait times out after 3 block times, required
139
140
blockTime: 2000
140
141
141
142
# Optional block tag used for the order quote calls (eth_call) and the gas estimate calls (eth_estimateGas),
Copy file name to clipboardExpand all lines: src/config/yaml.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ export type AppOptions = {
82
82
sleep: number;
83
83
/** Gas coverage percentage for each transaction to be considered profitable to be submitted, default is 100 */
84
84
gasCoveragePercentage: string;
85
-
/** Optional seconds to wait for the transaction to mine before disregarding it, default is 15 */
85
+
/** Optional timeout (in ms) of the rpc and subgraph requests, default is 15000 */
86
86
timeout: number;
87
87
/** Option to specify time (in minutes) between pools data resets, default is 0 minutes */
88
88
poolUpdateInterval: number;
@@ -122,15 +122,15 @@ export type AppOptions = {
122
122
convertToGasTime: number;
123
123
/** Determines if multi wallets should be rotated at runtime, meaning new ones to replace older ones once they runs out of gas, default is false */
124
124
rotateMultiWallet: boolean;
125
-
/** Time threshold (in ms) for a transaction mine time before it counts as a trigger to increase gas price multiplier for future transactions, default is 15 seconds */
125
+
/** Time threshold (in ms) for a transaction mine time before it counts as a trigger to increase gas price multiplier for future transactions, default is 15 seconds, must be below the receipt wait (3 block times) for a transaction to count as slow */
126
126
txTimeThreshold: number;
127
127
/** Points added to the gas price multiplier on each step up, default is 10 */
128
128
gasIncreasePointsPerStep: number;
129
129
/** Time (in minutes) of one gas price multiplier step, at most one step up per this time and one step down per this time once the last step up is that old, default is 6 */
130
130
gasIncreaseStepTime: number;
131
131
/** Optional ceiling of the gas price multiplier, never below gasPriceMultiplier, defaults to gasPriceMultiplier plus 1000 points (ten times the rpc gas price) when unset */
132
132
maxGasPriceMultiplier?: number;
133
-
/** The average block time (in ms) of the operating chain, used as the polling interval of the block number watcher and the transaction receipt wait, required */
133
+
/** The average block time (in ms) of the operating chain, used as the polling interval of the block number watcher and the transaction receipt wait, a receipt wait times out after 3 block times, required */
134
134
blockTime: number;
135
135
/** Subscribes the block number watcher to flashblocks heads instead of new heads over the ws rpc, only supported on Base chain, requires wsRpc, default is false */
0 commit comments