temporaire 20181201

This commit is contained in:
2018-12-01 09:51:41 +01:00
parent b21e660971
commit 1d90cd185a
6 changed files with 600 additions and 44 deletions

View File

@@ -1,6 +1,7 @@
function logBlockHash(leblock)
{
console.log('Last Block detected : '+leblock.hash);
return true;
}
var last_block = null;
@@ -29,6 +30,10 @@ function getLastBlockInfo()
setTimeout(getLastBlockInfo, 30000);
}
function addBlockHook(addBlockHook){
last_block_hooks.push(addBlockHook);
}
$(document).ready(function() {
getLastBlockInfo();
});