Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/spark' into client-api
Browse files Browse the repository at this point in the history
  • Loading branch information
sproxet committed Nov 21, 2023
2 parents 1b390e2 + 7ee78e6 commit 614baae
Show file tree
Hide file tree
Showing 33 changed files with 2,173 additions and 14 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
working-directory: ${{ env.SOURCE_ARTIFACT }}
- name: Build Firo
run: |
./configure --disable-jni --enable-elysium --prefix=$(realpath depends/x86_64-w64-mingw32)
./configure --without-libs --disable-jni --enable-elysium --prefix=$(realpath depends/x86_64-w64-mingw32)
make -j$(nproc)
working-directory: ${{ env.SOURCE_ARTIFACT }}
- name: Prepare Files for Artifact
Expand Down Expand Up @@ -173,6 +173,9 @@ jobs:
run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer
- name: Install Required Packages
run: brew install automake coreutils pkg-config
# Workaround for macOS: https://github.com/actions/runner/issues/2958
- name: Install setuptools
run: sudo -H pip install setuptools
- name: Build Dependencies
run: make -C depends -j$(sysctl -n hw.activecpu)
working-directory: ${{ env.SOURCE_ARTIFACT }}
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AC_PREREQ([2.60])
define(_CLIENT_VERSION_MAJOR, 0)
define(_CLIENT_VERSION_MINOR, 14)
define(_CLIENT_VERSION_REVISION, 12)
define(_CLIENT_VERSION_BUILD, 5)
define(_CLIENT_VERSION_BUILD, 6)
define(_CLIENT_VERSION_IS_RELEASE, true)
define(_COPYRIGHT_YEAR, 2023)
define(_COPYRIGHT_HOLDERS,[The %s developers])
Expand Down
2 changes: 1 addition & 1 deletion src/chainparams.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ class CMainParams : public CChainParams {

consensus.evoSporkKeyID = "a78fERshquPsTv2TuKMSsxTeKom56uBwLP";
consensus.nEvoSporkStartBlock = ZC_LELANTUS_STARTING_BLOCK;
consensus.nEvoSporkStopBlock = AdjustEndingBlockNumberAfterSubsidyHalving(ZC_LELANTUS_STARTING_BLOCK, 3*24*12*365, 486221); // =818275, three years after lelantus
consensus.nEvoSporkStopBlock = AdjustEndingBlockNumberAfterSubsidyHalving(ZC_LELANTUS_STARTING_BLOCK, 4*24*12*365, 486221); // =1028515, four years after lelantus, one year after spark
consensus.nEvoSporkStopBlockExtensionVersion = 140903;
consensus.nEvoSporkStopBlockPrevious = ZC_LELANTUS_STARTING_BLOCK + 1*24*12*365; // one year after lelantus
consensus.nEvoSporkStopBlockExtensionGracefulPeriod = 24*12*14; // two weeks
Expand Down
2 changes: 1 addition & 1 deletion src/clientversion.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#define CLIENT_VERSION_MAJOR 0
#define CLIENT_VERSION_MINOR 14
#define CLIENT_VERSION_REVISION 12
#define CLIENT_VERSION_BUILD 5
#define CLIENT_VERSION_BUILD 6

//! Set to true for release, false for prerelease or test build
#define CLIENT_VERSION_IS_RELEASE true
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/progpow.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ uint256 progpow_hash_full(const CProgPowHeader& header, uint256& mix_hash);
/* Performs a light progpow hash (DAG loops excluded) provided header has mix_hash */
uint256 progpow_hash_light(const CProgPowHeader& header);

#endif // FIRO_PROGPOW_H
#endif // FIRO_PROGPOW_H
4 changes: 2 additions & 2 deletions src/firo_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ static const int64_t DUST_HARD_LIMIT = 1000; // 0.00001 FIRO mininput
#define DANDELION_FLUFF 10

// Spark
#define SPARK_START_BLOCK 900000
#define SPARK_START_BLOCK 819300 // Approx Jan 18 2024 8:00 AM UTC
#define SPARK_TESTNET_START_BLOCK 107000
#define LELANTUS_GRACEFUL_PERIOD 950000
#define LELANTUS_GRACEFUL_PERIOD 1223500 // Approx Jan 30 2026
#define LELANTUS_TESTNET_GRACEFUL_PERIOD 140000

// Versions of zerocoin mint/spend transactions
Expand Down
Loading

0 comments on commit 614baae

Please sign in to comment.