chia-agent 14.5.0 → 16.0.0

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.
Files changed (119) hide show
  1. package/CHANGELOG.md +59 -1
  2. package/README.md +34 -7
  3. package/api/chia/consensus/cost_calculator.d.ts +2 -1
  4. package/api/chia/data_layer/data_layer_util.d.ts +3 -2
  5. package/api/chia/data_layer/data_layer_wallet.d.ts +2 -14
  6. package/api/chia/data_layer/singleton_record.d.ts +15 -0
  7. package/api/chia/farmer/farmer.d.ts +2 -1
  8. package/api/chia/harvester/harvester.d.ts +4 -2
  9. package/api/chia/plot-sync/receiver.d.ts +3 -2
  10. package/api/chia/pools/pool_config.d.ts +3 -2
  11. package/api/chia/pools/pool_wallet_info.d.ts +4 -2
  12. package/api/chia/protocols/farmer_protocol.d.ts +7 -5
  13. package/api/chia/protocols/harvester_protocol.d.ts +4 -2
  14. package/api/chia/protocols/pool_protocol.d.ts +4 -2
  15. package/api/chia/rpc/util.d.ts +2 -1
  16. package/api/chia/rpc/wallet_request_types.d.ts +5 -2
  17. package/api/chia/types/_python_types_.d.ts +0 -14
  18. package/api/chia/types/clvm_cost.d.ts +1 -1
  19. package/api/chia/types/coin_record.d.ts +2 -1
  20. package/api/chia/types/mempool_item.d.ts +4 -2
  21. package/api/chia/types/mojos.d.ts +1 -1
  22. package/api/chia/types/unfinished_header_block.d.ts +2 -2
  23. package/api/chia/util/keychain.d.ts +4 -1
  24. package/api/chia/util/streamable.d.ts +2 -1
  25. package/api/chia/wallet/conditions.d.ts +2 -1
  26. package/api/chia/wallet/lineage_proof.d.ts +3 -2
  27. package/api/chia/wallet/nft_wallet/nft_info.d.ts +3 -2
  28. package/api/chia/wallet/notification_store.d.ts +3 -2
  29. package/api/chia/wallet/puzzles/clawback/metadata.d.ts +3 -2
  30. package/api/chia/wallet/signer_protocol.d.ts +3 -2
  31. package/api/chia/wallet/trade_record.d.ts +3 -2
  32. package/api/chia/wallet/transaction_record.d.ts +3 -2
  33. package/api/chia/wallet/util/quality_filter.d.ts +2 -2
  34. package/api/chia/wallet/util/tx_config.d.ts +3 -2
  35. package/api/chia/wallet/util/wallet_types.d.ts +1 -3
  36. package/api/chia/wallet/util/wallet_types.js +0 -2
  37. package/api/chia/wallet/vc_wallet/vc_drivers.d.ts +1 -1
  38. package/api/chia/wallet/vc_wallet/vc_store.d.ts +1 -1
  39. package/api/chia/wallet/wallet_coin_record.d.ts +6 -5
  40. package/api/chia/wallet/wallet_coin_store.d.ts +2 -1
  41. package/api/chia/wallet/wallet_info.d.ts +2 -1
  42. package/api/chia/wallet/wallet_node.d.ts +1 -1
  43. package/api/chia_rs/chia-bls/lib.d.ts +4 -0
  44. package/api/chia_rs/chia-bls/public_key.d.ts +1 -2
  45. package/api/chia_rs/chia-bls/secret_key.d.ts +1 -0
  46. package/api/chia_rs/chia-bls/signature.d.ts +1 -0
  47. package/api/chia_rs/chia-consensus/gen/owned_conditions.d.ts +3 -2
  48. package/api/chia_rs/chia-protocol/block_record.d.ts +3 -2
  49. package/api/chia_rs/chia-protocol/classgroup.d.ts +1 -1
  50. package/api/chia_rs/chia-protocol/coin.d.ts +2 -2
  51. package/api/chia_rs/chia-protocol/foliage.d.ts +4 -2
  52. package/api/chia_rs/chia-protocol/fullblock.d.ts +2 -1
  53. package/api/chia_rs/chia-protocol/pool_target.d.ts +2 -2
  54. package/api/chia_rs/chia-protocol/proof_of_space.d.ts +4 -2
  55. package/api/chia_rs/chia-protocol/reward_chain_block.d.ts +4 -2
  56. package/api/chia_rs/chia-protocol/slots.d.ts +3 -2
  57. package/api/chia_rs/chia-protocol/spend_bundle.d.ts +1 -1
  58. package/api/chia_rs/chia-protocol/sub_epoch_summary.d.ts +3 -2
  59. package/api/chia_rs/chia-protocol/unfinished_block.d.ts +2 -1
  60. package/api/chia_rs/chia-protocol/vdf.d.ts +3 -2
  61. package/api/chia_rs/wheel/python/sized_bytes.d.ts +7 -0
  62. package/api/chia_rs/wheel/python/sized_ints.d.ts +11 -0
  63. package/api/pool-reference/pool/record.d.ts +4 -2
  64. package/api/rpc/common/index.d.ts +2 -1
  65. package/api/rpc/common/index.js +34 -65
  66. package/api/rpc/crawler/index.d.ts +3 -2
  67. package/api/rpc/crawler/index.js +7 -20
  68. package/api/rpc/data_layer/index.d.ts +3 -2
  69. package/api/rpc/data_layer/index.js +106 -186
  70. package/api/rpc/farmer/index.d.ts +3 -2
  71. package/api/rpc/farmer/index.js +40 -75
  72. package/api/rpc/full_node/index.d.ts +6 -5
  73. package/api/rpc/full_node/index.js +112 -196
  74. package/api/rpc/harvester/index.d.ts +2 -1
  75. package/api/rpc/harvester/index.js +25 -50
  76. package/api/rpc/index.d.ts +2 -2
  77. package/api/rpc/index.js +3 -17
  78. package/api/rpc/pool/index.d.ts +2 -1
  79. package/api/rpc/pool/index.js +18 -40
  80. package/api/rpc/wallet/index.d.ts +9 -260
  81. package/api/rpc/wallet/index.js +388 -755
  82. package/api/types.d.ts +3 -2
  83. package/api/ws/chia_plots_create/index.js +20 -32
  84. package/api/ws/crawler/index.d.ts +3 -2
  85. package/api/ws/crawler/index.js +21 -32
  86. package/api/ws/daemon/index.d.ts +3 -1
  87. package/api/ws/daemon/index.js +125 -212
  88. package/api/ws/farmer/index.d.ts +3 -2
  89. package/api/ws/farmer/index.js +112 -134
  90. package/api/ws/full_node/index.d.ts +8 -7
  91. package/api/ws/full_node/index.js +59 -76
  92. package/api/ws/harvester/index.d.ts +2 -1
  93. package/api/ws/harvester/index.js +60 -76
  94. package/api/ws/timelord/index.d.ts +3 -2
  95. package/api/ws/timelord/index.js +40 -54
  96. package/api/ws/wallet/index.d.ts +2 -1
  97. package/api/ws/wallet/index.js +72 -90
  98. package/bin/cli.js +40 -51
  99. package/config/index.js +13 -9
  100. package/daemon/connection.js +2 -2
  101. package/daemon/index.d.ts +28 -5
  102. package/daemon/index.js +262 -123
  103. package/logger.d.ts +43 -16
  104. package/logger.js +219 -49
  105. package/package.json +9 -4
  106. package/rpc/index.d.ts +4 -3
  107. package/rpc/index.js +174 -134
  108. package/api/chia/types/blockchain_format/foliage.d.ts +0 -1
  109. package/api/chia/types/blockchain_format/pool_target.d.ts +0 -1
  110. package/api/chia/types/blockchain_format/reward_chain_block.d.ts +0 -1
  111. package/api/chia/types/blockchain_format/sized_bytes.d.ts +0 -8
  112. package/api/chia/wallet/dao_wallet/dao_info.d.ts +0 -39
  113. package/api/chia/wallet/dao_wallet/dao_wallet.d.ts +0 -35
  114. /package/api/chia/{types/blockchain_format/foliage.js → data_layer/singleton_record.js} +0 -0
  115. /package/api/{chia/types/blockchain_format/pool_target.js → chia_rs/chia-bls/lib.js} +0 -0
  116. /package/api/{chia/types/blockchain_format/reward_chain_block.js → chia_rs/chia-bls/secret_key.js} +0 -0
  117. /package/api/{chia/types/blockchain_format/sized_bytes.js → chia_rs/chia-bls/signature.js} +0 -0
  118. /package/api/{chia/wallet/dao_wallet/dao_info.js → chia_rs/wheel/python/sized_bytes.js} +0 -0
  119. /package/api/{chia/wallet/dao_wallet/dao_wallet.js → chia_rs/wheel/python/sized_ints.js} +0 -0
