Skip to content
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

Extend Proof of Work requiring clients to perform a proof of work on session renewal. #4119

Closed
evilaliv3 opened this issue Jun 26, 2024 · 1 comment

Comments

@evilaliv3
Copy link
Member

evilaliv3 commented Jun 26, 2024

Proposal

I would like to propose to extend the proof of work mechanism requiring clients to complete a challenge to perform the session renewal.

The idea is to require the client to perform a dynamic proof of work mechanism varying from complexity LOW to HIGH based on a threshold.

Extending the thresholds defined in #4118 and adding thresholds_proof_of_work_operations_per_session = 50 we could for example require a client to renew the session every 60 seconds by continue to solve a proof of work. The proof of work complexity could be dynamically changed from a level LOW to HIGH based on the number of requests that the client is performing.

Motivation and context

Ticket strictly related to #4118 with same motivations.

@evilaliv3 evilaliv3 added this to the 5.0.0 milestone Jun 26, 2024
@evilaliv3 evilaliv3 changed the title Extend proof of Proof of Work requiring clients to perform a proof of work on session renewal. Extend Proof of Work requiring clients to perform a proof of work on session renewal. Jul 9, 2024
@evilaliv3 evilaliv3 removed this from the 5.0.0 milestone Jul 9, 2024
@evilaliv3
Copy link
Member Author

Closing the ticket since current version (5.0.12) implement the proof of work at every session renewal.

The complexity for the moment is kept constant.

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

No branches or pull requests

1 participant