@clonegod/ttd-sol-common 2.0.58 → 2.0.59
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/dist/trade/send/jito.js
CHANGED
|
@@ -115,7 +115,7 @@ const sendBundleWithJito = async (mainTxBase64, tipTxBase64) => {
|
|
|
115
115
|
exports.sendBundleWithJito = sendBundleWithJito;
|
|
116
116
|
const sendBundleWithJitoMultiIps = async (mainTxHash, mainTxBase64, tipTxBase64) => {
|
|
117
117
|
let ips = (process.env.JITO_SEND_BUNDLE_SERVER_IPS || '127.0.0.1').split(',');
|
|
118
|
-
let urls = ips.map(ip => `http://${ip}:
|
|
118
|
+
let urls = ips.map(ip => `http://${ip}:10429/solana/send_tx`);
|
|
119
119
|
const body = {
|
|
120
120
|
trace_id: '',
|
|
121
121
|
txid: mainTxHash,
|
package/package.json
CHANGED
package/src/trade/send/jito.ts
CHANGED
|
@@ -104,7 +104,7 @@ export const sendBundleWithJito = async (mainTxBase64: string, tipTxBase64: stri
|
|
|
104
104
|
|
|
105
105
|
export const sendBundleWithJitoMultiIps = async (mainTxHash: string, mainTxBase64: string, tipTxBase64: string): Promise<string> => {
|
|
106
106
|
let ips = (process.env.JITO_SEND_BUNDLE_SERVER_IPS || '127.0.0.1').split(',')
|
|
107
|
-
let urls = ips.map(ip => `http://${ip}:
|
|
107
|
+
let urls = ips.map(ip => `http://${ip}:10429/solana/send_tx`)
|
|
108
108
|
|
|
109
109
|
// Bundle 顺序: [mainTx, tipTx]
|
|
110
110
|
// 与 sendBundleWithJito 保持一致,符合 Jito Sandwich Mitigation 规则
|