@@ -1,5 +1,6 @@
1
- import { bool, bytes, Optional, uint128, uint32, uint64 } from "../../../chia/types/_python_types_";
2
- import { bytes32 } from "../../../chia/types/blockchain_format/sized_bytes";
1
+ import { bool, bytes, Optional } from "../../../chia/types/_python_types_";
2
+ import { uint128, uint32, uint64 } from "../../wheel/python/sized_ints";
3
+ import { bytes32 } from "../../wheel/python/sized_bytes";
3
4
  import { PublicKey } from "../../chia-bls/public_key";
4
5
  export type SpendConditions = {
5
6
  coin_id: bytes32;
@@ -1,5 +1,6 @@
1
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
2
- import { bool, Optional, uint128, uint32, uint64, uint8 } from "../../chia/types/_python_types_";
1
+ import { bytes32 } from "../wheel/python/sized_bytes";
2
+ import { bool, Optional } from "../../chia/types/_python_types_";
3
+ import { uint128, uint32, uint64, uint8 } from "../wheel/python/sized_ints";
3
4
  import { ClassgroupElement } from "./classgroup";
4
5
  import { Coin } from "./coin";
5
6
  import { SubEpochSummary } from "./sub_epoch_summary";
@@ -1,4 +1,4 @@
1
- import { bytes100 } from "../../chia/types/blockchain_format/sized_bytes";
1
+ import { bytes100 } from "../wheel/python/sized_bytes";
2
2
  export type ClassgroupElement = {
3
3
  data: bytes100;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
2
- import { uint64 } from "../../chia/types/_python_types_";
1
+ import { bytes32 } from "../wheel/python/sized_bytes";
2
+ import { uint64 } from "../wheel/python/sized_ints";
3
3
  export type Coin = {
4
4
  parent_coin_info: bytes32;
5
5
  puzzle_hash: bytes32;
@@ -1,5 +1,7 @@
1
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
2
- import { G2Element, Optional, uint64 } from "../../chia/types/_python_types_";
1
+ import { bytes32 } from "../wheel/python/sized_bytes";
2
+ import { Optional } from "../../chia/types/_python_types_";
3
+ import { G2Element } from "../chia-bls/lib";
4
+ import { uint64 } from "../wheel/python/sized_ints";
3
5
  import { PoolTarget } from "./pool_target";
4
6
  import { Coin } from "./coin";
5
7
  export type Foliage = {
@@ -1,4 +1,5 @@
1
- import { Optional, uint32 } from "../../chia/types/_python_types_";
1
+ import { Optional } from "../../chia/types/_python_types_";
2
+ import { uint32 } from "../wheel/python/sized_ints";
2
3
  import { EndOfSubSlotBundle } from "./end_of_sub_slot_bundle";
3
4
  import { RewardChainBlock } from "./reward_chain_block";
4
5
  import { VDFProof } from "./vdf";
@@ -1,5 +1,5 @@
1
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
2
- import { uint32 } from "../../chia/types/_python_types_";
1
+ import { bytes32 } from "../wheel/python/sized_bytes";
2
+ import { uint32 } from "../wheel/python/sized_ints";
3
3
  export type PoolTarget = {
4
4
  puzzle_hash: bytes32;
5
5
  max_height: uint32;
@@ -1,5 +1,7 @@
1
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
2
- import { bytes, G1Element, Optional, uint8 } from "../../chia/types/_python_types_";
1
+ import { bytes32 } from "../wheel/python/sized_bytes";
2
+ import { bytes, Optional } from "../../chia/types/_python_types_";
3
+ import { G1Element } from "../chia-bls/lib";
4
+ import { uint8 } from "../wheel/python/sized_ints";
3
5
  export type ProofOfSpace = {
4
6
  challenge: bytes32;
5
7
  pool_public_key: Optional<G1Element>;
@@ -1,5 +1,7 @@
1
- import { bool, G2Element, Optional, uint128, uint32, uint8 } from "../../chia/types/_python_types_";
2
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
1
+ import { bool, Optional } from "../../chia/types/_python_types_";
2
+ import { G2Element } from "../chia-bls/lib";
3
+ import { uint128, uint32, uint8 } from "../wheel/python/sized_ints";
4
+ import { bytes32 } from "../wheel/python/sized_bytes";
3
5
  import { ProofOfSpace } from "./proof_of_space";
4
6
  import { VDFInfo } from "./vdf";
5
7
  export type RewardChainBlockUnfinished = {
@@ -1,5 +1,6 @@
1
- import { Optional, uint64, uint8 } from "../../chia/types/_python_types_";
2
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
1
+ import { Optional } from "../../chia/types/_python_types_";
2
+ import { uint64, uint8 } from "../wheel/python/sized_ints";
3
+ import { bytes32 } from "../wheel/python/sized_bytes";
3
4
  import { VDFInfo, VDFProof } from "./vdf";
4
5
  export type ChallengeChainSubSlot = {
5
6
  challenge_chain_end_of_slot_vdf: VDFInfo;
@@ -1,5 +1,5 @@
1
1
  import { CoinSpend } from "./coin_spend";
2
- import { G2Element } from "../../chia/types/_python_types_";
2
+ import { G2Element } from "../chia-bls/lib";
3
3
  export type SpendBundle = {
4
4
  coin_spends: CoinSpend[];
5
5
  aggregated_signature: G2Element;
@@ -1,5 +1,6 @@
1
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
2
- import { Optional, uint64, uint8 } from "../../chia/types/_python_types_";
1
+ import { bytes32 } from "../wheel/python/sized_bytes";
2
+ import { Optional } from "../../chia/types/_python_types_";
3
+ import { uint64, uint8 } from "../wheel/python/sized_ints";
3
4
  export type SubEpochSummary = {
4
5
  prev_subepoch_summary_hash: bytes32;
5
6
  reward_chain_hash: bytes32;
@@ -1,4 +1,5 @@
1
- import { Optional, uint32 } from "../../chia/types/_python_types_";
1
+ import { Optional } from "../../chia/types/_python_types_";
2
+ import { uint32 } from "../wheel/python/sized_ints";
2
3
  import { VDFProof } from "./vdf";
3
4
  import { Foliage, FoliageTransactionBlock, TransactionsInfo } from "./foliage";
4
5
  import { RewardChainBlockUnfinished } from "./reward_chain_block";
@@ -1,5 +1,6 @@
1
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
2
- import { bool, bytes, uint64, uint8 } from "../../chia/types/_python_types_";
1
+ import { bytes32 } from "../wheel/python/sized_bytes";
2
+ import { bool, bytes } from "../../chia/types/_python_types_";
3
+ import { uint64, uint8 } from "../wheel/python/sized_ints";
3
4
  import { ClassgroupElement } from "./classgroup";
4
5
  export type VDFInfo = {
5
6
  challenge: bytes32;
@@ -0,0 +1,7 @@
1
+ export type bytes4 = string;
2
+ export type bytes8 = string;
3
+ export type bytes32 = string;
4
+ export type bytes48 = string;
5
+ export type bytes96 = string;
6
+ export type bytes100 = string;
7
+ export type bytes480 = string;
@@ -0,0 +1,11 @@
1
+ export type int = number;
2
+ export type int8 = number;
3
+ export type uint8 = number;
4
+ export type int16 = number;
5
+ export type uint16 = number;
6
+ export type int32 = number;
7
+ export type uint32 = number;
8
+ export type int64 = number | bigint;
9
+ export type uint64 = number | bigint;
10
+ export type uint128 = number | bigint;
11
+ export type int512 = number | bigint;
@@ -1,5 +1,7 @@
1
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
2
- import { bool, G1Element, str, uint64 } from "../../chia/types/_python_types_";
1
+ import { bytes32 } from "../../chia_rs/wheel/python/sized_bytes";
2
+ import { bool, str } from "../../chia/types/_python_types_";
3
+ import { G1Element } from "../../chia_rs/chia-bls/lib";
4
+ import { uint64 } from "../../chia_rs/wheel/python/sized_ints";
3
5
  import { CoinSpend } from "../../chia/types/coin_spend";
4
6
  import { PoolState } from "../../chia/pools/pool_wallet_info";
5
7
  export type FarmerRecord = {
@@ -1,4 +1,5 @@
1
- import { bool, False, str, True, uint16 } from "../../chia/types/_python_types_";
1
+ import { bool, False, str, True } from "../../chia/types/_python_types_";
2
+ import { uint16 } from "../../chia_rs/wheel/python/sized_ints";
2
3
  import { TRPCAgent } from "../../../rpc/index";
3
4
  import { GetMessageType, ResType, TConnectionGeneral } from "../../types";
4
5
  import { TConnectionFullNode } from "../../ws/full_node/index";
@@ -1,90 +1,59 @@
1
1
  "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.reset_log_level = exports.reset_log_level_command = exports.set_log_level = exports.set_log_level_command = exports.get_log_level = exports.get_log_level_command = exports.healthz = exports.healthz_command = exports.get_version = exports.get_version_command = exports.get_routes = exports.get_routes_command = exports.stop_node = exports.stop_node_command = exports.close_connection = exports.close_connection_command = exports.open_connection = exports.open_connection_command = exports.get_connections = exports.get_connections_command = exports.get_network_info = exports.get_network_info_command = exports.chia_common_service = void 0;
3
+ exports.reset_log_level_command = exports.set_log_level_command = exports.get_log_level_command = exports.healthz_command = exports.get_version_command = exports.get_routes_command = exports.stop_node_command = exports.close_connection_command = exports.open_connection_command = exports.get_connections_command = exports.get_network_info_command = exports.chia_common_service = void 0;
4
+ exports.get_network_info = get_network_info;
5
+ exports.get_connections = get_connections;
6
+ exports.open_connection = open_connection;
7
+ exports.close_connection = close_connection;
8
+ exports.stop_node = stop_node;
9
+ exports.get_routes = get_routes;
10
+ exports.get_version = get_version;
11
+ exports.healthz = healthz;
12
+ exports.get_log_level = get_log_level;
13
+ exports.set_log_level = set_log_level;
14
+ exports.reset_log_level = reset_log_level;
13
15
  exports.chia_common_service = "";
14
16
  exports.get_network_info_command = "get_network_info";
15
- function get_network_info(agent) {
16
- return __awaiter(this, void 0, void 0, function* () {
17
- return agent.sendMessage(exports.chia_common_service, exports.get_network_info_command);
18
- });
17
+ async function get_network_info(agent) {
18
+ return agent.sendMessage(exports.chia_common_service, exports.get_network_info_command);
19
19
  }
20
- exports.get_network_info = get_network_info;
21
20
  exports.get_connections_command = "get_connections";
22
- function get_connections(agent, params) {
23
- return __awaiter(this, void 0, void 0, function* () {
24
- return agent.sendMessage(exports.chia_common_service, exports.get_connections_command, params);
25
- });
21
+ async function get_connections(agent, params) {
22
+ return agent.sendMessage(exports.chia_common_service, exports.get_connections_command, params);
26
23
  }
27
- exports.get_connections = get_connections;
28
24
  exports.open_connection_command = "open_connection";
29
- function open_connection(agent, params) {
30
- return __awaiter(this, void 0, void 0, function* () {
31
- return agent.sendMessage(exports.chia_common_service, exports.open_connection_command, params);
32
- });
25
+ async function open_connection(agent, params) {
26
+ return agent.sendMessage(exports.chia_common_service, exports.open_connection_command, params);
33
27
  }
34
- exports.open_connection = open_connection;
35
28
  exports.close_connection_command = "close_connection";
36
- function close_connection(agent, params) {
37
- return __awaiter(this, void 0, void 0, function* () {
38
- return agent.sendMessage(exports.chia_common_service, exports.close_connection_command, params);
39
- });
29
+ async function close_connection(agent, params) {
30
+ return agent.sendMessage(exports.chia_common_service, exports.close_connection_command, params);
40
31
  }
41
- exports.close_connection = close_connection;
42
32
  exports.stop_node_command = "stop_node";
43
- function stop_node(agent) {
44
- return __awaiter(this, void 0, void 0, function* () {
45
- return agent.sendMessage(exports.chia_common_service, exports.stop_node_command);
46
- });
33
+ async function stop_node(agent) {
34
+ return agent.sendMessage(exports.chia_common_service, exports.stop_node_command);
47
35
  }
48
- exports.stop_node = stop_node;
49
36
  exports.get_routes_command = "get_routes";
50
- function get_routes(agent) {
51
- return __awaiter(this, void 0, void 0, function* () {
52
- return agent.sendMessage(exports.chia_common_service, exports.get_routes_command);
53
- });
37
+ async function get_routes(agent) {
38
+ return agent.sendMessage(exports.chia_common_service, exports.get_routes_command);
54
39
  }
55
- exports.get_routes = get_routes;
56
40
  exports.get_version_command = "get_version";
57
- function get_version(agent) {
58
- return __awaiter(this, void 0, void 0, function* () {
59
- return agent.sendMessage(exports.chia_common_service, exports.get_version_command);
60
- });
41
+ async function get_version(agent) {
42
+ return agent.sendMessage(exports.chia_common_service, exports.get_version_command);
61
43
  }
62
- exports.get_version = get_version;
63
44
  exports.healthz_command = "healthz";
64
- function healthz(agent) {
65
- return __awaiter(this, void 0, void 0, function* () {
66
- return agent.sendMessage(exports.chia_common_service, exports.healthz_command);
67
- });
45
+ async function healthz(agent) {
46
+ return agent.sendMessage(exports.chia_common_service, exports.healthz_command);
68
47
  }
69
- exports.healthz = healthz;
70
48
  exports.get_log_level_command = "get_log_level";
71
- function get_log_level(agent) {
72
- return __awaiter(this, void 0, void 0, function* () {
73
- return agent.sendMessage(exports.chia_common_service, exports.get_log_level_command);
74
- });
49
+ async function get_log_level(agent) {
50
+ return agent.sendMessage(exports.chia_common_service, exports.get_log_level_command);
75
51
  }
76
- exports.get_log_level = get_log_level;
77
52
  exports.set_log_level_command = "set_log_level";
78
- function set_log_level(agent, params) {
79
- return __awaiter(this, void 0, void 0, function* () {
80
- return agent.sendMessage(exports.chia_common_service, exports.set_log_level_command, params);
81
- });
53
+ async function set_log_level(agent, params) {
54
+ return agent.sendMessage(exports.chia_common_service, exports.set_log_level_command, params);
82
55
  }
83
- exports.set_log_level = set_log_level;
84
56
  exports.reset_log_level_command = "reset_log_level";
85
- function reset_log_level(agent) {
86
- return __awaiter(this, void 0, void 0, function* () {
87
- return agent.sendMessage(exports.chia_common_service, exports.reset_log_level_command);
88
- });
57
+ async function reset_log_level(agent) {
58
+ return agent.sendMessage(exports.chia_common_service, exports.reset_log_level_command);
89
59
  }
90
- exports.reset_log_level = reset_log_level;
@@ -1,5 +1,6 @@
1
- import { int, str, uint64 } from "../../chia/types/_python_types_";
2
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
1
+ import { str } from "../../chia/types/_python_types_";
2
+ import { int, uint64 } from "../../chia_rs/wheel/python/sized_ints";
3
+ import { bytes32 } from "../../chia_rs/wheel/python/sized_bytes";
3
4
  import { TRPCAgent } from "../../../rpc/index";
4
5
  import { TDaemon } from "../../../daemon/index";
5
6
  import { GetMessageType, ResType } from "../../types";
@@ -1,27 +1,14 @@
1
1
  "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
2
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.get_ips_after_timestamp = exports.get_ips_after_timestamp_command = exports.get_peer_counts = exports.get_peer_counts_command = exports.chia_crawler_service = void 0;
3
+ exports.get_ips_after_timestamp_command = exports.get_peer_counts_command = exports.chia_crawler_service = void 0;
4
+ exports.get_peer_counts = get_peer_counts;
5
+ exports.get_ips_after_timestamp = get_ips_after_timestamp;
13
6
  exports.chia_crawler_service = "chia_crawler";
14
7
  exports.get_peer_counts_command = "get_peer_counts";
15
- function get_peer_counts(agent) {
16
- return __awaiter(this, void 0, void 0, function* () {
17
- return agent.sendMessage(exports.chia_crawler_service, exports.get_peer_counts_command);
18
- });
8
+ async function get_peer_counts(agent) {
9
+ return agent.sendMessage(exports.chia_crawler_service, exports.get_peer_counts_command);
19
10
  }
20
- exports.get_peer_counts = get_peer_counts;
21
11
  exports.get_ips_after_timestamp_command = "get_ips_after_timestamp";
22
- function get_ips_after_timestamp(agent, params) {
23
- return __awaiter(this, void 0, void 0, function* () {
24
- return agent.sendMessage(exports.chia_crawler_service, exports.get_ips_after_timestamp_command, params);
25
- });
12
+ async function get_ips_after_timestamp(agent, params) {
13
+ return agent.sendMessage(exports.chia_crawler_service, exports.get_ips_after_timestamp_command, params);
26
14
  }
27
- exports.get_ips_after_timestamp = get_ips_after_timestamp;
@@ -1,7 +1,8 @@
1
1
  import { TRPCAgent } from "../../../rpc/index";
2
- import { bool, bytes, int, None, Optional, str, uint64 } from "../../chia/types/_python_types_";
2
+ import { bool, bytes, None, Optional, str } from "../../chia/types/_python_types_";
3
+ import { int, uint64 } from "../../chia_rs/wheel/python/sized_ints";
3
4
  import { TransactionRecord } from "../../chia/wallet/transaction_record";
4
- import { bytes32 } from "../../chia/types/blockchain_format/sized_bytes";
5
+ import { bytes32 } from "../../chia_rs/wheel/python/sized_bytes";
5
6
  import { DLProof, OfferMarshalled, OfferStoreMarshalled, PluginStatusMarshalled, RootMarshalled, SyncStatus, VerifyProofResponse } from "../../chia/data_layer/data_layer_util";
6
7
  import { GetMessageType, ResType } from "../../types";
7
8
  import { TDaemon } from "../../../daemon/index";