Skip to main content

produce_with_statement

Function produce_with_statement 

Source
pub fn produce_with_statement(
    executor: &mut Executor,
    parameters: &NetworkParameters,
    parent: &Parent<'_>,
    signing: &PrivateKey,
    vrf_key: &PrivateKey,
    decisions: &Decisions,
) -> Result<(Block, BlockStatement), ProduceError>
Expand description

produce と同じに作り、作ったブロックを実行したときのステートメントも返す(実行し直さずにしまうのに使う)