added block ID
This commit is contained in:
parent
bc7428b817
commit
9b0c5b36a3
@ -15,6 +15,7 @@ def exploreBlocks(self):
|
||||
total_transactions += len(block.data)
|
||||
print(f"---------------------------------------{x}-------------------------------------------")
|
||||
print(block)
|
||||
print(f"Block id: {block.id}")
|
||||
print(f"Block created: {time.strftime('%Y-%m-%d', time.localtime(block.date))}")
|
||||
print("---------------------------------------END-------------------------------------------")
|
||||
print(f"Total blocks: {x}")
|
||||
|
Loading…
x
Reference in New Issue
Block a user