diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2019-03-27 17:07:32 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2019-07-08 11:33:12 -0400 |
commit | 613c46fe9e39f55b0f0daa18fee20b4120db2539 (patch) | |
tree | 55d37d42dbe08bc1869933173d710b97ed578474 /libbitcoinconsensus.pc.in | |
parent | 2679bb8919b5089f8067ccfd94f766747b8df671 (diff) |
refactoring: move block metadata structures into BlockManager
Separate out the management of chain-agnostic block metadata from any given
CChainState instance. This allows us to avoid duplicating data like
`mapBlockIndex` unnecessarily for multiple chainstates.
This also adds a CChainState constructor that accepts and sets m_blockman.
Ultimately this reference will point to a BlockMan instance that
is shared across CChainStates.
This commit can be decomposed into smaller commits if necessary.
Diffstat (limited to 'libbitcoinconsensus.pc.in')
0 files changed, 0 insertions, 0 deletions