Skip to content

Commit

Permalink
Merge pull request KomodoPlatform#578 from Asherda/release-v1.2.3-2
Browse files Browse the repository at this point in the history
Release v1.2.3-2
  • Loading branch information
Asherda authored Jun 18, 2024
2 parents a28b825 + 3f202f8 commit 643ddbe
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ stages:
########################################################################################################################
variables:

VERSION: 1.2.3-1
VERSION: 1.2.3-2

VERUS_CLI_ARM64_LINUX: Verus-CLI-Linux-v${VERSION}-arm64.tar.gz
VERUS_CLI_LINUX_X86_64: Verus-CLI-Linux-v${VERSION}-x86_64.tar.gz
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

## VerusCoin version 1.2.3-1
## VerusCoin version 1.2.3-2

Arguably the world's most advanced technology, zero knowledge privacy enabled, multi-chain blockchain protocol, Verus Public Blockchains as a Service (PBaaS) combines Sapling zero knowledge technology with an intelligent, multi-chain, provable protocol, using interchain smart transactions. Verus PBaaS also enables merge mining and cross-chain staking with a completely original, combined proof of stake/proof of work consensus algorithm, Proof of Power, that can be mined on CPUs and mobile phones, and also solves the nothing at stake problem. With this and its approach towards CPU mining and ASICs, Verus Coin strives to be one of the most naturally decentralizing and attack resistant blockchain networks in existence.

Expand Down
2 changes: 1 addition & 1 deletion doc/man/verus-cli/linux/README.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

VerusCoin Command Line Tools v1.2.3-1
VerusCoin Command Line Tools v1.2.3-2

Contents:
verusd - VerusCoin daemon
Expand Down
2 changes: 1 addition & 1 deletion doc/man/verus-cli/mac/README.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

VerusCoin Command Line Tools v1.2.3-1
VerusCoin Command Line Tools v1.2.3-2

Contents:
verusd - VerusCoin daemon.
Expand Down
2 changes: 1 addition & 1 deletion doc/man/verus-cli/windows/README.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

VerusCoin Command Line Tools v1.2.3-1
VerusCoin Command Line Tools v1.2.3-2

Contents:
verusd.exe - VerusCoin daemon
Expand Down
23 changes: 7 additions & 16 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3840,20 +3840,6 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
int32_t futureblock;

{
{
LOCK(mempool.cs);
// remove any potential conflicts for inputs in the mempool from auto-created transactions,
// such as imports or exports to prevent us from accepting the block
for (auto &oneTx : block.vtx)
{
std::list<CTransaction> removedTxes;
if (!oneTx.IsCoinBase())
{
mempool.removeConflicts(oneTx, removedTxes);
}
}
}

// Check it again to verify JoinSplit proofs, and in case a previous version let a bad block in
if (!CheckBlock(&futureblock, pindex->GetHeight(), pindex, block, state, chainparams, fExpensiveChecks ? verifier : disabledVerifier, fCheckPOW, !fJustCheck, !fJustCheck) || futureblock != 0 )
{
Expand Down Expand Up @@ -4091,6 +4077,7 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
for (unsigned int i = 0; i < block.vtx.size(); i++)
{
const CTransaction &tx = block.vtx[i];

const uint256 txhash = tx.GetHash();
nInputs += tx.vin.size();
nSigOps += GetLegacySigOpCount(tx);
Expand All @@ -4099,7 +4086,12 @@ bool ConnectBlock(const CBlock& block, CValidationState& state, CBlockIndex* pin
REJECT_INVALID, "bad-blk-sigops");

// ensure transaction can clear conflicts and get into mempool
std::list<CTransaction> removed;
if (i != 0)
{
std::list<CTransaction> removedTxes;
mempool.removeConflicts(tx, removedTxes);
}

bool missingInputs = false;
bool isPosTx = block.IsVerusPOSBlock() && (i + 1) == block.vtx.size();
if (((tx.IsCoinBase() ||
Expand Down Expand Up @@ -5443,7 +5435,6 @@ bool static DisconnectTip(CValidationState &state, const CChainParams& chainpara
{
// ignore validation errors in resurrected transactions
CTransaction &tx = block.vtx[i];
list<CTransaction> removed;
CValidationState stateDummy;

// don't keep coinbase, staking, invalid transactions, or arbitrage only transfers
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ static const int MEMPOOL_GD_VERSION = 60002;
static const int NO_BLOOM_VERSION = 170004;

#define KOMODO_VERSION "0.2.1"
#define VERUS_VERSION "1.2.3-1"
#define VERUS_VERSION "1.2.3-2"

#endif // BITCOIN_VERSION_H

0 comments on commit 643ddbe

Please sign in to comment.