aboutsummaryrefslogtreecommitdiff
path: root/contrib/linearize/example-linearize.cfg
Commit message (Collapse)AuthorAgeFilesLines
* doc: Added default signet config for linearize scriptgr0kchain2020-09-251-0/+8
|
* doc: Added regtest config for linearize scriptGr0kchain2019-11-071-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updated the example-linearize.cfg file to include support for the regtest chain network config which is used by the ./linearize-data.py Problem: Without the regtest magic, genesis hash and path config, the `linearize-data.py` script cannot generate a bootstrap.dat file. Example of error: ./linearize-data.py ./linearize.cfg Read 102 hashes Genesis block not found in hashlist Solution: Added netmagic, genesis and input example parameters to file. Resolution 1. Starting bitcoind in regtest mode 2. bitcoin-cli generatetoaddress 101 $(bitcoin-cli getnewaddress) 3. ./linearize-hashes.py ./linearize.cfg > ./hashlist.txt 4. ./linearize-data.py ./linearize.cfg Example after fix: $ ./linearize-data.py ./linearize.cfg Read 102 hashes Input file /Users/gr0kchain/.bitcoin/regtest/blocks/blk00000.dat Output file /Users/gr0kchain/Downloads/bootstrap.dat Done (102 blocks written)
* changed regtest RPCport to 18443 to avoid conflict with testnet 18332Ferdinando M. Ametrano2017-08-041-0/+7
|
* Datadir option in linearize scriptsAndrew Chow2017-03-291-0/+1
| | | | 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.
* Merge #9580: Fix various minor linearization script issuesWladimir J. van der Laan2017-02-021-1/+12
|\ | | | | | | b9d95bd Fix various minor linearization script issues (Douglas Roark)
| * Fix various minor linearization script issuesDouglas Roark2017-01-251-1/+12
| | | | | | | | | | | | | | - 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.
* | [trivial] Fix typos in commentspracticalswift2017-01-271-1/+1
|/
* Allow linearization scripts to support hash byte reversalDoug2017-01-051-1/+3
| | | | Currently, the linearization scripts require input hashes to be in one endian form. Add support for byte reversal.
* contrib/linearize: Support linearization of testnet blocksJeff Garzik2015-05-201-0/+10
|
* contrib: make linearize-data.py cope with out-of-order blocksWladimir J. van der Laan2014-10-061-0/+2
| | | | | | | | | | | | 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).
* contrib/linearize: split output files based on new-timestamp-year or ↵Jeff Garzik2014-08-231-0/+1
| | | | max-file-size
* Update linearize scripts.Jeff Garzik2014-08-231-4/+8
| | | | | | | | | 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.
* linearize.py: Harmonize rpcpass to rpcpasswordSubo19782014-02-101-1/+1
| | | | | linearize.py: harmonize rpcpass to rpcpassword according settings in bitcoin.conf
* Update linearize.py defaults to block 279,000Micha2014-01-181-1/+1
|
* Finished /Contrib Index. Standardized READMEs.super32013-10-151-0/+12
File and Link Fix.