propagate
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user