threshold-network / staking-subgraphs

Threshold Network staking subgraphs
https://threshold.network
1 stars 1 forks source link

Add stake history again #52

Closed manumonti closed 8 months ago

manumonti commented 8 months ago

These changes add historical data for stake and unstake actions.

This data was previously available but it was developed inefficiently. With the previous implementation, the entities created by the subgraph were> 405,000, so the indexing times were extensive and the indexer nodes in The Graph protocol needed a lot of storage and processing capacity.

With this new implementation, the total number of entities stored by indexers is ~5,000.