Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
revert producer_plugin.cpp #4196
Browse files Browse the repository at this point in the history
  • Loading branch information
moskvanaft committed Jun 21, 2018
1 parent 4a951fc commit c5e2899
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions plugins/producer_plugin/producer_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ using transaction_id_with_expiry_index = multi_index_container<
>
>;



enum class pending_block_mode {
producing,
speculating
Expand Down Expand Up @@ -115,9 +117,9 @@ class producer_plugin_impl : public std::enable_shared_from_this<producer_plugin
bool maybe_produce_block();

boost::program_options::variables_map _options;
bool _production_enabled = false;
bool _pause_production = false;
uint32_t _production_skip_flags = 0; //eosio::chain::skip_nothing;
bool _production_enabled = false;
bool _pause_production = false;
uint32_t _production_skip_flags = 0; //eosio::chain::skip_nothing;

using signature_provider_type = std::function<chain::signature_type(chain::digest_type)>;
std::map<chain::public_key_type, signature_provider_type> _signature_providers;
Expand Down Expand Up @@ -398,7 +400,6 @@ producer_plugin::producer_plugin()

producer_plugin::~producer_plugin() {}


void producer_plugin::set_program_options(
boost::program_options::options_description& command_line_options,
boost::program_options::options_description& config_file_options)
Expand Down

0 comments on commit c5e2899

Please sign in to comment.