external mansternode miner support

This commit is contained in:
Arionum
2018-08-07 09:32:57 +03:00
parent a09279d091
commit e707f8daa4
3 changed files with 101 additions and 2 deletions

View File

@@ -24,6 +24,7 @@ class Block
// create the block data and check it against the signature
$info = "{$generator}-{$height}-{$date}-{$nonce}-{$json}-{$difficulty}-{$argon}";
_log($info,3);
if (!$bootstrapping) {
if (!$acc->check_signature($info, $signature, $public_key)) {
_log("Block signature check failed");

View File

@@ -1,6 +1,6 @@
<?php
// ARO version
define("VERSION", "0.4.0");
define("VERSION", "0.4.1");
// Amsterdam timezone by default, should probably be moved to config
date_default_timezone_set("UTC");