mirror of
https://github.com/FlipsideCrypto/chainwalkers_bitcoin.git
synced 2026-02-06 10:46:43 +00:00
10 lines
340 B
Bash
10 lines
340 B
Bash
# Parse an array of blocks and write parsed json to stdout.
|
|
#
|
|
#
|
|
# Example:
|
|
# > bash parse_blocks.sh 100 101 102 103 104
|
|
# > [{"hash": "0x067fdc5b9615e604ff9cee0025687e868ce6feee45e2d1f5be75d7e617c57a06", "timestamp": 1546763415, ...}, ...]
|
|
#
|
|
#
|
|
export PYTHONWARNINGS="ignore" && python parsing/scripts/parse.py --heights "$@"
|