jam_std_common/
lib.rs

1mod crypto;
2pub use crypto::{
3	bandersnatch, ed25519,
4	hashing::{hash_encoded, hash_raw, hash_raw_concat, keccak, keccak_concat},
5	mmr::Mmr,
6};
7
8mod rpc;
9pub use rpc::{RpcClient, RpcServer, StateUpdate, VersionedParameters};
10
11mod net;
12pub use net::*;
13
14mod safrole;
15pub use safrole::{
16	ticket::{TicketBodies, TicketBody, TicketEnvelope, TicketId, TicketSignature},
17	EpochIndex, EpochTickets, EpochTicketsAccumulator, NextEpochDescriptor, TicketOrKey,
18	TicketsOrKeys,
19};
20
21mod state;
22pub use state::{
23	Accumulated, AuthPool, AuthPools, AuthQueues, AvailabilityAssignment, AvailabilityAssignments,
24	BlockInfo, CoreActivityRecord, CoresStats, Disputes, EntropyBuffer,
25	IntoStorageKey, Privileges, ReadyQueue, ReadyRecord, RecentBlocks, Service,
26	ServiceActivityRecord, ServiceKey, ServicesStats, Statistics, StorageKey, SystemKey,
27	ValActivityRecord,
28};
29
30mod keyset;
31pub use keyset::{EdKeys, SecretKeyset, ValKeyset, ValKeysets, ValidatorMetadata};
32
33mod availability;
34pub use availability::{
35	AvailabilityAssurance, AvailabilityBitfield, AvailabilityStatement, ErasureRoot,
36};
37
38mod header;
39pub use header::{EpochMark, Header, OffendersMark, SealPayload, TicketsMark};
40
41mod extrinsic;
42pub use extrinsic::{
43	AssurancesXt, CulpritProof, DisputesXt, Extrinsic, FaultProof, GuaranteeSignatures,
44	GuaranteesXt, Judgement, Preimage, PreimagesXt, ReportGuarantee, TicketsXt, ValSignature,
45	Verdict, VerdictVotes, WorkPackageSpec, WorkReport,
46};
47
48mod simple;
49pub use simple::{
50	availability_timeout, block_gas_limit, core_count, deposit_per_account, deposit_per_byte,
51	deposit_per_item, epoch_period, max_accumulate_gas, max_bundle_size, max_export_segments,
52	max_import_segments, max_is_authorized_code_size, max_is_authorized_gas,
53	max_is_authorized_memory, max_lookup_anchor_age, max_refine_code_size, max_refine_gas,
54	max_refine_memory, max_tickets_per_block, recent_block_count, rotation_period,
55	tickets_attempts_number, vals_per_core, Block, CoreCount, Entropy, EpochPeriod,
56	MaxExportSegments, MaxImportSegments, MaxTicketsPerBlock, Parameters, RecentBlockCount,
57	RotationPeriod, SegmentSlice, TicketAttempt, TrancheIndex, ValsPerCore,
58	GUARANTEE_MIN_SIGNATURES, MAX_REPORT_ELECTIVE_DATA, PROVEN_PER_SEGMENT, SANE_MAX_PACKAGE_SIZE,
59	SLOT_PERIOD, SLOT_PERIOD_IN_NS, SUFFIX_SKIP_LEN, VALS_PER_CORE,
60};
61
62mod util;
63pub use util::null::{DecodeInto, NewNull, Null};