mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-10-14 00:59:33 +00:00

* 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.
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