Update with extra debugging information.
This commit is contained in:
parent
6e767e175e
commit
485e7726b6
1 changed files with 2 additions and 1 deletions
|
|
@ -583,6 +583,7 @@ function Database(){
|
|||
function(callback){
|
||||
global.coinFuncs.getBlockHeaderByHash(oldestLockedBlock.hash, (err, result) => {
|
||||
oldestLockedBlock.height = result.height;
|
||||
console.log(`Got the oldest block`);
|
||||
callback(null, oldestLockedBlock);
|
||||
});
|
||||
},
|
||||
|
|
@ -624,7 +625,7 @@ function Database(){
|
|||
let shareCount = 0;
|
||||
let pplnsFound = false;
|
||||
let blockList = [];
|
||||
debug("Scanning from: "+lastBlock + " for more than: " + difficulty + " shares");
|
||||
console.log("Scanning from: "+lastBlock + " for more than: " + difficulty + " shares");
|
||||
range.range(0, lastBlock+1).forEach(function (blockID) {
|
||||
blockID = (blockID - lastBlock+1) * -1;
|
||||
if (blockID < 0){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue