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

9 lines
239 B
Bash

# Get the current height of the blockchain and post json to stdout.
#
#
# Example:
# > bash parse_blocks.sh [100,101,102,103,104]
# > {"height": 3000000}
#
#
export PYTHONWARNINGS="ignore" && python parsing/scripts/height.py