From 0a7cef43b62abd0afbe398b992e3411df3c8b223 Mon Sep 17 00:00:00 2001 From: BlackcoinDev Date: Fri, 3 Nov 2023 14:57:54 +0100 Subject: [PATCH 1/3] build: new bdb source --- depends/packages/bdb.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/depends/packages/bdb.mk b/depends/packages/bdb.mk index 028e60d843..9f100144c2 100644 --- a/depends/packages/bdb.mk +++ b/depends/packages/bdb.mk @@ -1,6 +1,6 @@ package=bdb $(package)_version=6.2.38 -$(package)_download_path=https://strawberryperl.com/package/kmx/libs_src/ +$(package)_download_path=https://source.ipfire.org/source-2.x/ $(package)_file_name=db-$($(package)_version).tar.gz $(package)_sha256_hash=99ccd944ffcccc88c0f404b4f3d8cb10747e1e3dfe9ec566f518725f986ca2fd $(package)_build_subdir=build_unix From 1e4dc21cd989dedc55b4f4bd1f5da95284e2510c Mon Sep 17 00:00:00 2001 From: lateminer <9951982+lateminer@users.noreply.github.com> Date: Sun, 5 Nov 2023 23:27:49 +0100 Subject: [PATCH 2/3] backports: Do not split rewards if vDevFundAddress is empty https://github.com/lateminer/blackcoin-more/commit/2acdcedf0d479beb780d1da06d87af51fa556e89 --- src/chainparams.cpp | 2 +- src/wallet/wallet.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chainparams.cpp b/src/chainparams.cpp index a3051e593d..93d0e3cc32 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -373,7 +373,7 @@ void UpdateRegtestBIP9Parameters(Consensus::DeploymentPos d, int64_t nStartTime, // Blackcoin: Donations to dev fund std::string CChainParams::GetDevFundAddress() const { - return vDevFundAddress[0]; + return !vDevFundAddress.empty() ? vDevFundAddress[0] : ""; } CScript CChainParams::GetDevRewardScript() const diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index 4741e9496e..f70ca0ebee 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -821,7 +821,7 @@ bool CWallet::CreateCoinStake(const CKeyStore& keystore, unsigned int nBits, int } // Blackcoin: Donate to dev fund (or not) - if (nDonationPercentage > 0) { + if (nDonationPercentage > 0 && !Params().GetDevFundAddress().empty()) { CAmount nDevCredit = 0; CAmount nMinerCredit = 0; From 2b57dbd5ab39b5ce72571741312bf6cb8a2f1867 Mon Sep 17 00:00:00 2001 From: lateminer <9951982+lateminer@users.noreply.github.com> Date: Thu, 4 Jan 2024 01:01:55 +0100 Subject: [PATCH 3/3] Update README.md with information about repo branches --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dd549fd928..400f1e06b9 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,8 @@ However, it may contain experimental features and should be used with caution. ### 13.2 The release branch for Blackcoin More 13.2.x. It is intended to contain stable and functional code that has been thoroughly tested and reviewed. -### 22.x -The release branch for Blackcoin More 22.x. Contains functional but experimental code. - ### 25.x -The release branch for Blackcoin More 25.x. Contains functional but highly experimental code. +The release branch for Blackcoin More 25.x. Contains functional but experimental code. + +### 26.x +The release branch for Blackcoin More 26.x. Contains functional but highly experimental code.