Changeset View
Changeset View
Standalone View
Standalone View
test/functional/test_framework/messages.py
#!/usr/bin/env python3 | #!/usr/bin/env python3 | ||||
# Copyright (c) 2010 ArtForz -- public domain half-a-node | # Copyright (c) 2010 ArtForz -- public domain half-a-node | ||||
# Copyright (c) 2012 Jeff Garzik | # Copyright (c) 2012 Jeff Garzik | ||||
# Copyright (c) 2010-2017 The Bitcoin Core developers | # Copyright (c) 2010-2017 The Bitcoin Core developers | ||||
# Distributed under the MIT software license, see the accompanying | # Distributed under the MIT software license, see the accompanying | ||||
# file COPYING or http://www.opensource.org/licenses/mit-license.php. | # file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
"""Bitcoin test framework primitive and message strcutures | """Bitcoin test framework primitive and message structures | ||||
CBlock, CTransaction, CBlockHeader, CTxIn, CTxOut, etc....: | CBlock, CTransaction, CBlockHeader, CTxIn, CTxOut, etc....: | ||||
data structures that should map to corresponding structures in | data structures that should map to corresponding structures in | ||||
bitcoin/primitives | bitcoin/primitives | ||||
msg_block, msg_tx, msg_headers, etc.: | msg_block, msg_tx, msg_headers, etc.: | ||||
data structures that represent network messages | data structures that represent network messages | ||||
▲ Show 20 Lines • Show All 1,316 Lines • Show Last 20 Lines |