Skip to content

Instantly share code, notes, and snippets.

@niklasad1
Created April 7, 2020 09:24
Show Gist options
  • Save niklasad1/5f0319cfe7325843ae52440801c8a836 to your computer and use it in GitHub Desktop.
Save niklasad1/5f0319cfe7325843ae52440801c8a836 to your computer and use it in GitHub Desktop.
before secp256k update
'header:
Header {
parent_hash: 0xc00cf5e6733d4029d50fcf52e255dcaebae8505860ccfafe8a84ab1f2d3e0e75,
timestamp: 1579884350,
number: 2056970,
author: 0x0000000000000000000000000000000000000000,
transactions_root: 0xa03579dbb1bb8e4a97b9cbcbb765f7d4cec31f1333dd9eaad8969872d5eed193,
uncles_hash: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347,
extra_data: [216, 131, 1, 9, 10, 132, 103, 101, 116, 104, 136, 103, 111, 49, 46, 49, 51, 46, 54, 133, 108, 105, 110, 117, 120, 0, 0, 0, 0, 0, 0, 0, 148, 112, 57, 149, 85, 137, 211, 250, 65, 94, 188, 157, 170, 5, 221, 242, 133, 144, 221, 221, 17, 40, 18, 179, 46, 223, 232, 199, 13, 185, 170, 82, 10, 131, 224, 70, 170, 20, 139, 179, 212, 20, 185, 199, 250, 174, 249, 202, 222, 209, 173, 242, 69, 204, 248, 148, 72, 21, 247, 64, 203, 228, 4, 54, 0],
state_root: 0xd305b5aefa4f3e6c953023acf20bb3165c823e42a350e76df2b32789a7d0c536,
receipts_root: 0x2beba12b0119d01367e0dc672e7d219d1820c319f8c64f39780254b56a9538e3,
log_bloom: 0x00000000000000000000000000000000020000000000000000000002000000000000000000000000000000000000000000001000080000400000000000000000000000004000000020000008000000040000800000000000000100000000001000008100060000000000000000020800040000000180000000000010000000000020008000000000000000000000000000000000820000000080000080404000006000000000800000000000004000000000000000080000000000000000100100000002010000000000000000000402000000001000000000000000000020000000000120000000000080000000000000010000800000000000000000000000,
gas_used: 455250,
gas_limit: 8000000,
difficulty: 1,
seal: [[160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [136, 0, 0, 0, 0, 0, 0, 0, 0]],
hash: Some(0x721aa32dc1cea06bd54dbd5d7e7033c6b16ff348603603c2986e97cd444a7b75)
}
locked_header:
Header {
parent_hash: 0xc00cf5e6733d4029d50fcf52e255dcaebae8505860ccfafe8a84ab1f2d3e0e75,
timestamp: 1579884350,
number: 2056970,
author: 0xa6dd2974b96e959f2c8930024451a30afec24203,
transactions_root: 0xa03579dbb1bb8e4a97b9cbcbb765f7d4cec31f1333dd9eaad8969872d5eed193,
uncles_hash: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347,
extra_data: [216, 131, 1, 9, 10, 132, 103, 101, 116, 104, 136, 103, 111, 49, 46, 49, 51, 46, 54, 133, 108, 105, 110, 117, 120, 0, 0, 0, 0, 0, 0, 0, 148, 112, 57, 149, 85, 137, 211, 250, 65, 94, 188, 157, 170, 5, 221, 242, 133, 144, 221, 221, 17, 40, 18, 179, 46, 223, 232, 199, 13, 185, 170, 82, 10, 131, 224, 70, 170, 20, 139, 179, 212, 20, 185, 199, 250, 174, 249, 202, 222, 209, 173, 242, 69, 204, 248, 148, 72, 21, 247, 64, 203, 228, 4, 54, 0],
state_root: 0xd305b5aefa4f3e6c953023acf20bb3165c823e42a350e76df2b32789a7d0c536,
receipts_root: 0x2beba12b0119d01367e0dc672e7d219d1820c319f8c64f39780254b56a9538e3,
log_bloom: 0x00000000000000000000000000000000020000000000000000000002000000000000000000000000000000000000000000001000080000400000000000000000000000004000000020000008000000040000800000000000000100000000001000008100060000000000000000020800040000000180000000000010000000000020008000000000000000000000000000000000820000000080000080404000006000000000800000000000004000000000000000080000000000000000100100000002010000000000000000000402000000001000000000000000000020000000000120000000000080000000000000010000800000000000000000000000,
gas_used: 455250,
gas_limit: 8000000,
difficulty: 1,
seal: [],
hash: None
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment