Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Optional async for process RPC #3080

Merged
merged 1 commit into from
Jan 26, 2021

Conversation

wezrule
Copy link
Contributor

@wezrule wezrule commented Jan 6, 2021

Each process call opens a single write transaction which can slow down testing. Add an "async" option to the process RPC which is non blocks (and returns "started":"1" if added) hooks into the block processor and just adds it to the queue,. To know if the block is added the websocket for unconfirmed blocks should be checked.

@wezrule wezrule added enhancement documentation This item indicates the need for or supplies updated or expanded documentation rpc Changes related to Remote Procedure Calls labels Jan 6, 2021
@wezrule wezrule requested a review from SergiySW January 6, 2021 14:24
@wezrule wezrule self-assigned this Jan 6, 2021
@zhyatt zhyatt added this to the V22.0 milestone Jan 26, 2021
@wezrule wezrule merged commit 664a940 into nanocurrency:develop Jan 26, 2021
@wezrule wezrule deleted the process_async_rpc branch January 26, 2021 16:09
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
documentation This item indicates the need for or supplies updated or expanded documentation enhancement rpc Changes related to Remote Procedure Calls
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants