Skip to content

Commit

Permalink
Merge pull request #36 from SmaugPool/bot-rescan-delay-unit
Browse files Browse the repository at this point in the history
Fix bot scan delay unit (ms -> µs)
  • Loading branch information
Micrograx authored Oct 17, 2023
2 parents b585bc0 + 9461cb9 commit 230c979
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ file. The complete bot configuration looks like this:
- `"nftPolicyRef"`, an optional parameter for the script reference of the partial
orders NFT. This UTxO has to have the partial order NFT minting policy as a script ref.
- `strategy`, currently the SOR supports one possible strategy: OneSellToManyBuy.
- `scanDelay`, the duration of time we wait before re-initiating a complete iteration for the bot.
- `scanDelay`, the duration of time in µs we wait before re-initiating a complete iteration for the bot.
- `maxOrderMatches`, is the maximum amount of orders to be matched into a single transaction.
8 orders is near the limit that will fit into a transaction.
- `maxTxsPerIteration`, is the maximum amount of transactions that the bot will build,
Expand Down
2 changes: 1 addition & 1 deletion geniusyield-orderbot-framework/src/GeniusYield/OrderBot.hs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ runOrderBot
, " Collateral: " ++ show botCollateral
, " Reference Script ref: " ++ show (porValidatorRef por)
, " Reference Minting ref: " ++ show (porNftPolicyRef por)
, " Scan delay (ms): " ++ show botRescanDelay
, " Scan delay (µs): " ++ show botRescanDelay
, " Token Pairs to scan:"
, unlines (map (("\t - " ++) . show) botAssetPairFilter)
, ""
Expand Down

0 comments on commit 230c979

Please sign in to comment.