pokt-network / pocket

Official implementation of the Pocket Network Protocol v1
https://pokt.network
MIT License
61 stars 33 forks source link

[Persistence] Document how different data structures and engines are used #873

Open Olshansk opened 1 year ago

Olshansk commented 1 year ago

Objective

Make it clear and accessible to newcomers to the database how (and why) data is store in a certain way.

Origin Document

https://github.com/pokt-network/pocket/pull/847#discussion_r1239285490

Screenshot 2023-07-03 at 5 36 13 PM

Starting Point

This table can be used as a starting point

Tree Type Storage Type Responsibility
IBC Tree KV Store State Commitment
IBC Tree KV Store State Storage
IBC Tree KV Store Data Integrity
IBC Tree KV Store & Block Store Data Availability
Other Trees KV Store State Commitment
Other Trees Postgres State Storage
Other Trees KV Store Data Integrity
Other Trees KV Store & Postgres & Block Store Data Availability

Goals

Deliverable

Non-goals / Non-deliverables

General issue deliverables


Creator: @Olshansk Co-Owners: @dylanlott @h5law