harmony
harmony copied to clipboard
The core protocol of harmony
Block period from 1 to 5 seconds, depending on txs count.
Current ValidateState is taking too much responsibility such as check receipt root and cross-shard receipt hash, while ValidateBody is mainly checking transaction root. We should move some of the functionalities...
## Issue ## Test ### Unit Test Coverage Before: ``` ``` After: ``` ``` ### Test/Run Logs ## Operational Checklist 1. **Does this PR introduce backward-incompatible changes to the on-disk...
## Issue This PR uses `context.Background()` to put stream sync stages routines on separate context. This changes could fix the issue of stream disk cache. **This PR is not tested...
## Background Block finality is the state of a block where it is impossible to revert the block or the cost of reversion is extremely high. Faster block finality brings...
## Issue ## Test ### Unit Test Coverage Before: ``` ``` After: ``` ``` ### Test/Run Logs ## Operational Checklist 1. **Does this PR introduce backward-incompatible changes to the on-disk...
## Description This pr is designed to prune the state-trie in run-time. The goal is to slow down the growth of disk usage for non-archival nodes. When a new state-trie...
## Issue ## Test ### Unit Test Coverage Before: ``` ``` After: ``` ``` ### Test/Run Logs ## Operational Checklist 1. **Does this PR introduce backward-incompatible changes to the on-disk...
In testnet, a potential race condition is spotted where precommit and finalcommit happened at the same time. This could only happen in testnet because there is less keys and the...
**Describe the bug** If a node uses the disk cache and tries to process a single transaction for the entire sync loop, the sync will break and the node will...