chia-agent 13.2.0-beta.0 → 13.2.0-beta.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.
- package/CHANGELOG.md +8 -0
- package/api/chia/consensus/block_record.d.ts +32 -32
- package/api/chia/consensus/block_record.js +2 -2
- package/api/chia/consensus/blockchain.d.ts +1 -1
- package/api/chia/consensus/blockchain.js +2 -2
- package/api/chia/consensus/cost_calculator.d.ts +7 -7
- package/api/chia/consensus/cost_calculator.js +2 -2
- package/api/chia/data_layer/data_layer_util.d.ts +49 -49
- package/api/chia/data_layer/data_layer_util.js +2 -2
- package/api/chia/data_layer/data_layer_wallet.d.ts +21 -21
- package/api/chia/data_layer/data_layer_wallet.js +2 -2
- package/api/chia/farmer/farmer.d.ts +26 -26
- package/api/chia/farmer/farmer.js +3 -3
- package/api/chia/farmer/farmer_api.js +2 -2
- package/api/chia/full_node/signage_point.d.ts +8 -8
- package/api/chia/full_node/signage_point.js +2 -2
- package/api/chia/harvester/harvester.d.ts +13 -13
- package/api/chia/harvester/harvester.js +2 -2
- package/api/chia/harvester/harvester_api.js +2 -2
- package/api/chia/plot-sync/receiver.d.ts +25 -25
- package/api/chia/plot-sync/receiver.js +2 -2
- package/api/chia/plotters/bladebit.d.ts +10 -10
- package/api/chia/plotters/bladebit.js +4 -4
- package/api/chia/plotters/chiapos.d.ts +7 -7
- package/api/chia/plotters/chiapos.js +4 -4
- package/api/chia/plotters/maxmax.d.ts +8 -8
- package/api/chia/plotters/maxmax.js +4 -4
- package/api/chia/plotting/util.d.ts +3 -3
- package/api/chia/plotting/util.js +2 -2
- package/api/chia/pool/store.d.ts +17 -17
- package/api/chia/pool/store.js +2 -2
- package/api/chia/pools/pool_config.d.ts +10 -10
- package/api/chia/pools/pool_config.js +2 -2
- package/api/chia/pools/pool_wallet_info.d.ts +22 -22
- package/api/chia/pools/pool_wallet_info.js +2 -2
- package/api/chia/protocols/farmer_protocol.d.ts +43 -43
- package/api/chia/protocols/farmer_protocol.js +2 -2
- package/api/chia/protocols/harvester_protocol.d.ts +12 -12
- package/api/chia/protocols/harvester_protocol.js +2 -2
- package/api/chia/protocols/pool_protocol.d.ts +93 -93
- package/api/chia/protocols/pool_protocol.js +21 -21
- package/api/chia/server/outbound_message.d.ts +1 -1
- package/api/chia/server/outbound_message.js +2 -2
- package/api/chia/timelord/types.d.ts +1 -1
- package/api/chia/timelord/types.js +2 -2
- package/api/chia/types/_python_types_.d.ts +22 -22
- package/api/chia/types/_python_types_.js +2 -2
- package/api/chia/types/blockchain_format/classgroup.d.ts +4 -4
- package/api/chia/types/blockchain_format/classgroup.js +2 -2
- package/api/chia/types/blockchain_format/coin.d.ts +11 -11
- package/api/chia/types/blockchain_format/coin.js +2 -2
- package/api/chia/types/blockchain_format/foliage.d.ts +35 -35
- package/api/chia/types/blockchain_format/foliage.js +2 -2
- package/api/chia/types/blockchain_format/pool_target.d.ts +6 -6
- package/api/chia/types/blockchain_format/pool_target.js +2 -2
- package/api/chia/types/blockchain_format/program.d.ts +1 -1
- package/api/chia/types/blockchain_format/program.js +2 -2
- package/api/chia/types/blockchain_format/proof_of_space.d.ts +10 -10
- package/api/chia/types/blockchain_format/proof_of_space.js +2 -2
- package/api/chia/types/blockchain_format/reward_chain_block.d.ts +30 -30
- package/api/chia/types/blockchain_format/reward_chain_block.js +2 -2
- package/api/chia/types/blockchain_format/serialized_program.d.ts +2 -2
- package/api/chia/types/blockchain_format/serialized_program.js +2 -2
- package/api/chia/types/blockchain_format/sized_bytes.d.ts +8 -8
- package/api/chia/types/blockchain_format/sized_bytes.js +2 -2
- package/api/chia/types/blockchain_format/slots.d.ts +24 -24
- package/api/chia/types/blockchain_format/slots.js +2 -2
- package/api/chia/types/blockchain_format/sub_epoch_summary.d.ts +9 -9
- package/api/chia/types/blockchain_format/sub_epoch_summary.js +2 -2
- package/api/chia/types/blockchain_format/vdf.d.ts +13 -13
- package/api/chia/types/blockchain_format/vdf.js +2 -2
- package/api/chia/types/clvm_cost.d.ts +2 -2
- package/api/chia/types/clvm_cost.js +2 -2
- package/api/chia/types/coin_record.d.ts +12 -12
- package/api/chia/types/coin_record.js +2 -2
- package/api/chia/types/coin_spend.d.ts +7 -7
- package/api/chia/types/coin_spend.js +2 -2
- package/api/chia/types/coin_spend_with_conditions.d.ts +6 -6
- package/api/chia/types/coin_spend_with_conditions.js +2 -2
- package/api/chia/types/condition_opcode.d.ts +2 -2
- package/api/chia/types/condition_opcode.js +2 -2
- package/api/chia/types/condition_with_args.d.ts +6 -6
- package/api/chia/types/condition_with_args.js +2 -2
- package/api/chia/types/end_of_slot_bundle.d.ts +8 -8
- package/api/chia/types/end_of_slot_bundle.js +2 -2
- package/api/chia/types/full_block.d.ts +20 -20
- package/api/chia/types/full_block.js +2 -2
- package/api/chia/types/mempool_item.d.ts +32 -32
- package/api/chia/types/mempool_item.js +2 -2
- package/api/chia/types/mojos.d.ts +2 -2
- package/api/chia/types/mojos.js +2 -2
- package/api/chia/types/signing_mode.d.ts +4 -4
- package/api/chia/types/signing_mode.js +2 -2
- package/api/chia/types/spend_bundle.d.ts +6 -6
- package/api/chia/types/spend_bundle.js +2 -2
- package/api/chia/types/spend_bundle_condition.d.ts +26 -26
- package/api/chia/types/spend_bundle_condition.js +2 -2
- package/api/chia/types/unfinished_header_block.d.ts +14 -14
- package/api/chia/types/unfinished_header_block.js +2 -2
- package/api/chia/util/keychain.d.ts +12 -12
- package/api/chia/util/keychain.js +2 -2
- package/api/chia/util/misc.d.ts +5 -5
- package/api/chia/util/misc.js +2 -2
- package/api/chia/wallet/cat_wallet/cat_constants.d.ts +6 -6
- package/api/chia/wallet/cat_wallet/cat_constants.js +2 -2
- package/api/chia/wallet/conditions.d.ts +12 -12
- package/api/chia/wallet/conditions.js +2 -2
- package/api/chia/wallet/lineage_proof.d.ts +7 -7
- package/api/chia/wallet/lineage_proof.js +2 -2
- package/api/chia/wallet/nft_wallet/nft_info.d.ts +28 -28
- package/api/chia/wallet/nft_wallet/nft_info.js +2 -2
- package/api/chia/wallet/puzzle_drivers.d.ts +6 -6
- package/api/chia/wallet/puzzle_drivers.js +2 -2
- package/api/chia/wallet/puzzles/clawback/metadata.d.ts +13 -13
- package/api/chia/wallet/puzzles/clawback/metadata.js +2 -2
- package/api/chia/wallet/trade_record.d.ts +31 -31
- package/api/chia/wallet/trade_record.js +3 -3
- package/api/chia/wallet/transaction_record.d.ts +37 -37
- package/api/chia/wallet/transaction_record.js +2 -2
- package/api/chia/wallet/util/quality_filter.d.ts +22 -22
- package/api/chia/wallet/util/quality_filter.js +2 -2
- package/api/chia/wallet/util/tx_config.d.ts +24 -24
- package/api/chia/wallet/util/tx_config.js +2 -2
- package/api/chia/wallet/util/wallet_types.d.ts +27 -27
- package/api/chia/wallet/util/wallet_types.js +27 -27
- package/api/chia/wallet/vc_wallet/vc_drivers.d.ts +16 -16
- package/api/chia/wallet/vc_wallet/vc_drivers.js +2 -2
- package/api/chia/wallet/vc_wallet/vc_store.d.ts +6 -6
- package/api/chia/wallet/vc_wallet/vc_store.js +2 -2
- package/api/chia/wallet/wallet_coin_record.d.ts +25 -25
- package/api/chia/wallet/wallet_coin_record.js +2 -2
- package/api/chia/wallet/wallet_coin_store.d.ts +19 -19
- package/api/chia/wallet/wallet_coin_store.js +2 -2
- package/api/chia/wallet/wallet_info.d.ts +10 -10
- package/api/chia/wallet/wallet_info.js +2 -2
- package/api/chia/wallet/wallet_node.d.ts +10 -10
- package/api/chia/wallet/wallet_node.js +2 -2
- package/api/rpc/common/index.d.ts +61 -61
- package/api/rpc/common/index.js +55 -55
- package/api/rpc/crawler/index.d.ts +35 -35
- package/api/rpc/crawler/index.js +27 -27
- package/api/rpc/data_layer/index.d.ts +357 -357
- package/api/rpc/data_layer/index.js +224 -224
- package/api/rpc/farmer/index.d.ts +183 -183
- package/api/rpc/farmer/index.js +104 -104
- package/api/rpc/full_node/index.d.ts +456 -456
- package/api/rpc/full_node/index.js +274 -274
- package/api/rpc/harvester/index.d.ts +87 -87
- package/api/rpc/harvester/index.js +69 -69
- package/api/rpc/index.d.ts +15 -15
- package/api/rpc/index.js +234 -234
- package/api/rpc/pool/index.d.ts +32 -32
- package/api/rpc/pool/index.js +48 -48
- package/api/rpc/wallet/index.d.ts +1788 -1788
- package/api/rpc/wallet/index.js +886 -886
- package/api/types.d.ts +28 -28
- package/api/types.js +5 -5
- package/api/ws/chia_plots_create/index.d.ts +17 -17
- package/api/ws/chia_plots_create/index.js +38 -38
- package/api/ws/crawler/index.d.ts +28 -28
- package/api/ws/crawler/index.js +40 -40
- package/api/ws/daemon/index.d.ts +608 -608
- package/api/ws/daemon/index.js +282 -282
- package/api/ws/farmer/index.d.ts +93 -93
- package/api/ws/farmer/index.js +159 -159
- package/api/ws/full_node/index.d.ts +79 -79
- package/api/ws/full_node/index.js +78 -78
- package/api/ws/harvester/index.d.ts +47 -47
- package/api/ws/harvester/index.js +91 -91
- package/api/ws/index.d.ts +17 -17
- package/api/ws/index.js +94 -94
- package/api/ws/timelord/index.d.ts +43 -43
- package/api/ws/timelord/index.js +66 -66
- package/api/ws/wallet/index.d.ts +69 -69
- package/api/ws/wallet/index.js +108 -108
- package/bin/cli.d.ts +2 -2
- package/bin/cli.js +81 -81
- package/config/index.d.ts +39 -39
- package/config/index.js +95 -95
- package/daemon/connection.d.ts +6 -6
- package/daemon/connection.js +49 -49
- package/daemon/index.d.ts +61 -61
- package/daemon/index.js +292 -292
- package/index.d.ts +4 -4
- package/index.js +16 -16
- package/logger.d.ts +22 -22
- package/logger.js +77 -77
- package/package.json +1 -1
- package/rpc/index.d.ts +59 -57
- package/rpc/index.js +262 -255
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { bytes32 } from "./sized_bytes";
|
|
2
|
-
import { bytes, G1Element, Optional, uint8 } from "../_python_types_";
|
|
3
|
-
export declare type ProofOfSpace = {
|
|
4
|
-
challenge: bytes32;
|
|
5
|
-
pool_public_key: Optional<G1Element>;
|
|
6
|
-
pool_contract_puzzle_hash: Optional<bytes32>;
|
|
7
|
-
plot_public_key: G1Element;
|
|
8
|
-
size: uint8;
|
|
9
|
-
proof: bytes;
|
|
10
|
-
};
|
|
1
|
+
import { bytes32 } from "./sized_bytes";
|
|
2
|
+
import { bytes, G1Element, Optional, uint8 } from "../_python_types_";
|
|
3
|
+
export declare type ProofOfSpace = {
|
|
4
|
+
challenge: bytes32;
|
|
5
|
+
pool_public_key: Optional<G1Element>;
|
|
6
|
+
pool_contract_puzzle_hash: Optional<bytes32>;
|
|
7
|
+
plot_public_key: G1Element;
|
|
8
|
+
size: uint8;
|
|
9
|
+
proof: bytes;
|
|
10
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { ProofOfSpace } from "./proof_of_space";
|
|
2
|
-
import { VDFInfo } from "./vdf";
|
|
3
|
-
import { bool, G2Element, Optional, uint128, uint32, uint8 } from "../_python_types_";
|
|
4
|
-
import { bytes32 } from "./sized_bytes";
|
|
5
|
-
export declare type RewardChainBlockUnfinished = {
|
|
6
|
-
total_iters: uint128;
|
|
7
|
-
signage_point_index: uint8;
|
|
8
|
-
pos_ss_cc_challenge_hash: bytes32;
|
|
9
|
-
proof_of_space: ProofOfSpace;
|
|
10
|
-
challenge_chain_sp_vdf: Optional<VDFInfo>;
|
|
11
|
-
challenge_chain_sp_signature: G2Element;
|
|
12
|
-
reward_chain_sp_vdf: Optional<VDFInfo>;
|
|
13
|
-
reward_chain_sp_signature: G2Element;
|
|
14
|
-
};
|
|
15
|
-
export declare type RewardChainBlock = {
|
|
16
|
-
weight: uint128;
|
|
17
|
-
height: uint32;
|
|
18
|
-
total_iters: uint128;
|
|
19
|
-
signage_point_index: uint8;
|
|
20
|
-
pos_ss_cc_challenge_hash: bytes32;
|
|
21
|
-
proof_of_space: ProofOfSpace;
|
|
22
|
-
challenge_chain_sp_vdf: Optional<VDFInfo>;
|
|
23
|
-
challenge_chain_sp_signature: G2Element;
|
|
24
|
-
challenge_chain_ip_vdf: VDFInfo;
|
|
25
|
-
reward_chain_sp_vdf: Optional<VDFInfo>;
|
|
26
|
-
reward_chain_sp_signature: G2Element;
|
|
27
|
-
reward_chain_ip_vdf: VDFInfo;
|
|
28
|
-
infused_challenge_chain_ip_vdf: Optional<VDFInfo>;
|
|
29
|
-
is_transaction_block: bool;
|
|
30
|
-
};
|
|
1
|
+
import { ProofOfSpace } from "./proof_of_space";
|
|
2
|
+
import { VDFInfo } from "./vdf";
|
|
3
|
+
import { bool, G2Element, Optional, uint128, uint32, uint8 } from "../_python_types_";
|
|
4
|
+
import { bytes32 } from "./sized_bytes";
|
|
5
|
+
export declare type RewardChainBlockUnfinished = {
|
|
6
|
+
total_iters: uint128;
|
|
7
|
+
signage_point_index: uint8;
|
|
8
|
+
pos_ss_cc_challenge_hash: bytes32;
|
|
9
|
+
proof_of_space: ProofOfSpace;
|
|
10
|
+
challenge_chain_sp_vdf: Optional<VDFInfo>;
|
|
11
|
+
challenge_chain_sp_signature: G2Element;
|
|
12
|
+
reward_chain_sp_vdf: Optional<VDFInfo>;
|
|
13
|
+
reward_chain_sp_signature: G2Element;
|
|
14
|
+
};
|
|
15
|
+
export declare type RewardChainBlock = {
|
|
16
|
+
weight: uint128;
|
|
17
|
+
height: uint32;
|
|
18
|
+
total_iters: uint128;
|
|
19
|
+
signage_point_index: uint8;
|
|
20
|
+
pos_ss_cc_challenge_hash: bytes32;
|
|
21
|
+
proof_of_space: ProofOfSpace;
|
|
22
|
+
challenge_chain_sp_vdf: Optional<VDFInfo>;
|
|
23
|
+
challenge_chain_sp_signature: G2Element;
|
|
24
|
+
challenge_chain_ip_vdf: VDFInfo;
|
|
25
|
+
reward_chain_sp_vdf: Optional<VDFInfo>;
|
|
26
|
+
reward_chain_sp_signature: G2Element;
|
|
27
|
+
reward_chain_ip_vdf: VDFInfo;
|
|
28
|
+
infused_challenge_chain_ip_vdf: Optional<VDFInfo>;
|
|
29
|
+
is_transaction_block: bool;
|
|
30
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { str } from "../_python_types_";
|
|
2
|
-
export declare type SerializedProgram = str;
|
|
1
|
+
import { str } from "../_python_types_";
|
|
2
|
+
export declare type SerializedProgram = str;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { str } from "../_python_types_";
|
|
2
|
-
export declare type bytes4 = str;
|
|
3
|
-
export declare type bytes8 = str;
|
|
4
|
-
export declare type bytes32 = str;
|
|
5
|
-
export declare type bytes48 = str;
|
|
6
|
-
export declare type bytes96 = str;
|
|
7
|
-
export declare type bytes100 = str;
|
|
8
|
-
export declare type bytes480 = str;
|
|
1
|
+
import { str } from "../_python_types_";
|
|
2
|
+
export declare type bytes4 = str;
|
|
3
|
+
export declare type bytes8 = str;
|
|
4
|
+
export declare type bytes32 = str;
|
|
5
|
+
export declare type bytes48 = str;
|
|
6
|
+
export declare type bytes96 = str;
|
|
7
|
+
export declare type bytes100 = str;
|
|
8
|
+
export declare type bytes480 = str;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { VDFInfo, VDFProof } from "./vdf";
|
|
2
|
-
import { bytes32 } from "./sized_bytes";
|
|
3
|
-
import { Optional, uint64, uint8 } from "../_python_types_";
|
|
4
|
-
export declare type ChallengeChainSubSlot = {
|
|
5
|
-
challenge_chain_end_of_slot_vdf: VDFInfo;
|
|
6
|
-
infused_challenge_chain_sub_slot_hash: Optional<bytes32>;
|
|
7
|
-
subepoch_summary_hash: Optional<bytes32>;
|
|
8
|
-
new_sub_slot_iters: Optional<uint64>;
|
|
9
|
-
new_difficulty: Optional<uint64>;
|
|
10
|
-
};
|
|
11
|
-
export declare type InfusedChallengeChainSubSlot = {
|
|
12
|
-
infused_challenge_chain_end_of_slot_vdf: VDFInfo;
|
|
13
|
-
};
|
|
14
|
-
export declare type RewardChainSubSlot = {
|
|
15
|
-
end_of_slot_vdf: VDFInfo;
|
|
16
|
-
challenge_chain_sub_slot_hash: bytes32;
|
|
17
|
-
infused_challenge_chain_sub_slot_hash: Optional<bytes32>;
|
|
18
|
-
deficit: uint8;
|
|
19
|
-
};
|
|
20
|
-
export declare type SubSlotProofs = {
|
|
21
|
-
challenge_chain_slot_proof: VDFProof;
|
|
22
|
-
infused_challenge_chain_slot_proof: Optional<VDFProof>;
|
|
23
|
-
reward_chain_slot_proof: VDFProof;
|
|
24
|
-
};
|
|
1
|
+
import { VDFInfo, VDFProof } from "./vdf";
|
|
2
|
+
import { bytes32 } from "./sized_bytes";
|
|
3
|
+
import { Optional, uint64, uint8 } from "../_python_types_";
|
|
4
|
+
export declare type ChallengeChainSubSlot = {
|
|
5
|
+
challenge_chain_end_of_slot_vdf: VDFInfo;
|
|
6
|
+
infused_challenge_chain_sub_slot_hash: Optional<bytes32>;
|
|
7
|
+
subepoch_summary_hash: Optional<bytes32>;
|
|
8
|
+
new_sub_slot_iters: Optional<uint64>;
|
|
9
|
+
new_difficulty: Optional<uint64>;
|
|
10
|
+
};
|
|
11
|
+
export declare type InfusedChallengeChainSubSlot = {
|
|
12
|
+
infused_challenge_chain_end_of_slot_vdf: VDFInfo;
|
|
13
|
+
};
|
|
14
|
+
export declare type RewardChainSubSlot = {
|
|
15
|
+
end_of_slot_vdf: VDFInfo;
|
|
16
|
+
challenge_chain_sub_slot_hash: bytes32;
|
|
17
|
+
infused_challenge_chain_sub_slot_hash: Optional<bytes32>;
|
|
18
|
+
deficit: uint8;
|
|
19
|
+
};
|
|
20
|
+
export declare type SubSlotProofs = {
|
|
21
|
+
challenge_chain_slot_proof: VDFProof;
|
|
22
|
+
infused_challenge_chain_slot_proof: Optional<VDFProof>;
|
|
23
|
+
reward_chain_slot_proof: VDFProof;
|
|
24
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { bytes32 } from "./sized_bytes";
|
|
2
|
-
import { Optional, uint64, uint8 } from "../_python_types_";
|
|
3
|
-
export declare type SubEpochSummary = {
|
|
4
|
-
prev_subepoch_summary_hash: bytes32;
|
|
5
|
-
reward_chain_hash: bytes32;
|
|
6
|
-
num_blocks_overflow: uint8;
|
|
7
|
-
new_difficulty: Optional<uint64>;
|
|
8
|
-
new_sub_slot_iters: Optional<uint64>;
|
|
9
|
-
};
|
|
1
|
+
import { bytes32 } from "./sized_bytes";
|
|
2
|
+
import { Optional, uint64, uint8 } from "../_python_types_";
|
|
3
|
+
export declare type SubEpochSummary = {
|
|
4
|
+
prev_subepoch_summary_hash: bytes32;
|
|
5
|
+
reward_chain_hash: bytes32;
|
|
6
|
+
num_blocks_overflow: uint8;
|
|
7
|
+
new_difficulty: Optional<uint64>;
|
|
8
|
+
new_sub_slot_iters: Optional<uint64>;
|
|
9
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { ClassgroupElement } from "./classgroup";
|
|
2
|
-
import { bytes32 } from "./sized_bytes";
|
|
3
|
-
import { bool, bytes, uint64, uint8 } from "../_python_types_";
|
|
4
|
-
export declare type VDFInfo = {
|
|
5
|
-
challenge: bytes32;
|
|
6
|
-
number_of_iterations: uint64;
|
|
7
|
-
output: ClassgroupElement;
|
|
8
|
-
};
|
|
9
|
-
export declare type VDFProof = {
|
|
10
|
-
witness_type: uint8;
|
|
11
|
-
witness: bytes;
|
|
12
|
-
normalized_to_identity: bool;
|
|
13
|
-
};
|
|
1
|
+
import { ClassgroupElement } from "./classgroup";
|
|
2
|
+
import { bytes32 } from "./sized_bytes";
|
|
3
|
+
import { bool, bytes, uint64, uint8 } from "../_python_types_";
|
|
4
|
+
export declare type VDFInfo = {
|
|
5
|
+
challenge: bytes32;
|
|
6
|
+
number_of_iterations: uint64;
|
|
7
|
+
output: ClassgroupElement;
|
|
8
|
+
};
|
|
9
|
+
export declare type VDFProof = {
|
|
10
|
+
witness_type: uint8;
|
|
11
|
+
witness: bytes;
|
|
12
|
+
normalized_to_identity: bool;
|
|
13
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { uint64 } from "./_python_types_";
|
|
2
|
-
export declare type CLVMCost = uint64;
|
|
1
|
+
import { uint64 } from "./_python_types_";
|
|
2
|
+
export declare type CLVMCost = uint64;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Coin } from "./blockchain_format/coin";
|
|
2
|
-
import { bool, uint32, uint64 } from "./_python_types_";
|
|
3
|
-
export declare type CoinRecord = {
|
|
4
|
-
coin: Coin;
|
|
5
|
-
confirmed_block_index: uint32;
|
|
6
|
-
spent_block_index: uint32;
|
|
7
|
-
coinbase: bool;
|
|
8
|
-
timestamp: uint64;
|
|
9
|
-
};
|
|
10
|
-
export declare type CoinRecordBackwardCompatible = CoinRecord & {
|
|
11
|
-
spent: bool;
|
|
12
|
-
};
|
|
1
|
+
import { Coin } from "./blockchain_format/coin";
|
|
2
|
+
import { bool, uint32, uint64 } from "./_python_types_";
|
|
3
|
+
export declare type CoinRecord = {
|
|
4
|
+
coin: Coin;
|
|
5
|
+
confirmed_block_index: uint32;
|
|
6
|
+
spent_block_index: uint32;
|
|
7
|
+
coinbase: bool;
|
|
8
|
+
timestamp: uint64;
|
|
9
|
+
};
|
|
10
|
+
export declare type CoinRecordBackwardCompatible = CoinRecord & {
|
|
11
|
+
spent: bool;
|
|
12
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Coin } from "./blockchain_format/coin";
|
|
2
|
-
import { SerializedProgram } from "./blockchain_format/serialized_program";
|
|
3
|
-
export declare type CoinSpend = {
|
|
4
|
-
coin: Coin;
|
|
5
|
-
puzzle_reveal: SerializedProgram;
|
|
6
|
-
solution: SerializedProgram;
|
|
7
|
-
};
|
|
1
|
+
import { Coin } from "./blockchain_format/coin";
|
|
2
|
+
import { SerializedProgram } from "./blockchain_format/serialized_program";
|
|
3
|
+
export declare type CoinSpend = {
|
|
4
|
+
coin: Coin;
|
|
5
|
+
puzzle_reveal: SerializedProgram;
|
|
6
|
+
solution: SerializedProgram;
|
|
7
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CoinSpend } from "./coin_spend";
|
|
2
|
-
import { ConditionWithArgs } from "./condition_with_args";
|
|
3
|
-
export declare type CoinSpendWithConditions = {
|
|
4
|
-
coin_spend: CoinSpend;
|
|
5
|
-
conditions: ConditionWithArgs[];
|
|
6
|
-
};
|
|
1
|
+
import { CoinSpend } from "./coin_spend";
|
|
2
|
+
import { ConditionWithArgs } from "./condition_with_args";
|
|
3
|
+
export declare type CoinSpendWithConditions = {
|
|
4
|
+
coin_spend: CoinSpend;
|
|
5
|
+
conditions: ConditionWithArgs[];
|
|
6
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { str } from "./_python_types_";
|
|
2
|
-
export declare type ConditionOpcode = str;
|
|
1
|
+
import { str } from "./_python_types_";
|
|
2
|
+
export declare type ConditionOpcode = str;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { bytes } from "./_python_types_";
|
|
2
|
-
import { ConditionOpcode } from "./condition_opcode";
|
|
3
|
-
export declare type ConditionWithArgs = {
|
|
4
|
-
opcode: ConditionOpcode;
|
|
5
|
-
vars: bytes[];
|
|
6
|
-
};
|
|
1
|
+
import { bytes } from "./_python_types_";
|
|
2
|
+
import { ConditionOpcode } from "./condition_opcode";
|
|
3
|
+
export declare type ConditionWithArgs = {
|
|
4
|
+
opcode: ConditionOpcode;
|
|
5
|
+
vars: bytes[];
|
|
6
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ChallengeChainSubSlot, InfusedChallengeChainSubSlot, RewardChainSubSlot, SubSlotProofs } from "./blockchain_format/slots";
|
|
2
|
-
import { Optional } from "./_python_types_";
|
|
3
|
-
export declare type EndOfSubSlotBundle = {
|
|
4
|
-
challenge_chain: ChallengeChainSubSlot;
|
|
5
|
-
infused_challenge_chain: Optional<InfusedChallengeChainSubSlot>;
|
|
6
|
-
reward_chain: RewardChainSubSlot;
|
|
7
|
-
proofs: SubSlotProofs;
|
|
8
|
-
};
|
|
1
|
+
import { ChallengeChainSubSlot, InfusedChallengeChainSubSlot, RewardChainSubSlot, SubSlotProofs } from "./blockchain_format/slots";
|
|
2
|
+
import { Optional } from "./_python_types_";
|
|
3
|
+
export declare type EndOfSubSlotBundle = {
|
|
4
|
+
challenge_chain: ChallengeChainSubSlot;
|
|
5
|
+
infused_challenge_chain: Optional<InfusedChallengeChainSubSlot>;
|
|
6
|
+
reward_chain: RewardChainSubSlot;
|
|
7
|
+
proofs: SubSlotProofs;
|
|
8
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { EndOfSubSlotBundle } from "./end_of_slot_bundle";
|
|
2
|
-
import { RewardChainBlock } from "./blockchain_format/reward_chain_block";
|
|
3
|
-
import { VDFProof } from "./blockchain_format/vdf";
|
|
4
|
-
import { Foliage, FoliageTransactionBlock, TransactionsInfo } from "./blockchain_format/foliage";
|
|
5
|
-
import { Optional, uint32 } from "./_python_types_";
|
|
6
|
-
import { SerializedProgram } from "./blockchain_format/serialized_program";
|
|
7
|
-
export declare type FullBlock = {
|
|
8
|
-
finished_sub_slots: EndOfSubSlotBundle[];
|
|
9
|
-
reward_chain_block: RewardChainBlock;
|
|
10
|
-
challenge_chain_sp_proof: Optional<VDFProof>;
|
|
11
|
-
challenge_chain_ip_proof: VDFProof;
|
|
12
|
-
reward_chain_sp_proof: Optional<VDFProof>;
|
|
13
|
-
reward_chain_ip_proof: VDFProof;
|
|
14
|
-
infused_challenge_chain_ip_proof: Optional<VDFProof>;
|
|
15
|
-
foliage: Foliage;
|
|
16
|
-
foliage_transaction_block: Optional<FoliageTransactionBlock>;
|
|
17
|
-
transactions_info: Optional<TransactionsInfo>;
|
|
18
|
-
transactions_generator: Optional<SerializedProgram>;
|
|
19
|
-
transactions_generator_ref_list: uint32[];
|
|
20
|
-
};
|
|
1
|
+
import { EndOfSubSlotBundle } from "./end_of_slot_bundle";
|
|
2
|
+
import { RewardChainBlock } from "./blockchain_format/reward_chain_block";
|
|
3
|
+
import { VDFProof } from "./blockchain_format/vdf";
|
|
4
|
+
import { Foliage, FoliageTransactionBlock, TransactionsInfo } from "./blockchain_format/foliage";
|
|
5
|
+
import { Optional, uint32 } from "./_python_types_";
|
|
6
|
+
import { SerializedProgram } from "./blockchain_format/serialized_program";
|
|
7
|
+
export declare type FullBlock = {
|
|
8
|
+
finished_sub_slots: EndOfSubSlotBundle[];
|
|
9
|
+
reward_chain_block: RewardChainBlock;
|
|
10
|
+
challenge_chain_sp_proof: Optional<VDFProof>;
|
|
11
|
+
challenge_chain_ip_proof: VDFProof;
|
|
12
|
+
reward_chain_sp_proof: Optional<VDFProof>;
|
|
13
|
+
reward_chain_ip_proof: VDFProof;
|
|
14
|
+
infused_challenge_chain_ip_proof: Optional<VDFProof>;
|
|
15
|
+
foliage: Foliage;
|
|
16
|
+
foliage_transaction_block: Optional<FoliageTransactionBlock>;
|
|
17
|
+
transactions_info: Optional<TransactionsInfo>;
|
|
18
|
+
transactions_generator: Optional<SerializedProgram>;
|
|
19
|
+
transactions_generator_ref_list: uint32[];
|
|
20
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { SpendBundle } from "./spend_bundle";
|
|
2
|
-
import { Coin } from "./blockchain_format/coin";
|
|
3
|
-
import { bytes32 } from "./blockchain_format/sized_bytes";
|
|
4
|
-
import { NPCResult } from "../consensus/cost_calculator";
|
|
5
|
-
import { bool, Optional, uint32, uint64 } from "./_python_types_";
|
|
6
|
-
import { CoinSpend } from "./coin_spend";
|
|
7
|
-
export declare type BundleCoinSpend = {
|
|
8
|
-
coin_spend: CoinSpend;
|
|
9
|
-
eligible_for_dedup: bool;
|
|
10
|
-
additions: Coin[];
|
|
11
|
-
cost: Optional<uint64>;
|
|
12
|
-
};
|
|
13
|
-
export declare type MempoolItem = {
|
|
14
|
-
spend_bundle: SpendBundle;
|
|
15
|
-
fee: uint64;
|
|
16
|
-
npc_result: NPCResult;
|
|
17
|
-
spend_bundle_name: bytes32;
|
|
18
|
-
height_added_to_mempool: uint32;
|
|
19
|
-
assert_height: Optional<uint32>;
|
|
20
|
-
assert_before_height: Optional<uint32>;
|
|
21
|
-
assert_before_seconds: Optional<uint64>;
|
|
22
|
-
bundle_coin_spends: Record<bytes32, BundleCoinSpend>;
|
|
23
|
-
};
|
|
24
|
-
export declare type MempoolItemInJsonDict = {
|
|
25
|
-
spend_bundle: SpendBundle;
|
|
26
|
-
fee: uint64;
|
|
27
|
-
npc_result: NPCResult;
|
|
28
|
-
cost: uint64;
|
|
29
|
-
spend_bundle_name: bytes32;
|
|
30
|
-
additions: Coin[];
|
|
31
|
-
removals: Coin[];
|
|
32
|
-
};
|
|
1
|
+
import { SpendBundle } from "./spend_bundle";
|
|
2
|
+
import { Coin } from "./blockchain_format/coin";
|
|
3
|
+
import { bytes32 } from "./blockchain_format/sized_bytes";
|
|
4
|
+
import { NPCResult } from "../consensus/cost_calculator";
|
|
5
|
+
import { bool, Optional, uint32, uint64 } from "./_python_types_";
|
|
6
|
+
import { CoinSpend } from "./coin_spend";
|
|
7
|
+
export declare type BundleCoinSpend = {
|
|
8
|
+
coin_spend: CoinSpend;
|
|
9
|
+
eligible_for_dedup: bool;
|
|
10
|
+
additions: Coin[];
|
|
11
|
+
cost: Optional<uint64>;
|
|
12
|
+
};
|
|
13
|
+
export declare type MempoolItem = {
|
|
14
|
+
spend_bundle: SpendBundle;
|
|
15
|
+
fee: uint64;
|
|
16
|
+
npc_result: NPCResult;
|
|
17
|
+
spend_bundle_name: bytes32;
|
|
18
|
+
height_added_to_mempool: uint32;
|
|
19
|
+
assert_height: Optional<uint32>;
|
|
20
|
+
assert_before_height: Optional<uint32>;
|
|
21
|
+
assert_before_seconds: Optional<uint64>;
|
|
22
|
+
bundle_coin_spends: Record<bytes32, BundleCoinSpend>;
|
|
23
|
+
};
|
|
24
|
+
export declare type MempoolItemInJsonDict = {
|
|
25
|
+
spend_bundle: SpendBundle;
|
|
26
|
+
fee: uint64;
|
|
27
|
+
npc_result: NPCResult;
|
|
28
|
+
cost: uint64;
|
|
29
|
+
spend_bundle_name: bytes32;
|
|
30
|
+
additions: Coin[];
|
|
31
|
+
removals: Coin[];
|
|
32
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { uint64 } from "./_python_types_";
|
|
2
|
-
export declare type Mojos = uint64;
|
|
1
|
+
import { uint64 } from "./_python_types_";
|
|
2
|
+
export declare type Mojos = uint64;
|
package/api/chia/types/mojos.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type CHIP_0002 = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP-0002_";
|
|
2
|
-
export declare type BLS_MESSAGE_AUGMENTATION_UTF8_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:utf8input_";
|
|
3
|
-
export declare type BLS_MESSAGE_AUGMENTATION_HEX_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:hexinput_";
|
|
4
|
-
export declare type SigningMode = CHIP_0002 | BLS_MESSAGE_AUGMENTATION_UTF8_INPUT | BLS_MESSAGE_AUGMENTATION_HEX_INPUT;
|
|
1
|
+
export declare type CHIP_0002 = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:CHIP-0002_";
|
|
2
|
+
export declare type BLS_MESSAGE_AUGMENTATION_UTF8_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:utf8input_";
|
|
3
|
+
export declare type BLS_MESSAGE_AUGMENTATION_HEX_INPUT = "BLS_SIG_BLS12381G2_XMD:SHA-256_SSWU_RO_AUG:hexinput_";
|
|
4
|
+
export declare type SigningMode = CHIP_0002 | BLS_MESSAGE_AUGMENTATION_UTF8_INPUT | BLS_MESSAGE_AUGMENTATION_HEX_INPUT;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { G2Element } from "./_python_types_";
|
|
2
|
-
import { CoinSpend } from "./coin_spend";
|
|
3
|
-
export declare type SpendBundle = {
|
|
4
|
-
|
|
5
|
-
aggregated_signature: G2Element;
|
|
6
|
-
};
|
|
1
|
+
import { G2Element } from "./_python_types_";
|
|
2
|
+
import { CoinSpend } from "./coin_spend";
|
|
3
|
+
export declare type SpendBundle = {
|
|
4
|
+
coin_spends: CoinSpend[];
|
|
5
|
+
aggregated_signature: G2Element;
|
|
6
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { bytes32, bytes48 } from "./blockchain_format/sized_bytes";
|
|
2
|
-
import { bytes, Optional, uint32, uint64 } from "./_python_types_";
|
|
3
|
-
/**
|
|
4
|
-
* The actual definition of `Spend` type was moved to https://github.com/Chia-Network/chia_rs/blob/main/wheel/src/run_generator.rs
|
|
5
|
-
* from chia-blockchain@1.5.1
|
|
6
|
-
*/
|
|
7
|
-
export declare type Spend = {
|
|
8
|
-
coin_id: bytes32;
|
|
9
|
-
puzzle_hash: bytes32;
|
|
10
|
-
height_relative: Optional<uint32>;
|
|
11
|
-
seconds_relative: uint64;
|
|
12
|
-
create_coin: Array<[bytes32, uint64, bytes]>;
|
|
13
|
-
agg_sig_me: Array<[bytes48, bytes]>;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* The actual definition of `SpendBundleConditions` type was moved to https://github.com/Chia-Network/chia_rs/blob/main/wheel/src/run_generator.rs
|
|
17
|
-
* from chia-blockchain@1.5.1
|
|
18
|
-
*/
|
|
19
|
-
export declare type SpendBundleConditions = {
|
|
20
|
-
spends: Spend[];
|
|
21
|
-
reserve_fee: uint64;
|
|
22
|
-
height_absolute: uint32;
|
|
23
|
-
seconds_absolute: uint64;
|
|
24
|
-
agg_sig_unsafe: Array<[bytes48, bytes]>;
|
|
25
|
-
cost: uint64;
|
|
26
|
-
};
|
|
1
|
+
import { bytes32, bytes48 } from "./blockchain_format/sized_bytes";
|
|
2
|
+
import { bytes, Optional, uint32, uint64 } from "./_python_types_";
|
|
3
|
+
/**
|
|
4
|
+
* The actual definition of `Spend` type was moved to https://github.com/Chia-Network/chia_rs/blob/main/wheel/src/run_generator.rs
|
|
5
|
+
* from chia-blockchain@1.5.1
|
|
6
|
+
*/
|
|
7
|
+
export declare type Spend = {
|
|
8
|
+
coin_id: bytes32;
|
|
9
|
+
puzzle_hash: bytes32;
|
|
10
|
+
height_relative: Optional<uint32>;
|
|
11
|
+
seconds_relative: uint64;
|
|
12
|
+
create_coin: Array<[bytes32, uint64, bytes]>;
|
|
13
|
+
agg_sig_me: Array<[bytes48, bytes]>;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* The actual definition of `SpendBundleConditions` type was moved to https://github.com/Chia-Network/chia_rs/blob/main/wheel/src/run_generator.rs
|
|
17
|
+
* from chia-blockchain@1.5.1
|
|
18
|
+
*/
|
|
19
|
+
export declare type SpendBundleConditions = {
|
|
20
|
+
spends: Spend[];
|
|
21
|
+
reserve_fee: uint64;
|
|
22
|
+
height_absolute: uint32;
|
|
23
|
+
seconds_absolute: uint64;
|
|
24
|
+
agg_sig_unsafe: Array<[bytes48, bytes]>;
|
|
25
|
+
cost: uint64;
|
|
26
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|