mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-11 18:29:57 +00:00

* Extract syncPruningPointUTXOSet to a separate method. * Implement logic to send pruning point utxo set chunks in a loop. * Replace IBDRootUTXOSetAndBlockMessage with IbdRootUtxoSetChunkMessage. * Add a new message: RequestNextIBDRootUTXOSetChunk. * Add a new message: DoneIBDRootUTXOSetChunks. * Protect HandleRequestIBDRootUTXOSetAndBlock from rogue messages. * Reimplement receiveIBDRootUTXOSetAndBlock. * Add CmdDoneIBDRootUTXOSetChunks to the HandleRelayInvs flow. * Decrease the max message size to 10mb. * Fix bad step. * Fix confusion between outgoing/incoming routes. * Measure how long it takes to send/receive the UTXO set. * Use LogAndMeasure in handleRequestIBDRootUTXOSetAndBlockFlow.