diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml new file mode 100644 index 00000000..add55d28 --- /dev/null +++ b/.github/workflows/ccpp.yml @@ -0,0 +1,19 @@ +name: C/C++ CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: install deps + run: sudo apt-get install build-essential libboost-all-dev libssl-dev + - name: make + run: make diff --git a/ravencoin.cpp b/ravencoin.cpp index 96192359..d94754ea 100644 --- a/ravencoin.cpp +++ b/ravencoin.cpp @@ -95,7 +95,7 @@ class CNode CAddress me(CService("0.0.0.0")); BeginMessage("version"); int nBestHeight = GetRequireHeight(); - string ver = "/ravencoin-seeder:3.3.1/"; + string ver = "/ravencoin-seeder:4.3.1/"; uint8_t fRelayTxs = 0; vSend << PROTOCOL_VERSION << nLocalServices << nTime << you << me << nLocalNonce << ver << nBestHeight << fRelayTxs; diff --git a/serialize.h b/serialize.h index cd778f87..408a8cc9 100644 --- a/serialize.h +++ b/serialize.h @@ -68,7 +68,7 @@ class CAutoFile; static const unsigned int MAX_SIZE = 0x02000000; // RIP-5 (restricted assets) -static const int PROTOCOL_VERSION = 70026; +static const int PROTOCOL_VERSION = 70028; // Used to bypass the rule against non-const reference to temporary // where it makes sense with wrappers such as CFlatData or CTxDB