diff --git a/.github/workflows/marmara_linux_ci.yml b/.github/workflows/marmara_linux_ci.yml index d9127cad7fa..5df0747894d 100644 --- a/.github/workflows/marmara_linux_ci.yml +++ b/.github/workflows/marmara_linux_ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install deps (Linux) @@ -40,7 +40,7 @@ jobs: CONFIGURE_FLAGS='CPPFLAGS=-DTESTMODE' ./zcutil/build.sh -j$(nproc) tar -czvf marmara-linux.tar.gz src/marmarad src/marmara-cli - name: Upload marmara-linux.tar.gz as artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: marmara-linux path: ./marmara-linux.tar.gz @@ -88,7 +88,7 @@ jobs: needs: linux-build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install deps (OraclesCC) run: | @@ -104,7 +104,7 @@ jobs: python3 -m pip install setuptools wheel python3 -m pip install slick-bitcoinrpc pytest wget jsonschema - name: Download marmara-linux.tar.gz - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: marmara-linux @@ -124,7 +124,7 @@ jobs: needs: linux-build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install deps (BasicRPC) run: | @@ -140,7 +140,7 @@ jobs: python3 -m pip install setuptools wheel python3 -m pip install slick-bitcoinrpc pytest wget jsonschema - name: Download marmara-linux.tar.gz - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: marmara-linux diff --git a/.github/workflows/marmara_mac_ci.yml b/.github/workflows/marmara_mac_ci.yml index 17e3426f040..d32e13facaa 100644 --- a/.github/workflows/marmara_mac_ci.yml +++ b/.github/workflows/marmara_mac_ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 # Workaround for https://github.com/actions/setup-python/issues/577 - name: Clean up binaries and links (macOS) @@ -50,7 +50,7 @@ jobs: tar -czvf marmara-macos.tar.gz src/marmarad src/marmara-cli - name: Upload marmara-macos.tar.gz as artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: marmara-macos path: ./marmara-macos.tar.gz @@ -92,7 +92,7 @@ jobs: needs: macos-build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install deps (OraclesCC) run: | @@ -100,7 +100,7 @@ jobs: python3 -m pip install setuptools wheel python3 -m pip install slick-bitcoinrpc pytest wget jsonschema - name: Download marmara-macos.tar.gz - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: marmara-macos @@ -121,7 +121,7 @@ jobs: needs: macos-build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install deps (BasicRPC) run: | @@ -129,7 +129,7 @@ jobs: python3 -m pip install setuptools wheel python3 -m pip install slick-bitcoinrpc pytest wget jsonschema - name: Download marmara-macos.tar.gz - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: marmara-macos diff --git a/.github/workflows/marmara_win_ci.yml b/.github/workflows/marmara_win_ci.yml index 7594eea3983..7d657b8de8b 100644 --- a/.github/workflows/marmara_win_ci.yml +++ b/.github/workflows/marmara_win_ci.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install deps(mingw) env: DEBIAN_FRONTEND: noninteractive @@ -67,7 +67,7 @@ jobs: ./zcutil/build-win-dtest.sh -j$(nproc) zip --junk-paths marmarad_win src/marmarad.exe src/marmara-cli.exe - name: Upload marmarad_win as artifact - uses: actions/upload-artifact@v1 + uses: actions/upload-artifact@v4 with: name: marmarad_win path: ./marmarad_win.zip @@ -80,10 +80,10 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Download marmarad_win.zip - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: marmarad_win @@ -144,10 +144,10 @@ jobs: needs: windows-build steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Download marmarad_win.zip - uses: actions/download-artifact@v1 + uses: actions/download-artifact@v4 with: name: marmarad_win diff --git a/README.md b/README.md index 1b1a46b1a31..fc47a06196d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,6 @@ [![gitstars](https://img.shields.io/github/stars/komodoplatform/komodo?style=social)](https://github.com/KomodoPlatform/komodo/stargazers) [![twitter](https://img.shields.io/twitter/follow/marmarachain?style=social)](https://twitter.com/marmarachain) [![discord](https://img.shields.io/discord/412898016371015680)](https://discord.gg/QZNMw73) -[![https://img.shields.io/badge/LANGUAGE-TR-blue](https://img.shields.io/badge/LANGUAGE-TR-blue)](https://github.com/marmarachain/marmara/blob/master/TR/Marmara_Kredi_D%C3%B6ng%C3%BCleri.md) ![MarmaraCreditLoops Logo](https://raw.githubusercontent.com/marmarachain/marmara/master/MCL-Logo.png "Marmara Credit Loops Logo") @@ -48,16 +47,83 @@ More details are available under http://marmara.io/ - To install/download Marmara Credit Loops, follow the [Marmara Credit Loops Instructions](https://github.com/marmarachain/marmara/wiki). - To get started with Marmara Credit Loops, follow the [Marmara Credit Loops Usage Guidelines](https://github.com/marmarachain/marmara/wiki/Getting-Started-with-Marmara) and to make Marmara Credit Loops, follow the [Making Marmara Credit Loops](https://github.com/marmarachain/marmara/wiki/How-to-make-Marmara-Credit-Loops?) guide. -## Marmara Evolvement -### Marmara v.1.0.1 Hardfork Change log +### Linux + +#### Requirements + + Linux (easiest with a Debian-based distribution, such as Ubuntu) + For Ubuntu, we recommend using the 18.04 or 20.02 releases + 64-bit Processor + Minimum 2 CPUs + Minimum 4GB of free RAM + +#### Build Marmara from Source + +Note: For Ubuntu 20.04, please change the python-zmq library to python3-zmq below. + +Install the dependency packages: +``` +sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget curl bsdmainutils automake cmake clang ntp ntpdate nano -y +``` +Build marmara from source: +``` +cd ~ +git clone https://github.com/marmarachain/marmara --branch master --single-branch +cd marmara +./zcutil/fetch-params.sh +./zcutil/build.sh -j$(expr $(nproc) - 1) +#This can take some time. +``` + +### OSX + +Ensure you have brew and Command Line Tools installed. + +``` +# Install brew +/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +# Install Xcode, opens a pop-up window to install CLT without installing the entire Xcode package +xcode-select --install +# Update brew and install dependencies +brew update +brew upgrade +brew tap discoteq/discoteq; brew install flock +brew install autoconf autogen automake +brew update && brew install gcc@8 +brew install binutils +brew install protobuf +brew install coreutils +brew install wget +# Clone the Marmara repo +git clone https://github.com/marmarachain/marmara --branch master --single-branch +cd marmara +./zcutil/fetch-params.sh +./zcutil/build-mac.sh -j$(expr $(sysctl -n hw.ncpu) - 1) +# This can take some time. ``` -- fixed incorrect coin cache usage causing chain forks -- staking utxo processing performance improvements -- loop transaction validation fixes -- chain security fixes and improvements -- fixed settlement failure on the loop holder node -- fixed memory leaks -- fixed daemon crash if multiple setgenerate true 0 calls are done + +### Windows + +Use a debian cross-compilation setup with mingw for windows and run: + +Note: For Ubuntu 20.04, please change the python-zmq library to python3-zmq below. + +``` +sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-gnutls-dev bsdmainutils automake curl libsodium-dev cmake mingw-w64 + +# install rust +curl https://sh.rustup.rs -sSf | sh +source $HOME/.cargo/env +rustup target add x86_64-pc-windows-gnu +sudo update-alternatives --config x86_64-w64-mingw32-gcc +# (configure to use POSIX variant) +sudo update-alternatives --config x86_64-w64-mingw32-g++ +# (configure to use POSIX variant) + +git clone https://github.com/marmarachain/marmara --branch master --single-branch +cd marmara +./zcutil/fetch-params.sh +./zcutil/build-win.sh -j$(nproc) ``` ### Contact diff --git a/configure.ac b/configure.ac index c4464963686..224b0088194 100644 --- a/configure.ac +++ b/configure.ac @@ -2,7 +2,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N) AC_PREREQ([2.60]) define(_CLIENT_VERSION_MAJOR, 1) define(_CLIENT_VERSION_MINOR, 2) -define(_CLIENT_VERSION_REVISION, 0) +define(_CLIENT_VERSION_REVISION, 1) define(_CLIENT_VERSION_BUILD, 0) define(_ZC_BUILD_VAL, m4_if(m4_eval(_CLIENT_VERSION_BUILD < 25), 1, m4_incr(_CLIENT_VERSION_BUILD), m4_eval(_CLIENT_VERSION_BUILD < 50), 1, m4_eval(_CLIENT_VERSION_BUILD - 24), m4_eval(_CLIENT_VERSION_BUILD == 50), 1, , m4_eval(_CLIENT_VERSION_BUILD - 50))) define(_CLIENT_VERSION_SUFFIX, m4_if(m4_eval(_CLIENT_VERSION_BUILD < 25), 1, _CLIENT_VERSION_REVISION-beta$1, m4_eval(_CLIENT_VERSION_BUILD < 50), 1, _CLIENT_VERSION_REVISION-rc$1, m4_eval(_CLIENT_VERSION_BUILD == 50), 1, _CLIENT_VERSION_REVISION, _CLIENT_VERSION_REVISION-$1))) diff --git a/doc/README.md b/doc/README.md index a262a660818..bc39a4ce07f 100644 --- a/doc/README.md +++ b/doc/README.md @@ -32,9 +32,9 @@ More details are available under http://marmara.io/ ## Getting Started -- To build Marmara from source, follow the [Marmara Credit Loops Build Instructions](/doc/marmara-build-from-source). -- To install Marmara from pre-compiled binaries, follow the [Marmara Credit Loops Install Instructions](/doc/marmara-install-from-precompiled-binaries.md). -- To get started with Marmara Credit Loops, follow the [Making Marmara Credit Loops](/doc/getting-started-with-marmara.md) guide. +- To build Marmara from source, follow the [Marmara Credit Loops Build Instructions](/marmara-build-from-source.md). +- To install Marmara from pre-compiled binaries, follow [Marmara Credit Loops Install Instructions](/marmara-install-from-precompiled-binaries.md). +- To get started with Marmara Credit Loops, follow [Making Marmara Credit Loops](/getting-started-with-marmara.md) guide. ## Contact diff --git a/src/clientversion.h b/src/clientversion.h index 66bfbde05d4..fc111011713 100644 --- a/src/clientversion.h +++ b/src/clientversion.h @@ -32,7 +32,7 @@ //! These need to be macros, as clientversion.cpp's and bitcoin*-res.rc's voodoo requires it #define CLIENT_VERSION_MAJOR 1 #define CLIENT_VERSION_MINOR 2 -#define CLIENT_VERSION_REVISION 0 +#define CLIENT_VERSION_REVISION 1 #define CLIENT_VERSION_BUILD 0 //! Set to true for release, false for prerelease or test build diff --git a/src/komodo_defs.h b/src/komodo_defs.h index 0ebf46be6c2..8c3bf20aa4a 100644 --- a/src/komodo_defs.h +++ b/src/komodo_defs.h @@ -50,7 +50,7 @@ // 7113400 = 5x current KMD blockheight. // to add 4th season, change NUM_KMD_SEASONS to 4, and add timestamp and height of activation to these arrays. -#define NUM_KMD_SEASONS 8 +#define NUM_KMD_SEASONS 9 #define NUM_KMD_NOTARIES 64 extern const uint32_t nStakedDecemberHardforkTimestamp; //December 2019 hardfork @@ -68,8 +68,32 @@ extern const int32_t nS6HardforkHeight; // estimated June 24 2022 extern const uint32_t nS7Timestamp; // dPoW Season 7, Fri Jun 30 2023 13:37:33 GMT+0000 extern const int32_t nS7HardforkHeight; // dPoW Season 7, Fri Jun 30 2023 -static const uint32_t KMD_SEASON_TIMESTAMPS[NUM_KMD_SEASONS] = {1525132800, 1563148800, nStakedDecemberHardforkTimestamp, nS4Timestamp, nS5Timestamp, nS6Timestamp, nS7Timestamp, 1951328000}; -static const int32_t KMD_SEASON_HEIGHTS[NUM_KMD_SEASONS] = {814000, 1444000, nDecemberHardforkHeight, nS4HardforkHeight, nS5HardforkHeight, nS6HardforkHeight, nS7HardforkHeight, 8113400}; +extern const uint32_t nS8Timestamp; // dPoW Season 8, Fri Oct 4 2024 13:37:33 GMT+0000 +extern const int32_t nS8HardforkHeight; // dPoW Season 8, Fri Oct 4 2024 + +extern const int32_t nKIP0003Activation; // https://github.com/KomodoPlatform/kips/blob/main/kips/kip-0003.mediawiki + +static const uint32_t KMD_SEASON_TIMESTAMPS[NUM_KMD_SEASONS] = { + 1525132800, + 1563148800, + nStakedDecemberHardforkTimestamp, + nS4Timestamp, + nS5Timestamp, + nS6Timestamp, + nS7Timestamp, + nS8Timestamp, + 1951328000}; + +static const int32_t KMD_SEASON_HEIGHTS[NUM_KMD_SEASONS] = { + 814000, + 1444000, + nDecemberHardforkHeight, + nS4HardforkHeight, + nS5HardforkHeight, + nS6HardforkHeight, + nS7HardforkHeight, + nS8HardforkHeight, + 8113400}; // Era array of pubkeys. Add extra seasons to bottom as requried, after adding appropriate info above. static const char *notaries_elected[NUM_KMD_SEASONS][NUM_KMD_NOTARIES][2] = @@ -606,6 +630,73 @@ static const char *notaries_elected[NUM_KMD_SEASONS][NUM_KMD_NOTARIES][2] = {"dragonhound_EU", "0382d7e027bf5cda31264867f4e389a1a72f6671c7bd8818beb35b874d906e22d5"}, {"dragonhound_NA", "02b4bf90b57f7c8363043c7ea8b02c8c776301ef3c1abb2df1caa2e6947be1422b"}, {"dragonhound_DEV", "02a473e980bf0d198ece8ed11f1ecbe437edb688de6c83b82efa6f7de3a5d43c19"} + }, + { + // Season 8 + {"alright_DEV", "02b698fee0945be7c2a489fc2ef93f956e491d5352228e5b4612219bba36590716"}, + {"alien_AR", "03ae0b483a41bafd5ac9820ef15ffe60091f795726fd0994dea4043dfa9863fb46"}, + {"alien_EU", "022b85908191788f409506ebcf96a892f3274f352864c3ed566c5a16de63953236"}, + {"alien_NA", "022f62b56ddfd07c9860921c701285ac39bb3ac8f6f083d1b59c8f4943be3de162"}, + {"alien_SH", "024f20c096b085308e21893383f44b4faf1cdedea9ad53cc7d7e7fbfa0c30c1e71"}, + {"alienx_EU", "025de0911bab55616c307f02ea8a5915a2e0c8e479aa97968e7f00d1025cbe6c6d"}, + {"alienx_NA", "025d5e11725233ab161f4f63d697c5f9f0c6b9d3aa2b9c68299638f8cc63faa9c2"}, + {"artist_SH", "03f0a59c15984d7627a38a7ee75fb4f4c41c6c6db58ff245efb429a1e7820c51dc"}, + {"batman_EU", "0373c4bf6cadb907597ef11d37d040cdb5dc73486beb0b8902837448f4087e0b7a"}, + {"blackice_AR", "032674b15524dab1c7a5824aa9d3d38f231a8a04095e11920677ee99d8197d9c60"}, + {"blackice_EU", "0271663454ffe07b7a13f25c93482bb554bab646627ee78941f6e59473a423e9c5"}, + {"blackice_NA", "035e356c96d4bc8ddd11109f679b44034fdd22003b87a8deeaae6ba2bb938f7e05"}, + {"blackice_SH", "0320b53f460e2867aacc578432d7ad5deb8f6f0da8e9c5ae65711011d692838bd4"}, + {"blackice2_AR", "022b10b7ec56b5c9f12bc9db1055edb3c2c0e0530453b7cc05239e4a3c442e80c4"}, + {"ca333_EU", "02da199f5da76cee5f09b4065e12ed454876308195cf45103e55f9837b4a1422d5"}, + {"chmex_AR", "030cd487e10fbf142e0e8d582e702ecb775f378569c3cb5acd0ff97b6b12803588"}, + {"chmex_EU", "030bf7bd7ad0515c33b5d5d9a91e0729baf801b9002f80495ae535ea1cebb352cb"}, + {"chmex_NA", "024e88a36d729352a391e07d1821dbfda1fca6409320cf9c2869b6fb99f05fbddd"}, + {"chmex_SH", "03e09c8ee6ae20cde64857d116c4bb5d50db6de2887ac39ea3ccf6434b1abf8698"}, + {"chmexvet_SH", "02d59db293de6c7da6673beeb373ebce62fd6d3522f715ea1356b5a2624fbd11a2"}, + {"cipi_AR", "02336758998f474659020e6887ece61ac7b8567f9b2d38724ebf77ae800c1fb2b7"}, + {"cipi_EU", "033a812d6cccdc4208378728f3a0e15db5b12074def9ab686ddc3752715ff1a194"}, + {"cipi_NA", "0335352862da521bd90b99d394db1ee3ecde379db9cf7ba2f28b16fa76153e289f"}, + {"cipi2_NA", "03b267592b0cb91d115524e7412e9ea79b30fbc8e29b8dcbbf850110f2e1d8c1ab"}, + {"colmapol_EU", "02754ae5585df0eba995f8e0aa1768b1424eaa04a3f1269a4cf37a8d4446f48a6d"}, + {"dimxy_AR", "0337e443df52f278f313f90628aaaa7a8db777f17bc7ce519069eb72717c1c2755"}, + {"dragonhound_AR", "039bb16266b0216264e7d3ccae12633105e1c14bd5d0e144e8b9c2b6d298a6c545"}, + {"dragonhound_EU", "0382d7e027bf5cda31264867f4e389a1a72f6671c7bd8818beb35b874d906e22d5"}, + {"dragonhound_NA", "02b4bf90b57f7c8363043c7ea8b02c8c776301ef3c1abb2df1caa2e6947be1422b"}, + {"dragonhound_SH", "02125e737f34c426474c9d29ec280bf49dc5ac99bffb6296b71a5031f58485ec86"}, + {"fediakash_AR", "035be6a54242a53e3ca55bd63430ac9b960fbfaad336d8c1464b5802f03ab184be"}, + {"fediakash_NA", "032485e92b4f06613c43123a178de96386e130311030958a736805d7b278df2f11"}, + {"francois_SH", "0285e1699d28cc6d134e476d85ee37badabc795f136df39e414fe6ca2b204e3a2f"}, + {"gcharang_AR", "039e01651c0afa1fc80b620301ff1981dd1db0f6c6b637b8f2f0fd986e9f5ece59"}, + {"gcharang_SH", "0321868e0eb39271330fa2c3a9f4e542275d9719f8b87773c5432448ab10d6943d"}, + {"gcharang2_SH", "0261b0337647329677b9885b050069a4737f139266c55ec711148af757a0276bc5"}, + {"kmdude_SH", "0253649e80366bb3a84c447ae2632d0ab272640be61ceb34291068c58531dae528"}, + {"marmarachain_AR", "0359809ec0774cf6a2679257c4db240b9061b08f72d9888e3323326f7428ddf93a"}, + {"marmarachain_EU", "02ca3e0618bc7c75afa6359ae476ee639682adfaa6fc463bbe7016c4f00da23ccf"}, + {"mcrypt_NA", "038e6f54c15eda9844e956206138494312648da158280a837341894fc642d8066a"}, + {"naezith_EU", "0310f58935bc72ed76f90301f8bcd8caea576603275493b9c664aa9ed25aa492c6"}, + {"naezith_NA", "031e48218c2e7fea3c852a3674848786c05d06fd451da4e14a6193363cf89febce"}, + {"onur-ozkan_EU", "02387f4093ba78ea6aa9023bd2b3e1d57a4d9d5e745a9cc6cb1bca2565c22f8c89"}, + {"onur-ozkan_NA", "03259f6aa4d3c451a52b7327bff4af9f649be3477459997b52711b54f4c8fb6394"}, + {"pbca26_NA", "025349e2ef906bb8dff17275d5d1034edf261d7b3b0fef02643c4e7227e161cd54"}, + {"ptyx_SH", "02eeaea84667462ae3e0c9262037666af81200b7982682ea06b690b1ac32a48c83"}, + {"shamardy_SH", "03589e28ad013c6ed3df0ed9947ecc2b6873a211be8aa3a745d3fea459b12a6435"}, + {"smdmitry_AR", "0397b7584cb29717b721c0c587d4462477efc1f36a56921f133c9d17b0cd7f278a"}, + {"smdmitry2_AR", "03c1efa0a64392e68cf50a13e4611b272b914cfba1e07f49f94389db3bac4497de"}, + {"smdmitry_EU", "0338f30ca34d0aca0d79b69abde447036aaaa75f482b6c75801fd382e984337d01"}, + {"smdmitry_NA", "038429f7abe33af2d6841029710b835223a05830fc8eee29521ec051e2f2d2e517"}, + {"smdmitry_SH", "03f7d5ac650baaccedab959adf7c4f416584f4c05a37bf079f710227560c456978"}, + {"strob_SH", "0213751a1c59d3489ca85b3d62a3d606dcef7f0428aa021c1978ea16fb38a2fad6"}, + {"gcharang_DEV", "03a3878af1152f648e6084fd3fbe697a26b1c2e92d407dd96c375f45f7d3ca13bf"}, + {"dimxy_DEV", "03a7edd6d0ba188960e39eced4d6b4ca6946bd98323ab40cbc13d6e52696de7dc4"}, + {"ca333_DEV", "0387b2a4c99127e871efeed28b73d6cf8296bb4aa8630e2cfb16490fdc47e0a561"}, + {"qa_DEV", "02ba8283b22c6572d83fd852e04928621dd0e2dd53150b5636ba64404ea73423bb"}, + {"core_DEV", "035509136135ba8e3f5d4733f7a9c160c2e1fefd8dc4658c3d95a5407e8da14749"}, + {"security_DEV", "037f666a67135f748ca3ffec29394662c71e917709bf61fee15a363655a8dff57e"}, + {"tonyl_AR", "03643e81eb0ac245c2caefe013b4357979f69ea585d6803182b230790dbcfb9ecf"}, + {"van_EU", "0370305b9e91d46331da202ae733d6050d01038ef6eceb2036ada394a48fae84b9"}, + {"who-biz_AR", "03a185b059983a5479e3adba44eb5dde8d899468632ba30480301a9f1bbbcbc4a8"}, + {"who-biz_NA", "026d5cecdee3021a80416c3d8ac68e59fd3d77a954bbe88a8eee794ade6c58f411"}, + {"dragonhound_DEV", "02a473e980bf0d198ece8ed11f1ecbe437edb688de6c83b82efa6f7de3a5d43c19"} } }; diff --git a/src/komodo_globals.h b/src/komodo_globals.h index c0b75b42715..2e32635c330 100644 --- a/src/komodo_globals.h +++ b/src/komodo_globals.h @@ -56,6 +56,11 @@ const int32_t nS6HardforkHeight = 2963330; // estimated June 24 2022 const uint32_t nS7Timestamp = 1688132253; // dPoW Season 7, Fri Jun 30 2023 13:37:33 GMT+0000 const int32_t nS7HardforkHeight = 3484958; // dPoW Season 7, Fri Jun 30 2023 +const uint32_t nS8Timestamp = 1728049053; // dPoW Season 8, Fri Oct 4 2024 13:37:33 GMT+0000 +const int32_t nS8HardforkHeight = 4125988; // dPoW Season 8, Fri Oct 4 2024 (est. via https://github.com/KomodoPlatform/NotaryNodes/blob/master/utils/estimate_hf_block.py) + +const int32_t nKIP0003Activation = nS8HardforkHeight; + #define _COINBASE_MATURITY 100 int COINBASE_MATURITY = _COINBASE_MATURITY;//100; unsigned int WITNESS_CACHE_SIZE = _COINBASE_MATURITY+10; diff --git a/src/version.h b/src/version.h index d82c8b003d6..2f777536db5 100644 --- a/src/version.h +++ b/src/version.h @@ -24,7 +24,7 @@ * network protocol versioning */ -static const int PROTOCOL_VERSION = 170010; +static const int PROTOCOL_VERSION = 170011; //! initial proto version, to be increased after version/verack negotiation static const int INIT_PROTO_VERSION = 209; @@ -33,8 +33,8 @@ static const int INIT_PROTO_VERSION = 209; static const int GETHEADERS_VERSION = 31800; //! disconnect from peers older than this proto version -static const int MIN_PEER_PROTO_VERSION = 170009; -static const int STAKEDMIN_PEER_PROTO_VERSION = 170009; +static const int MIN_PEER_PROTO_VERSION = 170010; +static const int STAKEDMIN_PEER_PROTO_VERSION = 170010; //! nTime field added to CAddress, starting with this version; //! if possible, avoid requesting addresses nodes older than this