Fork of libbitcoin2.0, fixes a problem where debits are not stored, leading to incorrect balance calculations