added support for older bitcoin-qt versions