aboutsummaryrefslogtreecommitdiff
path: root/contrib/linearize/linearize-data.py
Commit message (Collapse)AuthorAgeFilesLines
* Updated Linerarize data for DogecoinAlan Cramer2019-07-121-2/+2
| | | | Example data was that of bitcoin. Updated for Dogecoin values.
* Fix various minor linearization script issuesDouglas Roark2017-01-251-15/+21
| | | | | | | - The last-timestamp-encountered variable wasn’t being used properly. Rewrite code to properly allow for new blockchain files to be written when split by month. - Properly set a blockchain file’s access and modify times. - Add a “debug output” option to quiet certain output that might not always be desirable. - Update the README.
* Remove unused Python importspracticalswift2017-01-131-6/+0
|
* Make linearize scripts Python 3-compatible.Doug2017-01-051-12/+16
|
* Allow linearization scripts to support hash byte reversalDoug2017-01-051-2/+17
| | | | Currently, the linearization scripts require input hashes to be in one endian form. Add support for byte reversal.
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Use portable #! in python scripts (/usr/bin/env)Matthew King2016-06-261-1/+1
|
* Update Linearize tool to support Windows pathsPaul Georgiou2015-07-101-5/+7
|
* contrib/linearize: Support linearization of testnet blocksJeff Garzik2015-05-201-2/+4
|
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* Remove genesis block hash from errorMicha2014-12-081-1/+1
|
* Make several small string fixes in linearize-data.pyMicha2014-12-071-4/+4
| | | | | | | - Add a space after the fixed string prepended to file names when input or output file changes - Clarify the error message when the genesis block is not found in the hash list (...why do we have this at all?)
* contrib: make linearize-data.py cope with out-of-order blocksWladimir J. van der Laan2014-10-061-98/+160
| | | | | | | | | | | | Make it possible to read blocks in any order. This will be required after headers-first (#4468), so should be merged before that. - Read block header. For expected blocks, continue, else skip. - For in-order blocks: copy block contents directly. Write prior out-of-order blocks if this connects a consecutive span. - For out-of-order blocks, store extents of block data for later retrieval. Cache out-of-order blocks in memory up to 100MB (configurable).
* Catch error when done reading filesSuhas Daftuar2014-09-111-1/+5
|
* contrib/linearize: Add feature to set file's timestamp based on block header ↵Jeff Garzik2014-09-041-16/+34
| | | | time.
* contrib/linearize: split block files based on year-month, not just yearJeff Garzik2014-08-241-14/+15
|
* contrib/linearize: Guarantee that output is generated in-orderJeff Garzik2014-08-241-0/+6
| | | | | | This was typically ensured implicitly by virtue of normal bitcoind operation. Adding an explicit check provides a stronger guarantee, and it is cheap to add.
* contrib/linearize: split output files based on new-timestamp-year or ↵Jeff Garzik2014-08-231-9/+35
| | | | max-file-size
* Update linearize scripts.Jeff Garzik2014-08-231-0/+182
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.