From 62d78bc0575629a3695117c78c25c73c7115b13d Mon Sep 17 00:00:00 2001 From: any0704 <90419155+any0704@users.noreply.github.com> Date: Thu, 9 Sep 2021 21:41:31 +0000 Subject: [PATCH 1/5] Update CryptoNoteConfig.h --- src/CryptoNoteConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CryptoNoteConfig.h b/src/CryptoNoteConfig.h index 4506f667c9..a08ba7615a 100644 --- a/src/CryptoNoteConfig.h +++ b/src/CryptoNoteConfig.h @@ -73,7 +73,7 @@ const char MINER_CONFIG_FILE_NAME[] = "miner_conf.json" } // parameters //TODO Put here the name of your currency -const char CRYPTONOTE_NAME[] = ""; +const char CRYPTONOTE_NAME[] = "winbitcoin"; const char GENESIS_COINBASE_TX_HEX[] = ""; const uint8_t CURRENT_TRANSACTION_VERSION = 1; From 3942edf5d08fd36f7f206f67e28551791e99819a Mon Sep 17 00:00:00 2001 From: any0704 <90419155+any0704@users.noreply.github.com> Date: Thu, 9 Sep 2021 21:42:45 +0000 Subject: [PATCH 2/5] Update CMakeLists.txt --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b02ec2896e..04ae63a6a7 100755 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -80,4 +80,4 @@ set_property(TARGET SimpleWallet PROPERTY OUTPUT_NAME "simplewallet") set_property(TARGET PaymentGateService PROPERTY OUTPUT_NAME "walletd") set_property(TARGET Miner PROPERTY OUTPUT_NAME "miner") #TODO Specify the name of daemon for your currency -set_property(TARGET Daemon PROPERTY OUTPUT_NAME "cryptonoted") +set_property(TARGET Daemon PROPERTY OUTPUT_NAME "winbitcoind") From 609e7d42708048d5a63fed54e821cf3bb9763bea Mon Sep 17 00:00:00 2001 From: any0704 <90419155+any0704@users.noreply.github.com> Date: Thu, 9 Sep 2021 21:56:52 +0000 Subject: [PATCH 3/5] Update CryptoNoteConfig.h --- src/CryptoNoteConfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CryptoNoteConfig.h b/src/CryptoNoteConfig.h index a08ba7615a..2ef1d6fba1 100644 --- a/src/CryptoNoteConfig.h +++ b/src/CryptoNoteConfig.h @@ -24,7 +24,7 @@ const size_t BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW = 60; //TODO Specify total number of available coins //TODO ((uint64_t)(-1)) equals to 18446744073709551616 coins //TODO or you can define number explicitly UINT64_C(858986905600000000) -const uint64_t MONEY_SUPPLY = ; +const uint64_t MONEY_SUPPLY = (uint64_t)(-1) ; const unsigned EMISSION_SPEED_FACTOR = 18; static_assert(EMISSION_SPEED_FACTOR <= 8 * sizeof(uint64_t), "Bad EMISSION_SPEED_FACTOR"); From 33313d773ac3b7333b3e092a3847a56c026bb113 Mon Sep 17 00:00:00 2001 From: any0704 <90419155+any0704@users.noreply.github.com> Date: Thu, 9 Sep 2021 22:01:47 +0000 Subject: [PATCH 4/5] Update CryptoNoteConfig.h --- src/CryptoNoteConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CryptoNoteConfig.h b/src/CryptoNoteConfig.h index 2ef1d6fba1..6f0ccba828 100644 --- a/src/CryptoNoteConfig.h +++ b/src/CryptoNoteConfig.h @@ -85,9 +85,9 @@ const size_t BLOCKS_SYNCHRONIZING_DEFAULT_COUNT = 200; //by def const size_t COMMAND_RPC_GET_BLOCKS_FAST_MAX_COUNT = 1000; //TODO This port will be used by the daemon to establish connections with p2p network -const int P2P_DEFAULT_PORT = ; +const int P2P_DEFAULT_PORT = 33000; //TODO This port will be used by the daemon to interact with simlewallet -const int RPC_DEFAULT_PORT = ; +const int RPC_DEFAULT_PORT = 34000; const size_t P2P_LOCAL_WHITE_PEERLIST_LIMIT = 1000; const size_t P2P_LOCAL_GRAY_PEERLIST_LIMIT = 5000; From b2915fa03985eeb8ff7a4f038db95dba746d4e42 Mon Sep 17 00:00:00 2001 From: any0704 <90419155+any0704@users.noreply.github.com> Date: Thu, 9 Sep 2021 22:22:51 +0000 Subject: [PATCH 5/5] Update CryptoNoteConfig.h --- src/CryptoNoteConfig.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CryptoNoteConfig.h b/src/CryptoNoteConfig.h index 6f0ccba828..4c7586db9d 100644 --- a/src/CryptoNoteConfig.h +++ b/src/CryptoNoteConfig.h @@ -30,12 +30,12 @@ static_assert(EMISSION_SPEED_FACTOR <= 8 * sizeof(uint64_t), "Bad EMISSION_SPEED //TODO Define number of blocks for block size median calculation const size_t CRYPTONOTE_REWARD_BLOCKS_WINDOW = 100; -const size_t CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE = 10000; //size of block (bytes) after which reward for block calculated using block size +const size_t CRYPTONOTE_BLOCK_GRANTED_FULL_REWARD_ZONE = 20000; //size of block (bytes) after which reward for block calculated using block size const size_t CRYPTONOTE_COINBASE_BLOB_RESERVED_SIZE = 600; //TODO Define number of digits const size_t CRYPTONOTE_DISPLAY_DECIMAL_POINT = 8; //TODO Define minimum fee for transactions -const uint64_t MINIMUM_FEE = ; +const uint64_t MINIMUM_FEE = 100000; const uint64_t DEFAULT_DUST_THRESHOLD = MINIMUM_FEE; //TODO Define preferred block's target time