Skip to content

Commit

Permalink
Update XRPL nodeURL and timeout values
Browse files Browse the repository at this point in the history
  • Loading branch information
mlguys committed Dec 26, 2023
1 parent 842933f commit f277033
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/chains/xrpl/xrpl.controllers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export class XRPLController {
validateXRPLPollRequest(req);

const initTime = Date.now();
await xrplish.ensureConnection();
const currentLedgerIndex = await xrplish.getCurrentLedgerIndex();
const txData = await xrplish.getTransaction(req.txHash);
const txStatus = await xrplish.getTransactionStatusCode(txData);
Expand Down
6 changes: 3 additions & 3 deletions src/templates/xrpl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ networks:
marketListSource: "/home/gateway/conf/lists/xrpl_markets.json"
nativeCurrencySymbol: "XRP"
testnet:
nodeURL: wss://testnet.xrpl-labs.com/
nodeURL: wss://s.altnet.rippletest.net:51233/
tokenListType: "FILE"
tokenListSource: "/home/gateway/conf/lists/xrpl_tokens_testnet.json"
marketListType: "FILE"
Expand All @@ -21,8 +21,8 @@ networks:
marketListSource: "/home/gateway/conf/lists/xrpl_markets_devnet.json"
nativeCurrencySymbol: "XRP"
network: "xrpl"
requestTimeout: 2000
connectionTimeout: 2000
requestTimeout: 5000
connectionTimeout: 5000
feeCushion: 1.2
maxFeeXRP: "2"
orderDbPath: "db/xrpl.level"
Expand Down

0 comments on commit f277033

Please sign in to comment.