Skip to content

Commit

Permalink
removed references to bitnote
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarshall108 committed Apr 18, 2018
1 parent 15ff00c commit 448623e
Show file tree
Hide file tree
Showing 183 changed files with 192 additions and 192 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set(VERSION "0.1")
set(COMMIT 32f5466)
set(REFS " (HEAD -> master)")

project(bitnote)
project(cryonote)

set_property(GLOBAL PROPERTY USE_FOLDERS ON)
set(CMAKE_CONFIGURATION_TYPES "Debug;Release")
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ CryoNote is a private, secure, untraceable, decentralised digital currency. You

**Security:** Using the power of a distributed peer-to-peer consensus network, every transaction on the network is cryptographically secured. Individual wallets have a 25 word mnemonic seed that is only displayed once, and can be written down to backup the wallet. Wallet files are encrypted with a passphrase to ensure they are useless if stolen.

**Untraceability:** By taking advantage of ring signatures, a special property of a certain type of cryptography, Bitnote is able to ensure that transactions are not only untraceable, but have an optional measure of ambiguity that ensures that transactions cannot easily be tied back to an individual user or computer.
**Untraceability:** By taking advantage of ring signatures, a special property of a certain type of cryptography, CryoNote is able to ensure that transactions are not only untraceable, but have an optional measure of ambiguity that ensures that transactions cannot easily be tied back to an individual user or computer.

## About this Project

This is the core implementation of CryoNote. It is open source and completely free to use without restrictions, except for those specified in the license agreement below. There are no restrictions on anyone creating an alternative implementation of Bitnote that uses the protocol and network in a compatible manner.
This is the core implementation of CryoNote. It is open source and completely free to use without restrictions, except for those specified in the license agreement below. There are no restrictions on anyone creating an alternative implementation of CryoNote that uses the protocol and network in a compatible manner.

As with many development projects, the repository on Github is considered to be the "staging" area for the latest changes. Before changes are merged into that branch on the main repository, they are tested by individual developers in their own branches, submitted as a pull request, and then subsequently tested by contributors who focus on testing and code reviews. That having been said, the repository should be carefully considered before using it in a production environment, unless there is a patch in the repository for a particular show-stopping issue you are experiencing. It is generally a better idea to use a tagged release for stability.

Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ add_dependencies(simplewallet version)

set_property(TARGET common crypto cryptonote_core rpc wallet PROPERTY FOLDER "libs")
set_property(TARGET daemon simplewallet connectivity_tool PROPERTY FOLDER "prog")
set_property(TARGET daemon PROPERTY OUTPUT_NAME "bitnoted")
set_property(TARGET daemon PROPERTY OUTPUT_NAME "cryonoted")
2 changes: 1 addition & 1 deletion src/common/base58.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/base58.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/boost_serialization_helper.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/command_line.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/command_line.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/int-util.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/pod-class.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/unordered_containers_boost_serialization.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/util.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/util.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/common/varint.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/connectivity_tool/conn_tool.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/chacha8.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/crypto-ops-data.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/crypto-ops.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/crypto-ops.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/crypto.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/crypto.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/generic-ops.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/hash-extra-blake.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/hash-extra-groestl.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/hash-extra-jh.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/hash-extra-skein.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/hash-ops.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/hash.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/hash.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/initializer.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/random.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/random.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/slow-hash.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/crypto/tree-hash.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
10 changes: 5 additions & 5 deletions src/cryptonote_config.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down Expand Up @@ -34,7 +34,7 @@
#define CRYPTONOTE_CURRENT_BLOCK_MINOR_VERSION 0
#define CRYPTONOTE_BLOCK_FUTURE_TIME_LIMIT 60*60*2
#define CRYPTONOTE_DEFAULT_TX_SPENDABLE_AGE 10
#define CRYPTONOTE_HARDFORK_HEIGHT_1 30100
#define CRYPTONOTE_HARDFORK_HEIGHT_V1 30100
#define CRYPTONOTE_BLOCKCHAIN_TIMESTAMP_CHECK_WINDOW 15

#define MONEY_SUPPLY ((uint64_t)1200000000000000)
Expand Down Expand Up @@ -71,8 +71,8 @@
#define CRYPTONOTE_GENESIS_NONCE 10000
#define CRYPTONOTE_GENESIS_REWARD ((uint64_t)100000000000000)

#define CRYPTONOTE_P2P_DEFAULT_PORT 11551
#define CRYPTONOTE_RPC_DEFAULT_PORT 11552
#define CRYPTONOTE_P2P_DEFAULT_PORT 5551
#define CRYPTONOTE_RPC_DEFAULT_PORT 5552

#define CRYPTONOTE_RPC_COMMAND_GET_BLOCKS_FAST_MAX_COUNT 1000
#define CRYPTONOTE_RPC_WALLET_CONNECTION_TIMEOUT 200000
Expand Down Expand Up @@ -103,7 +103,7 @@

#define ALLOW_DEBUG_COMMANDS

#define CRYPTONOTE_NAME "bitnote"
#define CRYPTONOTE_NAME "cryonote"
#define CRYPTONOTE_POOLDATA_FILENAME "poolstate.bin"
#define CRYPTONOTE_BLOCKCHAINDATA_FILENAME "blockchain.bin"
#define CRYPTONOTE_BLOCKCHAINDATA_TEMP_FILENAME "blockchain.bin.tmp"
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/account.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/account.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/account_boost_serialization.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/blockchain_storage.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/blockchain_storage.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/checkpoints.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/checkpoints.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/checkpoints_create.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/connection_context.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_basic.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_basic_impl.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_basic_impl.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_boost_serialization.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_core.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_core.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
6 changes: 3 additions & 3 deletions src/cryptonote_core/cryptonote_format_utils.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down Expand Up @@ -704,9 +704,9 @@ namespace cryptonote
//---------------------------------------------------------------
bool get_block_longhash(const block& b, crypto::hash& res, uint64_t height)
{
block b_local = b; //workaround to avoid const errors with do_serialize
block b_local = b; // workaround to avoid const errors with do_serialize
blobdata bd = get_block_hashing_blob(b);
crypto::cn_slow_hash(bd.data(), bd.size(), res, height >= CRYPTONOTE_HARDFORK_HEIGHT_1);
crypto::cn_slow_hash(bd.data(), bd.size(), res, height >= CRYPTONOTE_HARDFORK_HEIGHT_V1);
return true;
}
//---------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_format_utils.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/cryptonote_stat_info.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
4 changes: 2 additions & 2 deletions src/cryptonote_core/difficulty.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down Expand Up @@ -219,7 +219,7 @@ namespace cryptonote {
difficulty_type next_difficulty(vector<uint64_t> timestamps, vector<difficulty_type> cumulative_difficulties,
uint64_t height/*=0*/, size_t target_seconds/*=CRYPTONOTE_DIFFICULTY_TARGET*/)
{
if (height >= CRYPTONOTE_HARDFORK_HEIGHT_1)
if (height >= CRYPTONOTE_HARDFORK_HEIGHT_V1)
{
return next_difficulty_v2(std::move(timestamps), std::move(cumulative_difficulties), target_seconds);
}else
Expand Down
2 changes: 1 addition & 1 deletion src/cryptonote_core/difficulty.hpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2018, The Bitnote Developers.
// Copyright (c) 2018, The CryoNote Developers.
// Portions Copyright (c) 2012-2013, The CryptoNote Developers.
//
// All rights reserved.
Expand Down
Loading

0 comments on commit 448623e

Please sign in to comment.