Add get_block_transactions_possible which automatically filters invalid TXs

Adds Clone to the various error types, which they already should've had.
This commit is contained in:
Luke Parker
2022-05-28 05:08:37 -04:00
parent ba032cca4a
commit e950b9682b
5 changed files with 70 additions and 30 deletions

View File

@@ -27,7 +27,7 @@ lazy_static! {
static ref INV_EIGHT: Scalar = Scalar::from(8 as u8).invert();
}
#[derive(Error, Debug)]
#[derive(Clone, Error, Debug)]
pub enum ClsagError {
#[error("internal error ({0})")]
InternalError(String),