X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=p2pool%2Fbitcoin%2Fdata.py;h=0ce113b976e809f61ce8c5cf4ac6dc869a4e2bd8;hb=b68358960962d67623aa95e63c107695a856fab1;hp=de6d4057f4d29ae0b7f364faaaa17fee3666d9ef;hpb=77e7e2a1b36ab71566d82e39568088d77109e4ce;p=p2pool.git diff --git a/p2pool/bitcoin/data.py b/p2pool/bitcoin/data.py index de6d405..0ce113b 100644 --- a/p2pool/bitcoin/data.py +++ b/p2pool/bitcoin/data.py @@ -92,6 +92,7 @@ address_type = pack.ComposedType([ tx_type = pack.ComposedType([ ('version', pack.IntType(32)), + ('timestamp', pack.IntType(32)), ('tx_ins', pack.ListType(pack.ComposedType([ ('previous_output', pack.PossiblyNoneType(dict(hash=0, index=2**32 - 1), pack.ComposedType([ ('hash', pack.IntType(256)), @@ -130,6 +131,7 @@ block_header_type = pack.ComposedType([ block_type = pack.ComposedType([ ('header', block_header_type), ('txs', pack.ListType(tx_type)), + ('signature', pack.VarStrType()), ]) # merged mining