Merge branch 'FSM' into jl777
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -132,6 +132,7 @@ src/cc/rogue/rogue
|
|||||||
src/cc/rogue/rogue.so
|
src/cc/rogue/rogue.so
|
||||||
|
|
||||||
src/cc/rogue/test.zip
|
src/cc/rogue/test.zip
|
||||||
|
src/cc/dapps/a.out
|
||||||
src/checkfile
|
src/checkfile
|
||||||
|
|
||||||
src/foo.zip
|
src/foo.zip
|
||||||
@@ -145,8 +146,6 @@ src/rogue.530623577502174316.pack
|
|||||||
src/rogue.530623577502174316.player
|
src/rogue.530623577502174316.player
|
||||||
|
|
||||||
|
|
||||||
src/cc/rogue/config.h
|
|
||||||
|
|
||||||
src/cc/rogue/config.h
|
src/cc/rogue/config.h
|
||||||
|
|
||||||
src/ROGUE.conf
|
src/ROGUE.conf
|
||||||
|
|||||||
@@ -488,7 +488,8 @@ ReadKeyValue(CWallet* pwallet, CDataStream& ssKey, CDataStream& ssValue,
|
|||||||
auto verifier = libzcash::ProofVerifier::Strict();
|
auto verifier = libzcash::ProofVerifier::Strict();
|
||||||
// ac_public chains set at height like KMD and ZEX, will force a rescan if we dont ignore this error: bad-txns-acpublic-chain
|
// ac_public chains set at height like KMD and ZEX, will force a rescan if we dont ignore this error: bad-txns-acpublic-chain
|
||||||
// there cannot be any ztx in the wallet on ac_public chains that started from block 1, so this wont affect those.
|
// there cannot be any ztx in the wallet on ac_public chains that started from block 1, so this wont affect those.
|
||||||
if ( !(CheckTransaction(0,wtx, state, verifier) && (wtx.GetHash() == hash) && state.IsValid()) && (state.GetRejectReason() != "bad-txns-acpublic-chain") )
|
// PIRATE fails this check for notary nodes, need exception. Triggers full rescan without it.
|
||||||
|
if ( !(CheckTransaction(0,wtx, state, verifier) && (wtx.GetHash() == hash) && state.IsValid()) && (state.GetRejectReason() != "bad-txns-acpublic-chain" || state.GetRejectReason() != "bad-txns-acprivacy-chain") )
|
||||||
{
|
{
|
||||||
//fprintf(stderr, "tx failed: %s rejectreason.%s\n", wtx.GetHash().GetHex().c_str(), state.GetRejectReason().c_str());
|
//fprintf(stderr, "tx failed: %s rejectreason.%s\n", wtx.GetHash().GetHex().c_str(), state.GetRejectReason().c_str());
|
||||||
// vin-empty on staking chains is error relating to a failed staking tx, that for some unknown reason did not fully erase. save them here to erase and re-add later on.
|
// vin-empty on staking chains is error relating to a failed staking tx, that for some unknown reason did not fully erase. save them here to erase and re-add later on.
|
||||||
|
|||||||
Reference in New Issue
Block a user