[BTC-dev] Parameter Fix to [(CORRECTED) (EXPERIMENTAL) Raw Block Extractor]

Shane Kinney modsix at gmail.com
Fri Jul 24 05:02:51 UTC 2015


URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150724/attachment_9e3cba40eac43cb09d6eb0e43df1b922e01a5067.txt>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

The attached patch is a fix to and is dependant on asciilifeform's dumpblock
corrected patch:

http://thebitcoin.foundation/ml/btc-dev/2015-June/000104.html

When `bitcoind` is built with:
asciilifeform_and_now_we_have_block_dumper_corrected_ \
2084dc0427590fef92f9de097b9045b1ac7cdac8.patch

[**snip**]
localhost src # ./bitcoind dumpblock 2
error: no response from server
[1]+  Segmentation fault      ./bitcoind
[**snip**]

Rebuilt after applying the attached patch:

mod6_fix_dumpblock_params.patch
SHA1 f63475abb08390a771a472da51b0bb728564c51a

[**snip**]
localhost src # ./bitcoind dumpblock 3 3.bin
true
localhost src # ./bitcoind dumpblock 4
error: {"code":-1,"message":"dumpblock <height> <filename>\nEmit the block \
 at <height> to <filename>."}
localhost src # ./bitcoind dumpblock
error: {"code":-1,"message":"dumpblock <height> <filename>\nEmit the block \
 at <height> to <filename>."}
localhost src # ./bitcoind dumpblock 5 5.bin 6 6.bin
error: {"code":-1,"message":"dumpblock <height> <filename>\nEmit the block \
at <height> to <filename>."}
[**snip**]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (FreeBSD)

iQIcBAEBCgAGBQJVsbZsAAoJEHIXBai3Hq2vqHIP/jt4wj85wvXSf6f52mmfs/p8
uCgDrY2XmrwxjA061FB0b1BAOq6LKmK2/EJ5rnw6lMjmH7gtOIL1J5rV7yqJfmMM
IMVqD8WA1zWCHxFT6HXYZhvtHv7o6iQBq4uMnWo8Dv5xIJFmxjXSG/ZgPAv4CU7e
FrVjEZRaSPQjRQ8PxCGYfBgkN7VriTzYolB78vbZOmPnLOyoQtB2zEHYFTqADuaF
wZsayGTWGCPEjdfRdb0uBxvjp7cQ5MrcOdDVaCWz/G9R8ELuH7k4abEm7HKK0ShB
olfuQnyOi0V+1wT3eF7UnOrJ/bzDSztUq8w7GjMjJ121QAM4SVLsohH0c0w2D9it
9bCoWsB1HE9VyyqfG5sSO5ot3XeWai/snhHGK8EbJlTRxG79k/ATMulEIGBUxBmx
R1ZrDFS7+FYh/h8SvjYVEYkKZyPvKk5lZLIhFm78+eVFHwFBonNdBKu7z5FqbQOJ
yZCGWCUjFpAdx+cfjPoL22pAxojnf9YCOp6jnpeN/VTk2w7lyuJsCqHoGtvmbGBk
FnjoK+rQxWLM4fR0e62HxgFk1Nxli17BZT9j1f6a/GapVGpTCKa1odqRb8v2CvoT
xDL5R68mUN1SUd+SN16j/nYUreCMid3tM/38rq6Eb2/AZwdwyIzuuvq3SUiYJDp5
v+YPih1GN+HGzAp3HPAV
=f5w4
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod6_fix_dumpblock_params.patch
Type: text/x-patch
Size: 515 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150724/mod6_fix_dumpblock_params_f63475abb08390a771a472da51b0bb728564c51a.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mod6_fix_dumpblock_params.patch.sig
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://therealbitcoin.org/ml/btc-dev/attachments/20150724/mod6_fix_dumpblock_params_2cf3bfa230112e9bc2ec81b5510b88a3f2095231.patch.sig>


More information about the BTC-dev mailing list