log.info("instantsend--CInstantSend::CheckAndRemove -- Removing expired vote: txid="+vote.getValue().getTxHash()+" masternode=" + vote.getValue().getOutpointMasternode().toStringShort()); mapTxLockVotes.remove(itVote); } else { log.info("instantsend--CInstantSend::CheckAndRemove -- Removing timed out orphan vote: txid="+vote.getValue().getTxHash()+" masternode="+ vote.getValue().getOutpointMasternode().toStringShort()); mapTxLockVotes.remove(vote.getKey()); itOrphanVote.remove();
log.info("instantsend--CInstantSend::ProcessTxLockRequest -- Double spend attempt! %s"+ txin.getOutpoint().toStringShort());
long nPrevOrphanVote = mapMasternodeOrphanVotes.get(vote.getOutpointMasternode()); if(nPrevOrphanVote > Utils.currentTimeSeconds() && nPrevOrphanVote > getAverageMasternodeOrphanVoteTime()) { log.info("instantsend--CInstantSend::ProcessTxLockVote -- masternode is spamming orphan Transaction Lock Votes: txid="+txHash+" masternode=", vote.getOutpointMasternode().toStringShort()); log.info("CInstantSend::ProcessTxLockVote -- masternode sent conflicting votes! "+ vote.getOutpointMasternode().toStringShort());