• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

btcsuite / btcd / 8893534348

30 Apr 2024 10:49AM UTC coverage: 57.021% (+0.1%) from 56.872%
8893534348

Pull #2181

github

kcalvinalvin
blockchain: Add ReconsiderBlock to BlockChain

ReconsiderBlock reconsiders the validity of the block for the passed
in blockhash. The behavior of the function mimics that of Bitcoin Core.

The invalid status of the block nodes are reset and if the chaintip that
is being reconsidered has more cumulative work, then we'll validate the
blocks and reorganize to it. If the cumulative work is lesser than the
current active chain tip, then nothing else will be done.
Pull Request #2181: blcokchain: Add ReconsiderBlock()

413 of 475 new or added lines in 5 files covered. (86.95%)

15 existing lines in 4 files now uncovered.

29628 of 51960 relevant lines covered (57.02%)

465948.8 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

73.94
/peer/peer.go


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc