Add fields to block object
This commit is contained in:
parent
272bf43ba5
commit
91d9654052
@ -27,6 +27,10 @@ class Block(Src):
|
|||||||
self.get_tx = self.tx_index_by_hash
|
self.get_tx = self.tx_index_by_hash
|
||||||
self.tx = self.tx_by_index
|
self.tx = self.tx_by_index
|
||||||
|
|
||||||
|
self.fee_limit = 0
|
||||||
|
self.fee_cost = 0
|
||||||
|
self.parent_hash = None
|
||||||
|
|
||||||
super(Block, self).__init__(src=src)
|
super(Block, self).__init__(src=src)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user