pub trait Compiler {
    // Required methods
    fn compile<Logger: FnMut(String)>(
        &mut self,
        log: Logger,
        input: &str
    ) -> Result<ScriptOrModule>;
    fn use_compiled_genesis(&self) -> bool;
}

Required Methods§

source

fn compile<Logger: FnMut(String)>( &mut self, log: Logger, input: &str ) -> Result<ScriptOrModule>

Compile a transaction script or module.

source

fn use_compiled_genesis(&self) -> bool

Implementors§