harmony
harmony copied to clipboard
The core protocol of harmony
## Description This PR enhances the visibility and monitoring capabilities of boot nodes by adding an RPC server. Previously, boot nodes lacked any RPCs and did not expose any meta...
1. Moved `PostConsensusProcessing` from node to consensus, because method uses consensus methods, but not node. 2. Consensus uses `validateShardBoundMessage` indirectly, but `validateShardBoundMessage` uses consensus internally which causes deadlock. Changed method...
```bash Jul 23 15:26:07 dco-vals1-go-1-21-testing harmony[1641942]: panic: division by zero Jul 23 15:26:07 dco-vals1-go-1-21-testing harmony[1641942]: goroutine 264 [running]: Jul 23 15:26:07 dco-vals1-go-1-21-testing harmony[1641942]: math/big.nat.div({0x0?, 0xc00007a800?, 0xc0009d7ce0?}, {0x0?, 0xc00129eaf8?, 0x43e485?}, {0x0?,...
## 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 ## Test ### Unit Test Coverage Before: ``` ``` After: ``` ``` ### Test/Run Logs ## Operational Checklist 1. **Does this PR introduce backward-incompatible changes to the on-disk...
## Issue ## Test ### Unit Test Coverage Before: ``` ``` After: ``` ``` ### Test/Run Logs ## Operational Checklist 1. **Does this PR introduce backward-incompatible changes to the on-disk...
Method FBFTLog uses lock internally, so it could cause deadlock. Moved lock acquiring down to the error handling.
Hotstuff protocol requires each new block being produced by next validator.
Feature. Refactored block proposal.