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-03-09 15:01:08 +02:00

Simple Sync Stability Tester

This tests that two nodes that are connected to each other stay synced while one of them mines a chain.

Running

  1. go install kaspad and simple-sync.
  2. cd run
  3. ./run.sh