A simple CLI payment processor
Find a file
Bruno BELANYI 6d98a05cee ledger: add dispute-related flow
It is unclear whether or deposits should be disputable, or only
withdrawals.

At the moment, both are disputable, but that does mean we can get into
"weird" states by disputing a deposit: the held funds being negative.

In turn, this means that there is relatively little error-checking for
those balance values, the only clear thing is that withdrawing more than
is currently available is absolutely an error. But is holding more than
is available also an error? What about having a negative held funds
balance? A negative total funds? Etc...
2022-08-23 15:35:53 +02:00
src ledger: add dispute-related flow 2022-08-23 15:35:53 +02:00
.envrc nix: add direnv integration 2022-08-22 17:11:53 +02:00
.gitignore git: ignore generated files 2022-08-22 17:11:53 +02:00
Cargo.lock ledger: process deposits and withdrawals 2022-08-23 15:35:53 +02:00
Cargo.toml ledger: process deposits and withdrawals 2022-08-23 15:35:53 +02:00
flake.lock nix: init flake environment 2022-08-22 17:11:53 +02:00
flake.nix nix: init flake environment 2022-08-22 17:11:53 +02:00