HomePhabricator

Add test cases for CBlockIndex class

Description

Add test cases for CBlockIndex class

Summary:
New cases coverage:

  • GetBlockHash()
  • ToString()
  • BuildSkip()
  • GetAncestor()

Test Plan:
./src/test/test_bitcoin --log_level=all run_test=blockindex_tests

Suggested reviewers:

  • jasonbcox
  • deadalnix

Completes T355

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, jasonbcox

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, jasonbcox

Subscribers: schancel, jasonbcox, deadalnix, teamcity

Differential Revision: https://reviews.bitcoinabc.org/D1934

Details

Provenance
FabienAuthored on Oct 18 2018, 17:12
FabienPushed on Nov 1 2018, 14:48
Reviewer
Restricted Owners Package
Differential Revision
D1934: Add test cases for CBlockIndex class
Parents
rABC93da47645e06: Various small changes in p2p-fullblocktest.py
Branches
Unknown
Tags
Unknown