committed
66213cc
Commit
Comments (0)
Files changed (5)
-
+13 -0M src/bitcoinrpc.cpp
-
+33 -0M src/main.cpp
-
+12 -0A src/test/features/step_definitions/unknown_protocol_warning.rb
-
+9 -0A src/test/features/unknown_protocol_warning.feature
-
+9 -0M src/wallet.cpp
src/bitcoinrpc.cpp Modified
- Ignore whitespace
src/main.cpp Modified
- Ignore whitespace
+static string strProtocolWarningMessage = _("Unknown protocol vote received. You may need to upgrade your client.");
src/test/features/step_definitions/unknown_protocol_warning.rb Added
- Ignore whitespace
+ expect(@nodes[arg1].info["errors"]).to eq("Unknown protocol vote received. You may need to upgrade your client.")
src/test/features/unknown_protocol_warning.feature Added
- Ignore whitespace
+Feature: Users should be warned if their client receive votes for an unknown protocol. It probably means there's a protocol upgrade to install.
src/wallet.cpp Modified
- Ignore whitespace
bool CWallet::CreateCoinStake(const CKeyStore& keystore, unsigned int nBits, int64 nSearchInterval, CTransaction& txNew, CBlockIndex* pindexprev)