Remove unused parameters from process_live.
This commit is contained in:
parent
e773fa8d79
commit
8f9536b915
2 changed files with 4 additions and 4 deletions
|
@ -319,7 +319,7 @@ auto nano::block_processor::process_batch (nano::unique_lock<nano::mutex> & lock
|
|||
return processed;
|
||||
}
|
||||
|
||||
void nano::block_processor::process_live (nano::transaction const & transaction_a, nano::block_hash const & hash_a, std::shared_ptr<nano::block> const & block_a, nano::process_return const & process_return_a)
|
||||
void nano::block_processor::process_live (nano::transaction const & transaction_a, std::shared_ptr<nano::block> const & block_a)
|
||||
{
|
||||
// Start collecting quorum on block
|
||||
if (node.ledger.dependents_confirmed (transaction_a, *block_a))
|
||||
|
@ -352,8 +352,8 @@ nano::process_return nano::block_processor::process_one (nano::write_transaction
|
|||
block->serialize_json (block_string, node.config.logging.single_line_record ());
|
||||
node.logger.try_log (boost::str (boost::format ("Processing block %1%: %2%") % hash.to_string () % block_string));
|
||||
}
|
||||
events_a.events.emplace_back ([this, hash, block, result] (nano::transaction const & post_event_transaction_a) {
|
||||
process_live (post_event_transaction_a, hash, block, result);
|
||||
events_a.events.emplace_back ([this, block] (nano::transaction const & post_event_transaction_a) {
|
||||
process_live (post_event_transaction_a, block);
|
||||
});
|
||||
queue_unchecked (transaction_a, hash);
|
||||
/* For send blocks check epoch open unchecked (gap pending).
|
||||
|
|
|
@ -68,7 +68,7 @@ private:
|
|||
nano::process_return process_one (nano::write_transaction const &, block_post_events &, std::shared_ptr<nano::block> block, bool const = false);
|
||||
void queue_unchecked (nano::write_transaction const &, nano::hash_or_account const &);
|
||||
std::deque<processed_t> process_batch (nano::unique_lock<nano::mutex> &);
|
||||
void process_live (nano::transaction const &, nano::block_hash const &, std::shared_ptr<nano::block> const &, nano::process_return const &);
|
||||
void process_live (nano::transaction const &, std::shared_ptr<nano::block> const &);
|
||||
void process_verified_state_blocks (std::deque<nano::state_block_signature_verification::value_type> &, std::vector<int> const &, std::vector<nano::block_hash> const &, std::vector<nano::signature> const &);
|
||||
void add_impl (std::shared_ptr<nano::block> block);
|
||||
bool stopped{ false };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue