pull down to refresh
Oh, neat. Thanks! Will adopt the script if you don't mind.
Note: There's also the
invalid status in getchaintips when you've used invalidateblock.pull down to refresh
invalid status in getchaintips when you've used invalidateblock.
#!/bin/shsince you are not using any Bash-specific features in the script. Also you can usejq -c '.[] | select (.status != "active")'for brevity.bitcoin-cli getchaintipsis shorter than yours.