CIP: 1 Title: CIP Purpose and Guidelines Author: Devon Weller Status: Draft Type: Process Created: 2015-10-27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TIME=$(date -d "$1" +"%s") | |
function getBlockTime { | |
echo $(bitcoin-cli getblockheader $(bitcoin-cli getblockhash $1) | jq -r .time) | |
} | |
function binarySearch { | |
L=$1 |