protocol: pass blockchain cumulative difficulty when syncing
Not used yet.
This commit is contained in:
@@ -826,6 +826,16 @@ namespace cryptonote
|
||||
*/
|
||||
bool for_all_outputs(std::function<bool(uint64_t amount, const crypto::hash &tx_hash, size_t tx_idx)>) const;
|
||||
|
||||
/**
|
||||
* @brief get a reference to the BlockchainDB in use by Blockchain
|
||||
*
|
||||
* @return a reference to the BlockchainDB instance
|
||||
*/
|
||||
const BlockchainDB& get_db() const
|
||||
{
|
||||
return *m_db;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief get a reference to the BlockchainDB in use by Blockchain
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user