mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00

* [NOD-443] Immediately request missing parents in API server sync * [NOD-443] Add rpc client log to api server * [NOD-443] Fix wrong ordering of pendingHeaders queue * [NOD-443] Fix error comparision at TestNewHashFromStr * [NOD-443] Make a separate handleMissingParentHeaders function * [NOD-443] Change log level * [NOD-443] Put handleMissingParentHeaders next to handleBlockHeader * [NOD-443] Make handleBlockAddedMsg function * [NOD-443] Make reusable missingParentsHashesStr string * [NOD-443] Remove redundant 's' * [NOD-443] Refactor to first get all blocks and then add them to database * [NOD-443] Rename variables and functions, and remove redundant logs * [NOD-443] Make fetchBlockAndMissingAncestors use block hash as an argument * [NOD-443] Add log only for first orphan block * [NOD-443] Fix wrong order of adding blocks to pendingBlocks * [NOD-443] Write logs for all orphans * [NOD-443] Log only missing parents that are not already fetched * [NOD-443] Rename rawVerboseBlockTuple -> rawVerboseBlock * [NOD-443] Make fetchBlock return *rawVerboseBlock * [NOD-443] Rename rawVerboseBlock -> rawAndVerboseBlock