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

Allow OffchainWorker Local Storage (DB) set/get over RPC. #4420

Closed
tomusdrw opened this issue Dec 17, 2019 · 3 comments
Closed

Allow OffchainWorker Local Storage (DB) set/get over RPC. #4420

tomusdrw opened this issue Dec 17, 2019 · 3 comments
Labels
J0-enhancement An additional feature request. Z6-mentor An easy task where a mentor is available. Please indicate in the issue who the mentor could be.
Milestone

Comments

@tomusdrw
Copy link
Contributor

The RPC API should pretty much directly reassemble the sp_io local storage API.

This will allow setting up some secrets via RPC or even enabling/disabling some workers (requires the worker code to support that obviously).

Also allows investigating the state of the worker on running node.

@tomusdrw tomusdrw added J0-enhancement An additional feature request. M6-rpcapi Z6-mentor An easy task where a mentor is available. Please indicate in the issue who the mentor could be. labels Dec 17, 2019
@bkchr bkchr added this to the Ideas milestone Dec 17, 2019
@xlc
Copy link
Contributor

xlc commented Dec 17, 2019

This will also solves #3912

@xlc
Copy link
Contributor

xlc commented Dec 17, 2019

Without #2303, this could be a DOS vector as anyone have access to this RPC will be able to insert data to fill the disk of the node.

@tomusdrw
Copy link
Contributor Author

Implemented in #4694

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J0-enhancement An additional feature request. Z6-mentor An easy task where a mentor is available. Please indicate in the issue who the mentor could be.
Projects
None yet
Development

No branches or pull requests

3 participants