-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Netting Project: PR 1 of n #409
Conversation
Tracked in #410 |
rm -rf data/ | ||
|
||
gen_data: | ||
python3 scripts/generate_data.py |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to remain consistent with the code base, let's use Makefile
instead of makefile
. Although both work, the GNU make
manual recommends Makefile
:
We recommend
Makefile
because it appears prominently near the beginning of a directory listing, right near other important files such asREADME
.
bal_file_prefix = "party_" | ||
bal_file_suffix = "_bal_data.csv" | ||
|
||
NETTING_BASE_DIR = "/usr/src/HoneyBadgerMPC/apps/netting/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there a plan to have more files under apps/netting/config/
? If not, apps/netting/config.py
is sufficient and makes the code simpler.
shutil.rmtree(path) | ||
except Exception as e: | ||
logging.exception(e) | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pass
is not needed 😄 .
Closing as we're working on another branch |
The project will probably have lots of PRs coming the way. I am making small PRs for fast development and easy review/merges.
Although this PR does not add any functionality by itself, I think merging this will save development and review time in the future. Let me know if you have any issues with this approach. And we can decide on another way of doing this.
I am also trying to maintain this project as a standalone project without reliance on this codebase, but I don't think that effort is warranted for now. I am using a custom .gitignore file for this project.
As of now, this PR supports:
Creation of transaction and balances from initial values
Client reading the data from files and saving in-memory structures.
Tests for the correct functioning of these files