From a0ab50cd83960506a2fd54ca3cc3942a6e5288a9 Mon Sep 17 00:00:00 2001 From: "Michal vel m@lbit" Date: Fri, 9 Aug 2019 02:18:00 +0100 Subject: [PATCH] Premine BURN!!!!! --- src/blockchain_db/blockchain_db.cpp | 3 ++- src/cryptonote_config.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/blockchain_db/blockchain_db.cpp b/src/blockchain_db/blockchain_db.cpp index f78402176f..308bfc54c4 100644 --- a/src/blockchain_db/blockchain_db.cpp +++ b/src/blockchain_db/blockchain_db.cpp @@ -401,7 +401,8 @@ void BlockchainDB::fixup() // Premine Burn Transaction key_images static const char* const burn_vout_images[] = { - "", // It has to be Updated after making Burn Transfer along with tx_hash + "55fbaf353dc0750a522a3d5b9dc5500659681b8b8d5e7126e529a34f6887d8c6", // tx_hash: e8642cc515dc92e7fe31a5c5dc0558ed336e7ce5139a173e2f1680d2f46453fc + "c37f0d76d9143384ee1f2cf9d6f05f131ec0f11c8b20b4c69179a5a563cd2792", // tx_hash: e8642cc515dc92e7fe31a5c5dc0558ed336e7ce5139a173e2f1680d2f46453fc }; for(const auto &kis : burn_vout_images) diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index 501f529fc6..312ebc8bcf 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -234,7 +234,7 @@ namespace config namespace blockchain_settings { - static constexpr uint64_t PREMINE_BURN = 0; // Will need to be set after knowing exact amount. + static constexpr uint64_t PREMINE_BURN = 5100000000000000; // Will need to be set after knowing exact amount. static constexpr uint64_t MAXIMUM_BLOCK_SIZE_LIMIT = 2 * 1024 * 1024; // It is set to 2048kB (2MB) static constexpr uint64_t MINIMUM_BLOCK_SIZE_LIMIT = 1 * 1024 * 1024; // It is set to 1024kB (1MB) static constexpr uint8_t ARQMA_GENESIS_BLOCK_MAJOR_VERSION = 1;