Hands-On Bitcoin Programming with Python by Harish Kumar Garg
Author:Harish Kumar Garg [Harish Garg]
Language: eng
Format: epub
Tags: COM051360 - COMPUTERS / Programming Languages / Python, COM083000 - COMPUTERS / Security / Cryptography, COM060180 - COMPUTERS / Web / Web Services and APIs
Publisher: Packt Publishing
Published: 2018-08-29T11:28:50+00:00
Now lets get some information about this block. For example, the block fee, block size, and block transactions can be obtained by using fee, size, and transactions properties respectively on the block object created, as shown in the following code:
#!/usr/bin/env python
# import blockchain library
from blockchain import blockexplorer
# get a particular block
block = blockexplorer.get_block('0000000000000000002e90b284607359f3415647626447643b9b880ee00e41fa')
print("Block Fee: %s\n" % block.fee)
print("Block size: %s\n" % block.size)
print("Block transactions: %s\n" % block.transactions)
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Cryptography | Encryption |
Hacking | Network Security |
Privacy & Online Safety | Security Certifications |
Viruses |
Mastering Python for Networking and Security by José Manuel Ortega(2886)
Mastering Azure Security by Mustafa Toroman and Tom Janetscheck(2868)
Blockchain Basics by Daniel Drescher(2860)
Mastering Bitcoin: Programming the Open Blockchain by Andreas M. Antonopoulos(2493)
From CIA to APT: An Introduction to Cyber Security by Edward G. Amoroso & Matthew E. Amoroso(2464)
The Art Of Deception by Kevin Mitnick(2274)
The Code Book by Simon Singh(2184)
Practical Threat Detection Engineering by Megan Roddie & Jason Deyalsingh & Gary J. Katz(1914)
Applied Network Security by Arthur Salmon & Michael McLafferty & Warun Levesque(1835)
Wireless Hacking 101 by Karina Astudillo(1831)
DarkMarket by Misha Glenny(1830)
Effective Threat Investigation for SOC Analysts by Yahia Mostafa;(1799)
Mobile Forensics Cookbook by Igor Mikhaylov(1798)
Serious Cryptography: A Practical Introduction to Modern Encryption by Aumasson Jean-Philippe(1793)
Hands-On AWS Penetration Testing with Kali Linux by Benjamin Caudill & Karl Gilbert(1787)
Bulletproof Android: Practical Advice for Building Secure Apps (Developer's Library) by Godfrey Nolan(1660)
Solidity Programming Essentials by Ritesh Modi(1611)
Foundations of Blockchain by Koshik Raj(1574)
Bitcoin: The Basics of Blockchain and Investing in Cryptocurrency by K. Connors(1551)