Expand description
JAM types used within the PVM instances (service code and authorizer code).
Structs§
- The result and surrounding context of a single Refinement operation passed in to the Accumulation logic.
- Output data of Is Authorized operation, passed into both Refinement and Accumulation.
- Authorization parameter.
- Data constituting the Authorization Token in a Work Package.
- The authorizer tuple which together identifies a means of determining whether a Work Package is acceptable to execute on a core.
- Hash of an encoded Authorizer value.
- Hash of PVM program code.
- Hash of a piece of extrinsic data.
- Specification of a single piece of extrinsic data.
- Vector type with a fixed length.
- A definition of work to be done by the Refinement logic of a service and transformed into a WorkOutput for its Accumulation logic.
- A work-package, a collection of work-items together with authorization and contextual information. This is processed in-core with Is-Authorized and Refine logic to produce a work-report.
- Hash of an encoded block header.
- Import segments specification, which identifies a single exported segment.
- Transfer memo data, included with balance transfers between services.
- Plain-old-data struct of the same length as an encoded Bandersnatch public key.
- Plain-old-data struct of the same length as an encoded Ed25519 public key.
- Plain-old-data struct of the same length and layout to
ValKeysetstruct. This does not bring in any cryptography. - Additional information on a validator, opaque to the actual usage.
- Information on the Work Package, passed into Refine.
- Hash of a Work Item’s WorkPayload.
- Various pieces of information helpful to contextualize the Refinement process.
- Hash of a Segment value.
- Hash of a segment tree root node.
- Information concerning a particular service’s state.
- A single deferred transfer of balance and/or data, passed in to the invocation of On Transfer.
- An mapping of key/value pairs stored as pairs ordered by their key in a Vec.
- An set of items stored in order in a Vec.
- Output data of Refinement operation, passed into Accumulation.
- Hash of an encoded Work Package.
- Payload data defining a Work Item.
Enums§
- Reference to a sequence of import segments, which when combined with an index forms a commitment to a specific segment of data.
Constants§
- Number of authorizations in a queue allocated to a core.
- Number of chunks in a segment.
- Number of bytes in a chunk.
- Number of points in a chunk.
- Maximum number of imports in a Work Package.
- Maximum number of Work Items in a Work Package.
- Size of memo in transfers.
- Number of bytes in an erasure-coding point.
- Number of bytes in a segment.
- Total number of validators.
Traits§
- Trait for vector types which have a bounded length allowing element-wise transformation.
- A data-structure providing the storage and lookup of key/value pairs with exclusive keys.
- A data-structure providing the storage of non-duplicated items and the querying of their inclusion.
Type Aliases§
- A queue of AuthorizerHashs, each of which will be rotated into the authorizer pool for a core.
- Type to represent a balance.
- Type to represent the index of a compute core.
- Type to represent some gas.
- Sequence of GenericWorkItems within a GenericWorkPackage and thus limited in length to MAX_WORK_ITEMS.
- A basic 256-bit data value.
- The opaque keys for each validator.
- A segment of data.
- Type to represent the index of a service.
- Type that represents a time slot of six seconds.
- Type to represent the index of a validator.
- A definition of work to be done by the Refinement logic of a service and transformed into a WorkOutput for its Accumulation logic.
- A sequence of import specifications.
- A work-package, a collection of work-items together with authorization and contextual information. This is processed in-core with Is-Authorized and Refine logic to produce a work-report.