Mercurial > public > bitcaviar-plus
view src/bitcaviar_plus/block_structure.py @ 23:32061555853c
refactor code
author | Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com> |
---|---|
date | Sun, 14 Nov 2021 17:35:18 +0100 |
parents | 6a0a8cce058e |
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()