dkg.js 6.5.1 → 6.5.3

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/constants.js CHANGED
@@ -197,6 +197,14 @@ const DEFAULT_PROXIMITY_SCORE_FUNCTIONS_PAIR_IDS = {
197
197
  },
198
198
  };
199
199
 
200
+ const DEFAULT_NEUROWEB_FINALITY_PARAMETERS = {
201
+ WAIT_NEUROWEB_TX_FINALIZATION: false,
202
+ TX_FINALITY_POLLING_INTERVAL: 6_000,
203
+ TX_FINALITY_MAX_WAIT_TIME: 60_000,
204
+ TX_REMINING_POLLING_INTERVAL: 6_000,
205
+ TX_REMINING_MAX_WAIT_TIME: 60_000,
206
+ };
207
+
200
208
  const DEFAULT_PARAMETERS = {
201
209
  ENVIRONMENT: 'mainnet',
202
210
  PORT: 8900,
@@ -211,6 +219,9 @@ const DEFAULT_PARAMETERS = {
211
219
  GRAPH_LOCATION: GRAPH_LOCATIONS.LOCAL_KG,
212
220
  GRAPH_STATE: GRAPH_STATES.CURRENT,
213
221
  HANDLE_NOT_MINED_ERROR: false,
222
+ SIMULATE_TXS: false,
223
+ FORCE_REPLACE_TXS: false,
224
+ GAS_LIMIT_MULTIPLIER: 1,
214
225
  };
215
226
 
216
227
  const DEFAULT_GAS_PRICE = {
@@ -254,6 +265,7 @@ module.exports = {
254
265
  OPERATIONS_STEP_STATUS,
255
266
  DEFAULT_GET_LOCAL_STORE_RESULT_FREQUENCY,
256
267
  DEFAULT_PROXIMITY_SCORE_FUNCTIONS_PAIR_IDS,
268
+ DEFAULT_NEUROWEB_FINALITY_PARAMETERS,
257
269
  DEFAULT_PARAMETERS,
258
270
  DEFAULT_GAS_PRICE,
259
271
  LOW_BID_SUGGESTION,