Commit Graph

38 Commits (d480586ecb1d4c265ffec278f10c46500d89382f)

Author SHA1 Message Date
brunoerg 027aab663a test, contrib, refactor: use `with` when opening a file
3 years ago
Sebastian Falbesoner 254a63e097 contrib: refactor: replace `hex_switchEndian` in linearize scripts
3 years ago
Sebastian Falbesoner 3f863cfff1 contrib: refactor: simplify block header string routine in linearize-data.py
3 years ago
Hennadii Stepanov f47dda2c58
scripted-diff: Bump copyright headers
3 years ago
Zero-1729 021daedfa1
refactor: replace remaining binascii method calls
3 years ago
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
fanquake 8625446b4d
Merge #17336: scripts: search for first block file for linearize-data with some block files pruned
5 years ago
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
Rjected 317fb96de9
Add search for first blk file with pruned node
5 years ago
Wladimir J. van der Laan df50fd194f
Merge #16802: scripts: In linearize, search for next position of magic bytes rather than fail
5 years ago
Tim Akinbo 3284e6c09a scripts: search for next position of magic bytes rather than fail
5 years ago
Ben Woosley b21680baf5
test/contrib: Fix invalid escapes in regex strings
5 years ago
MarcoFalke fa6bf21f5e
scripted-diff: test: Use py3.5 bytes::hex() method
6 years ago
practicalswift 4de11a3682 Remove Python 2 import workarounds
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
practicalswift 634bd97001 Explicitly specify encoding when opening text files in Python code
7 years ago
John Bampton 0d31ef4762 Enable W191 and W291 flake8 checks.
7 years ago
practicalswift f020aca297 Minor Python cleanups to make flake8 pass with the new rules enabled
7 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
Douglas Roark b9d95bd9a1 Fix various minor linearization script issues
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
8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016
8 years ago
Matthew King 873e81f89b Use portable #! in python scripts (/usr/bin/env)
9 years ago
Paul Georgiou e3c42973b2 Update Linearize tool to support Windows paths
9 years ago
Jeff Garzik 7f68c7dc05 contrib/linearize: Support linearization of testnet blocks
10 years ago
sandakersmann f914f1a746
Added "Core" to copyright headers
10 years ago
Michael Ford 78253fcbad Remove references to X11 licence
10 years ago
Micha ebdd6bf30f
Remove genesis block hash from error
10 years ago
Micha 8d174d6b5d
Make several small string fixes in linearize-data.py
10 years ago
Wladimir J. van der Laan aedc74dfa6 contrib: make linearize-data.py cope with out-of-order blocks
10 years ago
Suhas Daftuar 07d5287f42 Catch error when done reading files
10 years ago
Jeff Garzik 399cdbc700
contrib/linearize: Add feature to set file's timestamp based on block header time.
10 years ago
Jeff Garzik 8f5a423344 contrib/linearize: split block files based on year-month, not just year
10 years ago
Jeff Garzik 75400a2a41 contrib/linearize: Guarantee that output is generated in-order
10 years ago
Jeff Garzik b4a72a75b4 contrib/linearize: split output files based on new-timestamp-year or max-file-size
10 years ago
Jeff Garzik 476eb7eb53 Update linearize scripts.
10 years ago