commit 91d9654052839d34a166278c7c183e68629df823
parent 272bf43ba5692a3b9cb7b761d2f5b7ce489a1d4d
Author: lash <dev@holbrook.no>
Date: Thu, 12 May 2022 08:06:14 +0000
Add fields to block object
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/chainlib/block.py b/chainlib/block.py
@@ -27,6 +27,10 @@ class Block(Src):
self.get_tx = self.tx_index_by_hash
self.tx = self.tx_by_index
+ self.fee_limit = 0
+ self.fee_cost = 0
+ self.parent_hash = None
+
super(Block, self).__init__(src=src)