This commit is contained in:
Luke Parker
2023-04-16 01:03:32 -04:00
parent 79655672ef
commit 9676584ffe
4 changed files with 23 additions and 1 deletions

View File

@@ -175,6 +175,7 @@ pub trait Block<C: Coin>: Send + Sync + Sized + Clone + Debug {
// This is currently bounded to being 32-bytes.
type Id: 'static + Id;
fn id(&self) -> Self::Id;
fn parent(&self) -> Self::Id;
fn median_fee(&self) -> C::Fee;
}