How to access locally stored inventory data?

1

I'm looking for objects in the source code of Bitcoin Core that record all block inventories distinguished by their miners - Is there a container that keeps track of blocks on chainActive and stores it to disk?
I'm trying to find analogs for what is defined as private and public branch in the paper about the Selfish Mine Attack.

NOTE:
As I noticed by some tests, vInventoryToSend and setInventoryKnown don't seem to be very helpul in their actual form:
vInventoryToSend temporarily stores only freshly self-mined blocks and setInventoryKnown stores all blocks, no matter if self-mined, received or even outside of chainActive.

Aliakbar Ahmadi

Posted 2015-06-21T16:40:35.737

Reputation: 1 335

No answers