Skip to content

Add code for large amount of users creation and few recommendations#1

Open
ifuensan wants to merge 16 commits into
pinheadmz:masterfrom
ifuensan:master
Open

Add code for large amount of users creation and few recommendations#1
ifuensan wants to merge 16 commits into
pinheadmz:masterfrom
ifuensan:master

Conversation

@ifuensan
Copy link
Copy Markdown

Changes

  1. Extend code for User/Password creation: Implemented functionality to create a large number of users and their corresponding passwords.

  2. Recommendations in Install and Run sections:

  • Python Virtual Environment: Recommended setting up a Python Virtual Environment for the project installation to manage dependencies effectively.
  • Using nohup or tmux: Suggested using nohup or tmux to run long processes without interruption.

Copy link
Copy Markdown
Owner

@pinheadmz pinheadmz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your work on this! I have to apologize, I had a bulk-user function implemented already (I needed it for BTCFOSS in January) but I didn't push it to the repository. That's now on master branch in a2e5e98

I started reviewing this PR and left a some nits in the English before I realized we'd duplicated work. Take a look at the --n option I wrote and let me know if this satisfies your use case as well

Comment thread README.md Outdated
Comment thread README.md
- Optionally add `-signet`, etc for different network
- Start proxy server: `python src/server.py main`
- Optionally replace `main` with `signet`, etc.
- Use `nohup` or `tmux` to ensure that the server process is not killed when exiting the terminal or session.
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should go before "start proxy server" and indicate its optional.

Comment thread README.md Outdated
Comment thread README.md
```
### Large amount of Users ###
Another utility that you can use for adding large amount of users it's `src/bulk_users.py`. Hashed passwords are saved by
default in a JSON file at `~/.rpc-auth-proxy-passwords.json`, but another file is saved too with the pair of username and clear password.
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whats the other files name and path?

Comment thread README.md Outdated
ifuensan and others added 3 commits August 7, 2024 23:30
Co-authored-by: Matthew Zipkin <pinheadmz@gmail.com>
Co-authored-by: Matthew Zipkin <pinheadmz@gmail.com>
Co-authored-by: Matthew Zipkin <pinheadmz@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants