chainwalkers_bitcoin/parse_blocks.sh
2020-01-22 14:33:34 -05:00

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 "$@"