Frozen

Results 74 issues of Frozen

LegacySyncingPeerProvider uses `Neighbors sync.Map` and `BeaconNeighbors sync.Map` to retrieve peers, but no one populates that maps through the whole project. Dead code.

There were errors like `{"level":"info","caller":"/root/go/src/github.com/harmony-one/harmony/api/service/legacysync/epoch_syncing.go:106","time":"2022-08-06T06:15:06.313198608Z","message":"[EPOCHSYNC] Node is now IN SYNC! (isBeacon: true, ShardID: 0, otherEpoch: 1075, currentEpoch: 1078)"}` That means, that it gets height from connected peers and their height...

## Operational Checklist 1. **Does this PR introduce backward-incompatible changes to the on-disk data structure and/or the over-the-wire protocol?**. (If no, skip to question 8.) **NO** 8. **Does this PR...

## Issue **This PR brings RwLocks to blockchain methods.** As i know, Leveldb reads and writes are atomic, and creating additional lock will beat performance. Especially while write lock, no...

## Issue Updated tx pool to v1.10.17. ## Operational Checklist 1. **Does this PR introduce backward-incompatible changes to the on-disk data structure and/or the over-the-wire protocol?**. (If no, skip to...

## Issue ## Test ### Unit Test Coverage Before: ``` ``` After: ``` ``` ### Test/Run Logs ## Operational Checklist 1. **Does this PR introduce backward-incompatible changes to the on-disk...

`Storage` is struct where we keep 2 types of peers: valid peers and invalid. When we ask storage to give us peers to connect, first we get them from valid...

## Issue ## Test ### Unit Test Coverage Before: ``` ``` After: ``` ``` ### Test/Run Logs ## Operational Checklist 1. **Does this PR introduce backward-incompatible changes to the on-disk...

Rotate leader. Currently we choose one leader for all epoch lifetime and change only if leader goes down. PR changes this, so new leader changes every 64 blocks. It calculates...