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

@@ -76,7 +76,7 @@ impl SendOutput {
}
#[derive(Error, Debug)]
#[derive(Clone, Error, Debug)]
pub enum TransactionError {
#[error("no inputs")]
NoInputs,