-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor changes to testnet city hash calculation.
- Loading branch information
nlg-buildbot
committed
Nov 29, 2017
1 parent
eca5a5a
commit de68c0a
Showing
7 changed files
with
16 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright (c) 2015-2017 The Gulden developers | ||
// Copyright (c) 2015-2016 The Gulden developers | ||
// Authored by: Malcolm MacLeod ([email protected]) | ||
// Distributed under the GULDEN software license, see the accompanying | ||
// file COPYING | ||
|
@@ -13,7 +13,6 @@ | |
#define BLOCK_TIME(block) block.getTimeSeconds() | ||
#define INDEX_TYPE StoredBlock | ||
#define INDEX_HEIGHT(block) block.getHeight() | ||
//fixme: (GULDEN) (2.0) | ||
#define INDEX_TIME(block) block.getHeader().getTimeSeconds() | ||
#define INDEX_PREV(block) blockStore.get(block.getHeader().getPrevBlockHash()) | ||
#define INDEX_TARGET(block) block.getHeader().getDifficultyTarget() | ||
|
@@ -34,7 +33,6 @@ | |
#define BLOCK_TIME(block) (int64_t) block.timestamp | ||
#define INDEX_TYPE BRMerkleBlock * | ||
#define INDEX_HEIGHT(block) block.height | ||
|
||
#define INDEX_TIME(block) (int64_t) block.timestamp | ||
#define INDEX_PREV(block) [[BRPeerManager sharedInstance] blockForHash:(block.prevBlock)] | ||
#define INDEX_TARGET(block) block.target | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Copyright (c) 2015-2017 The Gulden developers | ||
// Copyright (c) 2015-2016 The Gulden developers | ||
// Authored by: Malcolm MacLeod ([email protected]) | ||
// Distributed under the GULDEN software license, see the accompanying | ||
// file COPYING | ||
|
@@ -43843,7 +43843,6 @@ public | |
nRet = (unsigned int)udiff[nHeight]; | ||
#ifndef __JAVA__ | ||
#ifndef BUILD_IOS | ||
static bool fDebug = false; | ||
if (fDebug) { | ||
static CCriticalSection logCS; | ||
LOCK(logCS); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters