Bitcoin
|
Classes | |
class | BlockDataCopier |
Functions | |
def | hex_switchEndian (s) |
def | uint32 (x) |
def | bytereverse (x) |
def | bufreverse (in_buf) |
def | wordreverse (in_buf) |
def | calc_hdr_hash (blk_hdr) |
def | calc_hash_str (blk_hdr) |
def | get_blk_dt (blk_hdr) |
def | get_block_hashes (settings) |
def | mkblockmap (blkindex) |
Variables | |
dictionary | settings = {} |
BlockExtent = namedtuple('BlockExtent', ['fn', 'offset', 'inhdr', 'blkhdr', 'size']) | |
f = open(sys.argv[1], encoding="utf8") | |
m = re.search('^\s*#', line) | |
def | blkindex = get_block_hashes(settings) |
def | blkmap = mkblockmap(blkindex) |
def linearize-data.bufreverse | ( | in_buf | ) |
def linearize-data.bytereverse | ( | x | ) |
def linearize-data.calc_hash_str | ( | blk_hdr | ) |
def linearize-data.calc_hdr_hash | ( | blk_hdr | ) |
def linearize-data.get_blk_dt | ( | blk_hdr | ) |
def linearize-data.get_block_hashes | ( | settings | ) |
def linearize-data.hex_switchEndian | ( | s | ) |
Switches the endianness of a hex string (in pairs of hex chars)
def linearize-data.mkblockmap | ( | blkindex | ) |
def linearize-data.uint32 | ( | x | ) |
def linearize-data.wordreverse | ( | in_buf | ) |
def linearize-data.blkindex = get_block_hashes(settings) |
def linearize-data.blkmap = mkblockmap(blkindex) |
linearize-data.BlockExtent = namedtuple('BlockExtent', ['fn', 'offset', 'inhdr', 'blkhdr', 'size']) |
linearize-data.f = open(sys.argv[1], encoding="utf8") |
linearize-data.m = re.search('^\s*#', line) |
dictionary linearize-data.settings = {} |