practicalswift
9b94054b7c
Avoid reference to undefined name: stderr does not exist, sys.stderr does
7 years ago
practicalswift
25cd520fc4
Use sys.exit(...) instead of exit(...): exit(...) should not be used in programs
7 years ago
Andrew Chow
bd41d9831f
Datadir option in linearize scripts
...
Adds a datadir configuration option to the linearize scripts to allow the script to use the RPC cookie instead of requiring the user to set a rpcuser and rpcpassword for the rpc server.
8 years ago
practicalswift
95bab821b3
Remove unused Python imports
8 years ago
Doug
3c8f63ba7c
Make linearize scripts Python 3-compatible.
8 years ago
Doug
d5aa19813c
Allow linearization scripts to support hash byte reversal
...
Currently, the linearization scripts require input hashes to be in one endian form. Add support for byte reversal.
8 years ago
isle2983
27765b6403
Increment MIT Licence copyright header year on files modified in 2016
...
Edited via:
$ contrib/devtools/copyright_header.py update .
8 years ago
Matthew King
873e81f89b
Use portable #! in python scripts (/usr/bin/env)
9 years ago
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
10 years ago
Michael Ford
78253fcbad
Remove references to X11 licence
10 years ago
Wladimir J. van der Laan
772ab0ea98
contrib: use batched JSON-RPC in linarize-hashes
...
Batch up to 10000 requests for a ~30x speedup.
10 years ago
Jeff Garzik
476eb7eb53
Update linearize scripts.
...
Break into two steps:
* Generate hash list
* Build data file(s) from local bitcoind blocks/ directory.
This supports building one large bootstrap.dat, or multiple
smaller blocks/blkNNNNN.dat files.
11 years ago
Subo1978
3078b582cc
linearize.py: Harmonize rpcpass to rpcpassword
...
linearize.py: harmonize rpcpass to rpcpassword according settings in
bitcoin.conf
11 years ago
Micha
6873cfb6c0
Update linearize.py defaults to block 279,000
11 years ago
Micha
7a29fb5940
Tweak linearize.py to give more flexibility
...
Add the ability to start at a non-zero height, and allow for appending to
an existing file.
11 years ago
super3
27e2d8bfb5
Finished /Contrib Index. Standardized READMEs.
...
File and Link Fix.
11 years ago
Johnathan Corgan
71bc3a4b9f
fix the typo fix in linearize.py
11 years ago
Rav3nPL
63dc00d104
fix help prompt
12 years ago
Jeff Garzik
df6c5433e7
contrib/misc/mkbootstrap: rename to linearize.py
12 years ago
Jeff Garzik
701f6c35bc
Add "mkbootstrap" script to contrib, for creating bootstrap.dat.
12 years ago