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

* add p2p v5 which is currently identical to v4 * set all internal imports to v5 * set default version to 5 * Send pruning point and its anticone in batches * go lint * Fix jsom format * Use DequeueWithTimeout * Assert that batch size < route capacity * oops, this is a flow handler, by definition it needs to be w/o a timeout * here however, a timeout is required * Keep IDs of prev messages unmodified * previous merge operation accidentally erased an important part of this pr * Extend timeout of simple sync Co-authored-by: Ori Newman <orinewman1@gmail.com>
Netsync Stability Tester
This tests that the netsync is at least 5 blocks per second.
Note: the test doesn't delete kaspad's data directory and it's the user responsibility to delete the data directories that appear in the log.
Running
go install kaspad
.go install ./...
.cd run
./run.sh