The bit size and compression ratio should be variable, allowing the user to choose #5

Open
atoponce opened this Issue Mar 31, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@atoponce
Owner

atoponce commented Mar 31, 2011

Currently, in mint_hashcash.py, the bit size is hardcoded to 20 bits and the compression is hard coded to '2'. These should be set as variables by the user, depending on their hardware, and what they consider to be "good enough".

It should be mentioned that the default bit size for Hashcash is 20 bits, and the default compression is '0', or no compression.

@atoponce

This comment has been minimized.

Show comment
Hide comment
@atoponce

atoponce Apr 5, 2011

Owner

Thoughts about creating a ~/.pennyredrc for this options? This would be the "easy out", but I can't stand dotfiles in /home/user. ~/.config/pennyred/pennyrc wouldn't be too bad, but even then, I'm not a fan. These are plain text scripts, so the user could just put them into variables, and keep everything in the script. Either way, the user will have to add the values somewhere.

Owner

atoponce commented Apr 5, 2011

Thoughts about creating a ~/.pennyredrc for this options? This would be the "easy out", but I can't stand dotfiles in /home/user. ~/.config/pennyred/pennyrc wouldn't be too bad, but even then, I'm not a fan. These are plain text scripts, so the user could just put them into variables, and keep everything in the script. Either way, the user will have to add the values somewhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment