Mercurial > public > bitcaviar-plus
view src/bitcaviar_plus/block_structure.py @ 12:6a0a8cce058e
refactor code
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Tue, 26 Oct 2021 09:38:38 +0200 |
parents | src/puppy/block_structure.py@e218f70e19e9 |
children |
line wrap: on
line source
class Block: id = str() magic_number = str() size = str() transaction_count = str() class Header: version = str() previous_block_id = str() merkle_root = str() time = str() bits = str() nonce = str() class Transaction: id = str() version = str() input_count = str() output_count = str() lock_time = str() class TransactionInput: id = str() vout = str() script_sig_size = str() script_sig = str() sequence = str() class TransactionOutput: value = str() script_pub_key_size = str() script_pub_key = str()