interacting with Bitcoin Core daemon from C++