Skip to main content

Module jam

Module jam 

Source
Expand description

JAM: the genesis model of a spec built in process, and the blobs zombienet embeds.

Structs§

JamAmount
An unsigned amount that also accepts "max" and numeric strings, so values above i64::MAX can be written in TOML.
JamBytes
Bytes, written as a 0x-prefixed hex string.
JamGenesisConfig
The genesis of a JAM chain built in process.
JamGenesisConfigBuilder
Builder for JamGenesisConfig.
JamGenesisPrivileges
Who holds the privileges at genesis. 0 is the bootstrap service.
JamGenesisService
A service as it exists at genesis.
JamGenesisServiceBuilder
Builder for JamGenesisService.

Enums§

JamAuthorizer
An entry of a core’s authorization queue.
JamBalance
The starting balance of a service.

Constants§

JAM_BOOTSTRAP_SERVICE_ID
The id the bootstrap service is installed under.
NULL_AUTHORIZER_BLOB
The null authorizer, which always authorizes.
NULL_AUTHORIZER_HASH
The code hash of NULL_AUTHORIZER_BLOB.

Functions§

authorizer_hash
The hash a work package names to be authorized by the parameterless authorizer code.
embedded_bootstrap_service
The embedded bootstrap service and where it comes from, if zombienet was built with the jam feature.
null_authorizer_hash
The hash a work package names to be authorized by the null authorizer.

Type Aliases§

JamCoreIndex
Index of a JAM core.
JamServiceId
Id of a JAM service.