diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000..6554e1f4e8 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,26 @@ +# Use the latest 2.1 version of CircleCI pipeline process engine. +# See: https://circleci.com/docs/2.0/configuration-reference +version: 2.1 + +# Define a job to be invoked later in a workflow. +# See: https://circleci.com/docs/2.0/configuration-reference/#jobs +jobs: + say-hello: + # Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub. + # See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor + docker: + - image: cimg/base:stable + # Add steps to the job + # See: https://circleci.com/docs/2.0/configuration-reference/#steps + steps: + - checkout + - run: + name: "Say hello" + command: "echo Hello, World!" + +# Invoke jobs via workflows +# See: https://circleci.com/docs/2.0/configuration-reference/#workflows +workflows: + say-hello-workflow: + jobs: + - say-hello diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b02ec2896e..17e3288db7 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 "eeffoCoind") \ No newline at end of file diff --git a/src/CryptoNoteConfig.h b/src/CryptoNoteConfig.h index 4506f667c9..fde2e1067b 100644 --- a/src/CryptoNoteConfig.h +++ b/src/CryptoNoteConfig.h @@ -14,7 +14,7 @@ const uint64_t CRYPTONOTE_MAX_BLOCK_NUMBER = 500000000; const size_t CRYPTONOTE_MAX_BLOCK_BLOB_SIZE = 500000000; const size_t CRYPTONOTE_MAX_TX_SIZE = 1000000000; //TODO Currency-specific address prefix -const uint64_t CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = ; +const uint64_t CRYPTONOTE_PUBLIC_ADDRESS_BASE58_PREFIX = 0xe9; // adresler "f" ile başlar; //TODO Choose maturity period for your currency const size_t CRYPTONOTE_MINED_MONEY_UNLOCK_WINDOW = 60; const uint64_t CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT = 60 * 60 * 2; @@ -24,18 +24,18 @@ 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"); //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 @@ -71,9 +71,8 @@ const char P2P_NET_DATA_FILENAME[] = "p2pstate.bin"; const char CRYPTONOTE_BLOCKCHAIN_INDICES_FILENAME[] = "blockchainindices.dat"; 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[] = "eeffoCoin"; const char GENESIS_COINBASE_TX_HEX[] = ""; const uint8_t CURRENT_TRANSACTION_VERSION = 1; @@ -85,9 +84,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 = 11544; //TODO This port will be used by the daemon to interact with simlewallet -const int RPC_DEFAULT_PORT = ; +const int RPC_DEFAULT_PORT = 11644; const size_t P2P_LOCAL_WHITE_PEERLIST_LIMIT = 1000; const size_t P2P_LOCAL_GRAY_PEERLIST_LIMIT = 5000; @@ -106,8 +105,8 @@ const char P2P_STAT_TRUSTED_PUB_KEY[] = "8f80f9a5a434a9f1 //TODO Add here your network seed nodes const std::initializer_list SEED_NODES = { - //"your_seed_ip1.com:8080", - //"your_seed_ip2.com:8080", + //"104.238.185.239:11544", + //"104.238.185.239:11644", }; struct CheckpointData { @@ -126,4 +125,4 @@ const std::initializer_list CHECKPOINTS = { }; } // CryptoNote -#define ALLOW_DEBUG_COMMANDS +#pragma region define ALLOW_DEBUG #373 #372_COMAND diff --git a/src/Daemon/Daemon.cpp b/src/Daemon/Daemon.cpp index 771c1ceeb8..d33ac4cadf 100755 --- a/src/Daemon/Daemon.cpp +++ b/src/Daemon/Daemon.cpp @@ -321,3 +321,5 @@ bool command_line_preprocessor(const boost::program_options::variables_map &vm, return false; } +print-genesis-tx +eeffoCoin —print-genesis-tx diff --git a/src/P2p/P2pNetworks.h b/src/P2p/P2pNetworks.h index 90401a03eb..9af5966c94 100644 --- a/src/P2p/P2pNetworks.h +++ b/src/P2p/P2pNetworks.h @@ -6,5 +6,5 @@ namespace CryptoNote { - const static boost::uuids::uuid CRYPTONOTE_NETWORK = { { 0x43, 0x52, 0x59, 0x50, 0x54, 0x4f, 0x4e, 0x4f, 0x54, 0x45, 0x00, 0x12, 0x10, 0x11, 0x01, 0x10 } }; + const static boost::uuids::uuid CRYPTONOTE_NETWORK = { { 0xA1, 0x1A, 0xA1, 0x1A, 0xA1, 0x0A, 0xA1, 0x0A, 0xA0, 0x1A, 0xA0, 0x1A, 0xA0, 0x1A , 0xA1, 0x1A } }; }