Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pepoviola/account-tx-engine
toy account transaction engine
https://github.com/pepoviola/account-tx-engine
Last synced: 5 days ago
JSON representation
toy account transaction engine
- Host: GitHub
- URL: https://github.com/pepoviola/account-tx-engine
- Owner: pepoviola
- Created: 2021-03-27T18:27:09.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-03-27T19:40:28.000Z (over 3 years ago)
- Last Synced: 2023-03-12T02:32:57.599Z (over 1 year ago)
- Language: Rust
- Size: 12.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# account-tx-engine
Example cli application to process payments transactions## Build
```
cargo build
```## Run
```
cargo run -- >
```## Test
```
cargo test
```## NOTES
- Only deposit and withdrawals can be disputed ( is weird to disout a deposit but could be the case).
- Only `disputed` transactions can be resolved or chagebacked.
- Test are running in CI ( build / fmt / clippy ).### List of improvements:
- Add unit test and improve integration tests.
- Accept a generic iterator, allowing not only read `cvs` files.
- Add a transaction log to easy replay by client.