feat: scaffold Byron phase-1 validations (#300)
Co-authored-by: Santiago Carmuega <santiago@carmuega.me>
This commit is contained in:
parent
cdcb679921
commit
5391a037d6
14 changed files with 306 additions and 19 deletions
|
|
@ -1,7 +1,6 @@
|
|||
//! Utilities to traverse over multi-era block data
|
||||
|
||||
use std::borrow::Cow;
|
||||
use std::fmt::Display;
|
||||
use std::{borrow::Cow, fmt::Display, hash::Hash as StdHash};
|
||||
|
||||
use thiserror::Error;
|
||||
|
||||
|
|
@ -89,7 +88,7 @@ pub enum MultiEraOutput<'b> {
|
|||
Byron(Box<Cow<'b, byron::TxOut>>),
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
#[derive(Debug, Clone, PartialEq, Eq, StdHash)]
|
||||
#[non_exhaustive]
|
||||
pub enum MultiEraInput<'b> {
|
||||
Byron(Box<Cow<'b, byron::TxIn>>),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue