speed up catching up with blockchain
SQL query API method
Merge branch 'develop' of https://github.com/PhantomPhreak/counterpartyd into develop