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

Proof of Concept (POC) for RPC Companion - /block #7

Closed
4 tasks done
andynog opened this issue Jun 20, 2023 · 1 comment
Closed
4 tasks done

Proof of Concept (POC) for RPC Companion - /block #7

andynog opened this issue Jun 20, 2023 · 1 comment
Assignees
Labels

Comments

@andynog
Copy link
Contributor

andynog commented Jun 20, 2023

This Proof of Concept (POC) for the RPC companion will implement the minimum code required to validate a end to end test focusing on the Block structure.

The POC will implement logic for a Ingest Service that when started fetches a few blocks from a full node using its JSONRPC endpoint and method /block. For each block retrieved the Ingest Service will insert the block information into a PostgreSQL database that has the proper schema definition to persist a block structure.

The POC will also implement an initial JSONRPC endpoint that returns a block with information retrieved from the database.

The final validation for the POC is to ensure the response for a block returned from a full node JSONRPC endpoint is compatible with the block returned from the RPC Companion service.

In order to implement the POC the following tasks will need to be implemented:

@andynog andynog added the POC label Jun 20, 2023
@andynog andynog self-assigned this Jun 20, 2023
@andynog
Copy link
Contributor Author

andynog commented Jun 28, 2023

Implemented as part of PR #6, as described it there, this POC implementation implemented logic to persist data in a normalized way but that's not a good approach. Will refactored the persistence logic a bit to be more flexible and will normalized accordingly when use cases require that.

@andynog andynog closed this as completed Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant