Skip to main content

Submit

Type Alias Submit 

Source
pub type Submit = Arc<dyn Fn(Vec<u8>) -> Result<(), String> + Send + Sync>;
Expand description

署名したトランザクションのバイト列を受け付ける口。受け付けたら(もう持っていたときも)Ok、受け付けなかったら わけを返す。ネットワークに流すのも、この口の仕事

Aliased Type§

pub struct Submit { /* private fields */ }