@clonegod/ttd-sol-common 1.0.86 → 1.0.88
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.
|
@@ -47,7 +47,7 @@ const subscribe_pool_change_by_geyser = (geyser_ws_url, pool_list, eventEmitter)
|
|
|
47
47
|
setInterval(() => {
|
|
48
48
|
if (ws.readyState === ws_1.default.OPEN) {
|
|
49
49
|
ws.ping();
|
|
50
|
-
|
|
50
|
+
(0, dist_1.log_debug)('Ping helius ws server');
|
|
51
51
|
}
|
|
52
52
|
}, 30000);
|
|
53
53
|
}
|
|
@@ -52,7 +52,7 @@ const subscribe_wallet_transaction = (geyser_ws_url, wallet_token_account_list,
|
|
|
52
52
|
setInterval(() => {
|
|
53
53
|
if (ws.readyState === ws_1.default.OPEN) {
|
|
54
54
|
ws.ping();
|
|
55
|
-
|
|
55
|
+
(0, dist_1.log_debug)('Ping helius ws server');
|
|
56
56
|
}
|
|
57
57
|
}, 30000);
|
|
58
58
|
}
|
|
@@ -19,8 +19,9 @@ const JITO_TIP_MIN = 0.00004;
|
|
|
19
19
|
const JITO_TIP_MAX = 0.0005;
|
|
20
20
|
function get_jito_tip_floor() {
|
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
|
|
23
|
-
(0, dist_1.log_info)(`get_jito_tip_floor
|
|
22
|
+
let res = yield (yield fetch(jito_tip_stats_url)).json();
|
|
23
|
+
(0, dist_1.log_info)(`get_jito_tip_floor,res=`, res);
|
|
24
|
+
jito_tip_pct = res[0];
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
27
|
function refresh_jito_tip_floor() {
|