- Write indexer state and index atomically. - Simplify chain state with current height. - Roll forward to best height. - Synchronize the index with the chain with common method `sync` for the events 'connect', 'disconnect' and 'reset'. This will prevent any of the events from conflicting with each other. - Fix the chain rollback and reset. - Make sure blocks are connected in the correct order. - Improve logging to log similar to chain. |
||
|---|---|---|
| .. | ||
| fullnode.js | ||
| http.js | ||
| index.js | ||
| node.js | ||
| rpc.js | ||
| spvnode.js | ||