Initial Tributary handling

This commit is contained in:
Luke Parker
2023-04-20 05:05:17 -04:00
parent 9e1f3fc85c
commit 8041a0d845
9 changed files with 413 additions and 42 deletions

View File

@@ -132,6 +132,10 @@ impl<T: Transaction> Block<T> {
res
}
pub fn parent(&self) -> [u8; 32] {
self.header.parent
}
pub fn hash(&self) -> [u8; 32] {
self.header.hash()
}