propagate

This commit is contained in:
Ario
2019-09-18 08:17:51 +02:00
parent 7501d217e9
commit 1a30d8e915

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 50"; $ewhr = " ORDER by RAND() LIMIT 25";
} }
$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) {