Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Don't remove confirmed requests to early. #4933

Merged
merged 2 commits into from Mar 18, 2017
Merged

Don't remove confirmed requests to early. #4933

merged 2 commits into from Mar 18, 2017

Conversation

tomusdrw
Copy link
Collaborator

In case of two independent clients waiting for the same request to finish using check_request only one could get a proper response.
This PR will remove completed entries after 60s of inactivity.
To prevent an attack where sender tries to keep all entries active there is an upper limit equal to signing queue upper limit.

@tomusdrw tomusdrw added A0-pleasereview 🤓 Pull request needs code review. M6-rpcapi 📣 RPC API. labels Mar 16, 2017
@arkpar arkpar added A8-looksgood 🦄 Pull request is reviewed well. and removed A0-pleasereview 🤓 Pull request needs code review. labels Mar 16, 2017
@ngotchac ngotchac mentioned this pull request Mar 17, 2017
4 tasks
@gavofyork gavofyork closed this Mar 17, 2017
@gavofyork gavofyork reopened this Mar 17, 2017
@debris debris merged commit c36f426 into master Mar 18, 2017
@debris debris deleted the signing-fix branch March 18, 2017 14:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A8-looksgood 🦄 Pull request is reviewed well. M6-rpcapi 📣 RPC API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants