run_state_machine

Function run_state_machine 

Source
pub fn run_state_machine(
    state_machine: String,
    plugin_name: &str,
    parse_round: fn(&RecipientInfo, &str) -> u64,
    get_signature: fn(&str, &Header) -> Vec<u8>,
) -> Result<()>
Expand description

Run the state machine for the plugin, as defined on GitHub. This is the entry point for the plugin. It is called by the age client.