Sigil documentation
ReferenceRust referencesigil-node

sigil-node · executor_evidence

Source declarations, signatures and documentation for executor_evidence.

Source: sigil/node/sigil-node/src/executor_evidence.rs. SHA-256: 9da398d743cc8bbebc4fda840e5e5282c7ab7a820f0e54d1c2d15bbc680592ed.

This reference follows declared source modules, retains conditional attributes, and includes public declarations and implementation methods. Private-module re-exports and trait resolution require the compiler; this is a source reference, not a claim that every listed item is a root import. Function bodies and constant values are omitted.

executor_evidence::execute_evidence_anchor

Execute an evidence anchor transaction.

Fails closed on: malformed payload, insufficient balance for the fee, a duplicate anchor ID (same chain, sender, digest, and client nonce), or a state backend without evidence storage.

pub fn execute_evidence_anchor(
    sender_did: &str,
    data: &EvidenceAnchorData,
    fee: u64,
    block_height: u64,
    chain_id: &str,
    tx_hash: &SigilHash,
    state: &dyn ExecutionState,
) -> Result<Settlement, NodeError>;

Source line: 30.

On this page