@shardus/types
Advanced tools
Comparing version 1.2.7 to 1.2.8
@@ -253,2 +253,34 @@ import { Node } from "../p2p/NodeListTypes"; | ||
} | ||
export { ShardGlobals, ShardInfo, WrappableParitionRange as WrappableParitionRange, NodeShardData, AddressRange, HomeNodeSummary, ParititionShardDataMap, NodeShardDataMap, MergeResults, BasicAddressRange }; | ||
declare type CycleShardData = { | ||
shardGlobals: ShardGlobals; | ||
cycleNumber: number; | ||
ourNode: Node; | ||
/** | ||
* our node's node shard data | ||
*/ | ||
nodeShardData: NodeShardData; | ||
nodeShardDataMap: Map<string, NodeShardData>; | ||
parititionShardDataMap: Map<number, ShardInfo>; | ||
nodes: Node[]; | ||
syncingNeighbors: Node[]; | ||
syncingNeighborsTxGroup: Node[]; | ||
hasSyncingNeighbors: boolean; | ||
partitionsToSkip: Map<number, boolean>; | ||
timestamp: number; | ||
timestampEndCycle: number; | ||
hasCompleteData: boolean; | ||
/** | ||
* hashlist index of the voters for this vote | ||
*/ | ||
voters: number[]; | ||
/** | ||
* list of partitions that we do consensus on | ||
*/ | ||
ourConsensusPartitions?: number[]; | ||
/** | ||
* list of stored parititions | ||
*/ | ||
ourStoredPartitions?: number[]; | ||
calculationTime: number; | ||
}; | ||
export { ShardGlobals, ShardInfo, WrappableParitionRange as WrappableParitionRange, NodeShardData, AddressRange, HomeNodeSummary, ParititionShardDataMap, NodeShardDataMap, MergeResults, BasicAddressRange, CycleShardData }; |
{ | ||
"name": "@shardus/types", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "build/src/index.js", |
@@ -274,2 +274,40 @@ import { Node } from "../p2p/NodeListTypes" | ||
export { ShardGlobals, ShardInfo, WrappableParitionRange as WrappableParitionRange, NodeShardData, AddressRange, HomeNodeSummary, ParititionShardDataMap, NodeShardDataMap, MergeResults, BasicAddressRange } | ||
type CycleShardData = { | ||
shardGlobals: ShardGlobals | ||
cycleNumber: number | ||
ourNode: Node | ||
/** | ||
* our node's node shard data | ||
*/ | ||
nodeShardData: NodeShardData | ||
nodeShardDataMap: Map<string, NodeShardData> | ||
parititionShardDataMap: Map<number, ShardInfo> | ||
nodes: Node[] | ||
syncingNeighbors: Node[] | ||
syncingNeighborsTxGroup: Node[] | ||
hasSyncingNeighbors: boolean | ||
partitionsToSkip: Map<number, boolean> | ||
timestamp: number // timestamp for cleanup purposes, may not match exactly the rules of which transactions will live in a partition for this cycle. | ||
timestampEndCycle: number | ||
hasCompleteData: boolean | ||
/** | ||
* hashlist index of the voters for this vote | ||
*/ | ||
voters: number[] | ||
/** | ||
* list of partitions that we do consensus on | ||
*/ | ||
ourConsensusPartitions?: number[] | ||
/** | ||
* list of stored parititions | ||
*/ | ||
ourStoredPartitions?: number[] | ||
calculationTime: number | ||
} | ||
export { ShardGlobals, ShardInfo, WrappableParitionRange as WrappableParitionRange, NodeShardData, AddressRange, HomeNodeSummary, ParititionShardDataMap, NodeShardDataMap, MergeResults, BasicAddressRange, CycleShardData } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61316
1945