propagate

This commit is contained in:
Ario
2019-09-18 22:23:17 +02:00
parent 1d0378ffef
commit 3e5481a41a

View File

@@ -63,7 +63,7 @@ if ((empty($peer) || $peer == 'all') && $type == "block") {
$ewhr = ""; $ewhr = "";
// boradcasting to only certain peers // boradcasting to only certain peers
if ($linear == true) { if ($linear == true) {
$ewhr = " ORDER by RAND() LIMIT 25"; $ewhr = " ORDER by RAND() LIMIT 5";
} }
$r = $db->run("SELECT * FROM peers WHERE blacklisted < UNIX_TIMESTAMP() AND reserve=0 $ewhr"); $r = $db->run("SELECT * FROM peers WHERE blacklisted < UNIX_TIMESTAMP() AND reserve=0 $ewhr");
foreach ($r as $x) { foreach ($r as $x) {