chaingraph
chaingraph copied to clipboard
A multi-node blockchain indexer and GraphQL API
For chain analysis and block explorer use cases, it would be valuable to settle on a strategy for pre-computing common aggregate statistics. (It's always possible to use aggregation functions with...
Chaingraph should support `input.coin_days_destroyed`, `transaction.coin_days_destroyed`, and `block.coin_days_destroyed` fields.
Given a block hash, which transactions appear to have been added by the miner? Transactions which were first heard over the P2P network are added to `node_transaction`, and after being...
It would be nice to add an example query to [chaingraph.cash](https://chaingraph.cash) to return all successful double spends which occurred within a date range. This probably requires the same `replaced_at` index...
Right now, Chaingraph's heuristic for determining if a block was received "live" is very rough, and the latest ~12 blocks at sync time will have incorrect acceptance times: https://github.com/bitauth/chaingraph/blob/cbebedefea908957b0373d77a60ec17fdff2050b/src/agent.ts#L1265-L1279 A...
The agent already does some recovery when nodes disconnect, but DB errors cause the agent to immediately shutdown. It would be valuable to add some error handling and retry (with...
Chaingraph currently maintains a single, undifferentiated "block buffer" of blocks which are waiting to be saved to the database. When a block is saved successfully, it is removed from the...
This will probably be solved by #18, but somehow block downloads are occasionally completing with a negative duration... We're just ignoring statistics from those downloads, but we should track down...
Right now we basically leave pod assignments up to chance – we should assign pods more intelligently, probably with [Affinity and Anti-Affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity). Ideally, the Postgres process should go to the...
It'd be nice to setup 1-click installs on DigitalOcean: https://github.com/digitalocean/marketplace-kubernetes/blob/master/CONTRIBUTING.md