Wladimir J. van der Laan
13cdff4989
Merge #10104 : linearize script: Option to use RPC cookie
...
bd41d98
Datadir option in linearize scripts (Andrew Chow)
Tree-SHA512: 0d11866b574986c087ec962a8a9fc0b6dfee8175ae20ef827f8b4a143f657c5bffc9f9696e9dabf29b68002003a5b6a7d8ac473231b5c9c81c3a4fa0318f5bd0
2019-05-19 20:43:00 -05:00
Wladimir J. van der Laan
3dcbfc744a
Merge #9580 : Fix various minor linearization script issues
...
b9d95bd
Fix various minor linearization script issues (Douglas Roark)
2018-01-23 09:24:27 +01:00
MarcoFalke
660c027cd5
Merge #9510 : [trivial] Fix typos in comments
...
cc16d99
[trivial] Fix typos in comments (practicalswift)
2018-01-21 12:48:34 +01:00
MarcoFalke
be63fb7953
Merge #9508 : Remove unused Python imports
...
95bab82
Remove unused Python imports (practicalswift)
2018-01-21 12:48:33 +01:00
Alexander Block
e5daae2913
Dashify "linearize" README.md and switch the tool to mainnet
2018-01-18 19:39:43 +01:00
Wladimir J. van der Laan
882e2cdb9f
Merge #9373 : Linearize script update (hash byte reversal and Python 3 support)
...
3c8f63b
Make linearize scripts Python 3-compatible. (Doug)
d5aa198
Allow linearization scripts to support hash byte reversal (Doug)
2018-01-18 07:33:44 +01:00
MarcoFalke
bc659c3e6e
Merge #8270 : Tests: Use portable #! in python scripts (/usr/bin/env)
...
7b01ce2
Favour python over python2 as per PR #7723 (Matthew King)
873e81f
Use portable #! in python scripts (/usr/bin/env) (Matthew King)
2018-01-08 18:04:55 +01:00
UdjinM6
dd5bd97561
change default datadir to DashCore(Win,Mac)/.dashcore(Linux) as discussed in #898
2016-07-06 23:26:21 +03:00
UdjinM6
a5ac60b868
Merge remote-tracking branch 'bitcoin/0.12' into HEAD
...
+ merge fixes
+ keepass on evhttp
2016-02-06 16:48:04 +03:00
Holger Schinzel
c38e5233c1
fixing reference
...
Closes #603
2015-09-12 16:25:31 +02:00
UdjinM6
a31df6e4ae
fix linearization tool to make it work with Dash
2015-09-12 16:24:04 +02:00
Paul Georgiou
e3c42973b2
Update Linearize tool to support Windows paths
2015-07-10 19:21:21 +03:00
Jeff Garzik
7f68c7dc05
contrib/linearize: Support linearization of testnet blocks
2015-05-20 15:27:51 -07:00
UdjinM6
64eebc3316
0.12 dirty merge'n'fix (bitcoin 0.10)
2015-04-04 19:24:37 +03:00
sandakersmann
f914f1a746
Added "Core" to copyright headers
...
Github-Pull: #5494
Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
2014-12-19 19:55:32 +01:00
Michael Ford
78253fcbad
Remove references to X11 licence
2014-12-16 15:56:50 +08:00
Micha
ebdd6bf30f
Remove genesis block hash from error
2014-12-08 13:55:12 +02:00
Micha
8d174d6b5d
Make several small string fixes in linearize-data.py
...
- 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?)
2014-12-07 17:55:53 +02:00
vertoe
aedda3b379
Change port to 9999 and rpcport to 9998
2014-11-27 18:09:11 +01:00
Wladimir J. van der Laan
97a34c28d5
Merge pull request #5051
...
aedc74d
contrib: make linearize-data.py cope with out-of-order blocks (Wladimir J. van der Laan)
2014-10-08 09:47:41 +02:00
Wladimir J. van der Laan
aedc74dfa6
contrib: make linearize-data.py cope with out-of-order blocks
...
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).
2014-10-06 18:30:12 +02:00
Wladimir J. van der Laan
772ab0ea98
contrib: use batched JSON-RPC in linarize-hashes
...
Batch up to 10000 requests for a ~30x speedup.
2014-10-06 13:27:13 +02:00
Suhas Daftuar
07d5287f42
Catch error when done reading files
2014-09-11 09:22:39 -04:00
Jeff Garzik
399cdbc700
contrib/linearize: Add feature to set file's timestamp based on block header time.
2014-09-04 15:13:37 +02:00
Jeff Garzik
8f5a423344
contrib/linearize: split block files based on year-month, not just year
2014-08-24 01:40:40 -04:00
Jeff Garzik
75400a2a41
contrib/linearize: Guarantee that output is generated in-order
...
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.
2014-08-24 01:18:24 -04:00
Jeff Garzik
b4a72a75b4
contrib/linearize: split output files based on new-timestamp-year or max-file-size
2014-08-23 22:59:16 -04:00
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.
2014-08-23 21:46:12 -04:00
Subo1978
3078b582cc
linearize.py: Harmonize rpcpass to rpcpassword
...
linearize.py: harmonize rpcpass to rpcpassword according settings in
bitcoin.conf
2014-02-10 15:52:31 +01:00
Micha
6873cfb6c0
Update linearize.py defaults to block 279,000
2014-01-18 21:53:07 +02:00
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.
2014-01-12 13:48:39 +02:00
super3
27e2d8bfb5
Finished /Contrib Index. Standardized READMEs.
...
File and Link Fix.
2013-10-15 23:37:30 -04:00