what's CCoinsViewDB::GetHeadBlocks for?

what's CCoinsViewDB::GetHeadBlocks for?

I have google a lot, there exists little information, confused with the code comments

Retrieve the range of blocks that may have been only partially written. If the database is in a consistent state, the result is the empty vector. Otherwise, a two-element vector is returned consisting of the new and the old block hash, in that order.
http://ift.tt/2zNpdnq

Comments

Popular posts from this blog

Unable to send raw transaction: mandatory-script-verify-flag-failed

ETH To The Moon / Bank of England Cryptocurrency? / BTC Dominance / More (The Crypt0 Minute)

My blockchain.info wallet was hacked. How can I create a double send to foil the attacker?