Michael Sutton c81506220b
Send pruning point anticone in batches (#1973)
* 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>
2022-03-13 16:31:34 +02:00
..
2021-03-09 15:01:08 +02:00
2021-03-09 15:01:08 +02:00
2021-03-09 15:01:08 +02:00
2021-07-26 12:24:07 +03:00
2021-03-09 15:01:08 +02:00

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

  1. go install kaspad.
  2. go install ./....
  3. cd run
  4. ./run.sh