antifork
This commit is contained in:
6
util.php
6
util.php
@@ -121,6 +121,12 @@ echo "Mempool size: $res\n";
|
||||
} else echo "$x[hostname] ->ok \n";
|
||||
}
|
||||
|
||||
}elseif($cmd=="peers-block"){
|
||||
$r=$db->run("SELECT * FROM peers");
|
||||
foreach($r as $x){
|
||||
$a=peer_post($x['hostname']."/peer.php?q=currentBlock",array(),5);
|
||||
echo "$x[hostname]\t$a[height]\n";
|
||||
}
|
||||
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user