-Logging functions in bitcoin.py