Skip to content

pepoviola/account-tx-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

account-tx-engine

Example cli application to process payments transactions

Build

cargo build

Run

cargo run -- <input_file.csv> > <output_file.csv>

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.

About

toy account transaction engine

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages