Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
Remove the bad block sentinel mechanism.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriseth committed Feb 16, 2016
1 parent 7b77041 commit 91618be
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions eth/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ void help()
<< " --session-sign-key <address> Sign all transactions with the key of the given address for this session only." << endl
<< " --master <password> Give the master password for the key store." << endl
<< " --password <password> Give a password for a private key." << endl
<< " --sentinel <server> Set the sentinel for reporting bad blocks or chain issues." << endl
<< endl
<< "Console mode:" << endl
<< " --script <script> Run the given script after startup." << endl
Expand Down Expand Up @@ -357,7 +356,6 @@ int main(int argc, char** argv)

bool upnp = true;
WithExisting withExisting = WithExisting::Trust;
string sentinel;

/// Networking params.
string clientName;
Expand Down Expand Up @@ -471,8 +469,6 @@ int main(int argc, char** argv)
mode = OperationMode::Export;
filename = argv[++i];
}
else if (arg == "--sentinel" && i + 1 < argc)
sentinel = argv[++i];
else if (arg == "--mine-on-wrong-chain")
mineOnWrongChain = true;
else if (arg == "--script" && i + 1 < argc)
Expand Down Expand Up @@ -982,7 +978,6 @@ int main(int argc, char** argv)
netPrefs,
&nodesState);
web3.ethereum()->setSealOption("sealOnBadChain", rlp(mineOnWrongChain));
web3.ethereum()->setSentinel(sentinel);
if (!extraData.empty())
web3.ethereum()->setExtraData(extraData);

Expand Down

0 comments on commit 91618be

Please sign in to comment.