Trait pallet_octopus_appchain::Config[][src]

This pallet’s configuration trait

Associated Types

type AuthorityId: AppCrypto<Self::Public, Self::Signature>[src]

The identifier type for an offchain worker.

type Event: From<Event<Self>> + Into<Self::Event>[src]

The overarching event type.

type Call: From<Call<Self>>[src]

The overarching dispatch call type.

type AppchainId: Get<ChainId>[src]

The id assigned by motherchain to this appchain.

type Motherchain: Get<MotherchainType>[src]

The type of the motherchain, not in use.

type GracePeriod: Get<Self::BlockNumber>[src]

A grace period after we send transaction.

To avoid sending too many transactions, we only attempt to send one every GRACE_PERIOD blocks. We use Local Storage to coordinate sending between distinct runs of this offchain worker.

type UnsignedPriority: Get<TransactionPriority>[src]

A configuration for base priority of unsigned transactions.

This is exposed so that it can be tuned for particular runtime, when multiple pallets send unsigned transactions.

Loading content...

Associated Constants

const RELAY_CONTRACT_NAME: &'static [u8][src]

The name/address of the relay contract on the motherchain.

Loading content...

Implementors

Loading content...