graphprotocol / graphprotocol/graph-node
Skip block pointer updates when there are no triggers
Open
@evaporei is already working on this.
Since Dec 2, 2021.
- Dominant language
- Rust
- Stars
- 3.2k
- Forks
- 1.1k
- Avg merge
- 4d 1h
- Merged PRs (30d)
- 1
Description
When Graph Node is using a Firehose for indexing, it updates the block pointer for every block. This is a time-consuming step, and is likely a significant contributor to sync time. This could be optimised by updating this periodically during syncing (per x blocks / per amount of time?)
- Implementation
- Testing
Refactor(moved to #3224 )instance_manager.rs
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.