kaspad/stability-tests
stasatdaglabs 837dac68b5
Update block headers to include multiple levels of parent blocks (#1822)
* Replace the old parents in the block header with BlockLevelParents.

* Begin fixing compilation errors.

* Implement database serialization for block level parents.

* Implement p2p serialization for block level parents.

* Implement rpc serialization for block level parents.

* Add DirectParents() to the block header interface.

* Use DirectParents() instead of Parents() in some places.

* Revert test_block_builder.go.

* Add block level parents to hash serialization.

* Use the zero hash for genesis finality points.

* Fix failing tests.

* Fix a variable name.

* Update headerEstimatedSerializedSize.

* Add comments in blocklevelparents.go.

* Fix the rpc-stability stability test.

* Change the field number for `parents` fields in p2p.proto and rpc.proto.

* Remove MsgBlockHeader::NumParentBlocks.
2021-08-24 12:06:39 +03:00
..
2021-03-09 15:01:08 +02:00

Stability-Test Tools

This package provides some higher-level tests for kaspad.
These are tests that are beyond the scope of unit-tests, and some of them might take long time to run.

Running

  • To run only the fast running tests call ./install_and_test.sh
  • To include all tests call SLOW=1 ./install_and_test.sh (Note this will take many hours to finish)
  • To run a single test cd [test-name]/run and call ./run.sh