Type Alias grin_core::libtx::build::Append

source ·
pub type Append<K, B> = dyn for<'a> Fn(&'a mut Context<'_, K, B>, Result<(Transaction, BlindSum), Error>) -> Result<(Transaction, BlindSum), Error>;
Expand description

Function type returned by the transaction combinators. Transforms a (Transaction, BlindSum) tuple into another, given the provided context. Will return an Err if seomthing went wrong at any point during transaction building.