@clonegod/ttd-sol-common 1.1.1 → 1.1.2
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.
|
@@ -629,16 +629,19 @@ class RpcClient {
|
|
|
629
629
|
serializedTipTx
|
|
630
630
|
].join(',');
|
|
631
631
|
}
|
|
632
|
+
const max_retry = Number(process.env.JITO_MAX_RETRIES || '10');
|
|
632
633
|
const send_result = yield (0, dist_1.postJSON)(send_tx_jito_url, {
|
|
633
634
|
encoding,
|
|
634
635
|
encoded_tx,
|
|
635
636
|
txid,
|
|
636
637
|
trace_id: '',
|
|
637
|
-
group_id
|
|
638
|
+
group_id,
|
|
639
|
+
max_retry
|
|
638
640
|
});
|
|
639
641
|
(0, dist_1.log_info)(`sendJitoBundle (mul_ips)`, {
|
|
640
642
|
txid,
|
|
641
643
|
jito_use_separate_tx,
|
|
644
|
+
max_retry,
|
|
642
645
|
send_result
|
|
643
646
|
});
|
|
644
647
|
return;
|
|
@@ -686,16 +689,19 @@ class RpcClient {
|
|
|
686
689
|
serializedTipTx,
|
|
687
690
|
serializedMainTx
|
|
688
691
|
].join(',');
|
|
692
|
+
const max_retry = Number(process.env.JITO_MAX_RETRIES || '0');
|
|
689
693
|
const send_result = yield (0, dist_1.postJSON)(send_tx_jito_url, {
|
|
690
694
|
encoding,
|
|
691
695
|
encoded_tx,
|
|
692
696
|
txid,
|
|
693
697
|
trace_id: '',
|
|
694
|
-
group_id
|
|
698
|
+
group_id,
|
|
699
|
+
max_retry
|
|
695
700
|
});
|
|
696
701
|
(0, dist_1.log_info)(`sendJitoBundle (mul_ips)`, {
|
|
697
702
|
txid,
|
|
698
703
|
jito_use_separate_tx,
|
|
704
|
+
max_retry,
|
|
699
705
|
send_result
|
|
700
706
|
});
|
|
701
707
|
return;
|