pub struct ThreadExec {
pub executor: Pubkey,
pub thread: Pubkey,
pub fiber: Option<Pubkey>,
pub config: Pubkey,
pub admin: Pubkey,
pub nonce_account: Option<Pubkey>,
pub recent_blockhashes: Option<Pubkey>,
pub system_program: Pubkey,
}Expand description
Generated client accounts for ThreadExec.
Fields§
§executor: PubkeyThe executor sending and paying for the transaction
thread: PubkeyThe thread being executed
Note: dup allows thread to appear in remaining_accounts (from compiled instruction)
fiber: Option<Pubkey>The fiber to execute (optional - not needed if fiber_cursor == 0 and default fiber exists) Seeds validation is done in the instruction body when fiber is Some
config: PubkeyThe config for fee distribution
admin: Pubkey§nonce_account: Option<Pubkey>Optional nonce account for durable nonces
recent_blockhashes: Option<Pubkey>§system_program: PubkeyTrait Implementations§
Source§impl BorshSerialize for ThreadExec
impl BorshSerialize for ThreadExec
Source§impl ToAccountMetas for ThreadExec
impl ToAccountMetas for ThreadExec
Source§fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>
fn to_account_metas(&self, is_signer: Option<bool>) -> Vec<AccountMeta>
is_signer is given as an optional override for the signer meta field.
This covers the edge case when a program-derived-address needs to relay
a transaction from a client to another program but sign the transaction
before the relay. The client cannot mark the field as a signer, and so
we have to override the is_signer meta field given by the client.