Skip to content

Commit 8171392

Browse files
authored
Merge pull request #21 from LIMXTEC/DEV_1
Dev 1
2 parents 6086ad8 + 53dca5f commit 8171392

File tree

6 files changed

+6
-7
lines changed

6 files changed

+6
-7
lines changed

.travis.yml

-4
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ script:
5454
- BITCOIN_CONFIG_ALL="--disable-dependency-tracking --prefix=$TRAVIS_BUILD_DIR/depends/$HOST --bindir=$OUTDIR/bin --libdir=$OUTDIR/lib"
5555
- if [ -z "$NO_DEPENDS" ]; then DOCKER_EXEC ccache --max-size=$CCACHE_SIZE; fi
5656
- BEGIN_FOLD autogen; test -n "$CONFIG_SHELL" && DOCKER_EXEC "$CONFIG_SHELL" -c "./autogen.sh" || DOCKER_EXEC ./autogen.sh; END_FOLD
57-
- mkdir build && cd build
58-
- BEGIN_FOLD configure; DOCKER_EXEC ../configure --cache-file=config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false); END_FOLD
59-
- BEGIN_FOLD distdir; DOCKER_EXEC make distdir VERSION=$HOST; END_FOLD
60-
- cd megacoin-$HOST
6157
- BEGIN_FOLD configure; DOCKER_EXEC ./configure --cache-file=../config.cache $BITCOIN_CONFIG_ALL $BITCOIN_CONFIG || ( cat config.log && false); END_FOLD
6258
- BEGIN_FOLD build; DOCKER_EXEC make $MAKEJOBS $GOAL || ( echo "Build failure. Verbose build follows." && DOCKER_EXEC make $GOAL V=1 ; false ); END_FOLD
6359
- if [ "$RUN_TESTS" = "true" ]; then BEGIN_FOLD unit-tests; DOCKER_EXEC LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/depends/$HOST/lib make $MAKEJOBS check VERBOSE=1; END_FOLD; fi

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ AC_PREREQ([2.60])
33
define(_CLIENT_VERSION_MAJOR, 1)
44
define(_CLIENT_VERSION_MINOR, 9)
55
define(_CLIENT_VERSION_REVISION, 9)
6-
define(_CLIENT_VERSION_BUILD, 2)
6+
define(_CLIENT_VERSION_BUILD, 3)
77
define(_CLIENT_VERSION_IS_RELEASE, true)
88
define(_COPYRIGHT_YEAR, 2020)
99
define(_COPYRIGHT_HOLDERS,[The %s developers])

src/crypto/mega-mec.h

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include <uint256.h>
1313
#include <algorithm> // std::next_permutation
14+
#include <arith_uint256.h>
1415

1516
#include <crypto/sph_blake.h>
1617
#include <crypto/sph_bmw.h>

src/netbase.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,13 @@ bool ConnectSocketDirectly(const CService &addrConnect, const SOCKET& hSocket, i
520520
LogPrintf("getsockopt() for %s failed: %s\n", addrConnect.ToString(), NetworkErrorString(WSAGetLastError()));
521521
return false;
522522
}
523+
/*
523524
if (nRet != 0)
524525
{
525526
LogConnectFailure(manual_connection, "connect() to %s failed after select(): %s", addrConnect.ToString(), NetworkErrorString(nRet));
526527
return false;
527528
}
529+
*/
528530
}
529531
#ifdef WIN32
530532
else if (WSAGetLastError() != WSAEISCONN)

src/validation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2487,7 +2487,7 @@ void static UpdateTip(const CBlockIndex *pindexNew, const CChainParams& chainPar
24872487
{
24882488
std::string strWarning = _("Warning: Unknown block versions being mined! It's possible unknown rules are in effect");
24892489
// notify GetWarnings(), called by Qt and the JSON-RPC code to warn the user:
2490-
DoWarning(strWarning);
2490+
//DoWarning(strWarning);
24912491
}
24922492
}
24932493
LogPrintf("%s: new best=%s height=%d version=0x%08x log2_work=%.8g tx=%lu date='%s' progress=%f cache=%.1fMiB(%utxo)", __func__, /* Continued */

src/versionbits.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ ThresholdState AbstractThresholdConditionChecker::GetStateFor(const CBlockIndex*
101101
}
102102
pindexCount = pindexCount->pprev;
103103
}
104-
if (count >= nThreshold && nHeight >= nThresholdHeight) {
104+
if (count >= nThreshold || nHeight >= nThresholdHeight) {
105105
stateNext = ThresholdState::LOCKED_IN;
106106
}
107107
break;

0 commit comments

Comments
 (0)