C wrapper for libbitcoin