You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal
Implement optional execution of scripts on the access node.
Design Proposal
Script execution is already being done on the execution node by using the script execution engine, which can be reused in this use case. The script execution engine needs to be changed to require slimmer interfaces which will be easier to conform to by the script execution module that will be built and will use the Pebble index database.
On the database population side, we will create a state indexer module that will be responsible for reacting to new data available from the state sync API triggered by the state requester engine using the callback. The indexer module will use an internal jobqueue to make sure we handle sequential indexing of new block data, as well as have good failover and retry logic already implemented.
The indexer module will use defined interfaces for persisting data in the indexer database.
A simple overview of the design:
The content you are editing has changed. Please copy your edits and refresh the page.
Goal
Implement optional execution of scripts on the access node.
Design Proposal
Script execution is already being done on the execution node by using the script execution engine, which can be reused in this use case. The script execution engine needs to be changed to require slimmer interfaces which will be easier to conform to by the script execution module that will be built and will use the Pebble index database.
On the database population side, we will create a state indexer module that will be responsible for reacting to new data available from the state sync API triggered by the state requester engine using the callback. The indexer module will use an internal jobqueue to make sure we handle sequential indexing of new block data, as well as have good failover and retry logic already implemented.
The indexer module will use defined interfaces for persisting data in the indexer database.
A simple overview of the design:
Tasks
Testing
The text was updated successfully, but these errors were encountered: