use python-bitcoinlib almost everywhere