@argonprotocol/mainchain 1.3.13 → 1.3.15
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/browser/index.d.ts +8 -8
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +8 -8
- package/lib/index.d.ts +8 -8
- package/lib/index.js.map +1 -1
- package/package.json +2 -2
package/browser/index.d.ts
CHANGED
|
@@ -3814,7 +3814,7 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3814
3814
|
};
|
|
3815
3815
|
miningSlot: {
|
|
3816
3816
|
/**
|
|
3817
|
-
* Lookup by account id to the corresponding index in MinersByCohort and
|
|
3817
|
+
* Lookup by account id to the corresponding index in MinersByCohort and MinerNoncesByCohort
|
|
3818
3818
|
**/
|
|
3819
3819
|
accountIndexLookup: AugmentedQuery<ApiType, (arg: AccountId32 | string | Uint8Array) => Observable<Option<ITuple<[u64, u32]>>>, [
|
|
3820
3820
|
AccountId32
|
|
@@ -3852,17 +3852,17 @@ declare module '@polkadot/api-base/types/storage' {
|
|
|
3852
3852
|
* Is the next slot still open for bids
|
|
3853
3853
|
**/
|
|
3854
3854
|
isNextSlotBiddingOpen: AugmentedQuery<ApiType, () => Observable<bool>, []>;
|
|
3855
|
+
/**
|
|
3856
|
+
* This is a lookup of each miner's nonce to use when picking a best authority to submit a block.
|
|
3857
|
+
* It's a blake2 256 hash of the miner account id and the block hash at time of activation.
|
|
3858
|
+
**/
|
|
3859
|
+
minerNoncesByCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Vec<U256>>>, []>;
|
|
3855
3860
|
/**
|
|
3856
3861
|
* Miners that are active in the current block (post initialize) by their starting frame
|
|
3857
3862
|
**/
|
|
3858
3863
|
minersByCohort: AugmentedQuery<ApiType, (arg: u64 | AnyNumber | Uint8Array) => Observable<Vec<ArgonPrimitivesBlockSealMiningRegistration>>, [
|
|
3859
3864
|
u64
|
|
3860
3865
|
]>;
|
|
3861
|
-
/**
|
|
3862
|
-
* This is a lookup of each miner's XOR key to use. It's a blake2 256 hash of the miner account
|
|
3863
|
-
* id and the block hash at time of activation.
|
|
3864
|
-
**/
|
|
3865
|
-
minerXorKeysByCohort: AugmentedQuery<ApiType, () => Observable<BTreeMap<u64, Vec<U256>>>, []>;
|
|
3866
3866
|
/**
|
|
3867
3867
|
* The mining slot configuration set in genesis
|
|
3868
3868
|
**/
|
|
@@ -9796,7 +9796,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
9796
9796
|
readonly sealStrength: U256;
|
|
9797
9797
|
readonly totalComputeDifficulty: U256;
|
|
9798
9798
|
readonly voteCreatedBlocks: Compact<u128>;
|
|
9799
|
-
readonly
|
|
9799
|
+
readonly minerNonceScore: Option<U256>;
|
|
9800
9800
|
}
|
|
9801
9801
|
/** @name ArgonPrimitivesDigestsNotebookDigest (170) */
|
|
9802
9802
|
interface ArgonPrimitivesDigestsNotebookDigest extends Struct {
|
|
@@ -10261,7 +10261,7 @@ declare module '@polkadot/types/lookup' {
|
|
|
10261
10261
|
readonly sourceNotebookNumber: Compact<u32>;
|
|
10262
10262
|
readonly sourceNotebookProof: ArgonPrimitivesBalanceChangeMerkleProof;
|
|
10263
10263
|
readonly blockVote: ArgonPrimitivesBlockVoteBlockVoteT;
|
|
10264
|
-
readonly
|
|
10264
|
+
readonly minerNonceScore: Option<U256>;
|
|
10265
10265
|
} & Struct;
|
|
10266
10266
|
readonly isCompute: boolean;
|
|
10267
10267
|
readonly type: 'Vote' | 'Compute';
|