Wallet related functionality forked from libbitcoin