src/MicroCore.cpp
/**
     * The constructor is interesting, as
     * m_mempool and m_blockchain_storage depend
     * on each other.
     *
     * So basically m_mempool is initialized with
     * reference to Blockchain (i.e., Blockchain&)
     * and m_blockchain_storage is initialized with
     * reference to m_mempool (i.e., tx_memory_pool&)
     *
     * The same is done in cryptonode::core.
     */
The constructor is interesting, as
m_mempool and m_blockchain_storage depend
on each other.

So basically m_mempool is initialized with
reference to Blockchain
and m_blockchain_storage is initialized with
reference to m_mempool

The same is done in cryptonode::core.
The constructor is interesting as m_mempool and m_blockchain_storage depend on each other . So basically m_mempool is initialized with reference to Blockchain and m_blockchain_storage is initialized with reference to m_mempool The same is done in cryptonode :: core .
MicroCore::MicroCore():
            m_mempool(m_blockchain_storage),
            m_blockchain_storage(m_mempool)
    {
        m_device = &hw::get_device("default");
    }
MicroCore :: MicroCore ( ) : m_mempool ( m_blockchain_storage ) , m_blockchain_storage ( m_mempool ) { m_device = & hw :: get_device ( " " ) ; }
The constructor is interesting, as
 m_mempool and m_blockchain_storage depend
 on each other.
The constructor is interesting as m_mempool and m_blockchain_storage depend on each other .