Skip to content

Commit

Permalink
Remove straggling ends from unused code in DB
Browse files Browse the repository at this point in the history
- Leftovers from DB resize fix (non-functional, scrapping for now)
  • Loading branch information
who-biz committed Jun 5, 2020
1 parent ce7cf5c commit b530ad2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
10 changes: 0 additions & 10 deletions src/blockchain_db/blockchain_db.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,16 +257,6 @@ void BlockchainDB::pop_block(block& blk, std::vector<transaction>& txs)
remove_transaction(get_transaction_hash(blk.miner_tx));
}

bool BlockchainDB::need_resize()
{
return need_resize();
}

void BlockchainDB::do_resize()
{
do_resize();
}

bool BlockchainDB::is_open() const
{
return m_open;
Expand Down
5 changes: 0 additions & 5 deletions src/blockchain_db/blockchain_db.h
Original file line number Diff line number Diff line change
Expand Up @@ -734,11 +734,6 @@ class BlockchainDB
*/
virtual void batch_stop() = 0;

virtual bool need_resize();

virtual void do_resize();


/**
* @brief sets whether or not to batch transactions
*
Expand Down

0 comments on commit b530ad2

Please sign in to comment.