mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-02 15:13:25 +03:00
Merge pull request #1042 from urbit/bs/disable-core-hashing-on-fake-ships
Disable core hashing on fake ships.
This commit is contained in:
commit
c6e302fa4f
@ -222,6 +222,10 @@ _main_getopt(c3_i argc, c3_c** argv)
|
|||||||
u3_Host.ops_u.net = c3y; /* remote networking is always on in real mode. */
|
u3_Host.ops_u.net = c3y; /* remote networking is always on in real mode. */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( u3_Host.ops_u.fak == c3y ) {
|
||||||
|
u3_Host.ops_u.has = c3y; /* no battery hashing on fake ships. */
|
||||||
|
}
|
||||||
|
|
||||||
if ( u3_Host.ops_u.arv_c != 0 && !imp_t ) {
|
if ( u3_Host.ops_u.arv_c != 0 && !imp_t ) {
|
||||||
fprintf(stderr, "-A only makes sense when creating a new galaxy\n");
|
fprintf(stderr, "-A only makes sense when creating a new galaxy\n");
|
||||||
return c3n;
|
return c3n;
|
||||||
@ -373,6 +377,7 @@ u3_ve_usage(c3_i argc, c3_c** argv)
|
|||||||
"-r host Initial peer address\n",
|
"-r host Initial peer address\n",
|
||||||
"-R Report urbit build info\n",
|
"-R Report urbit build info\n",
|
||||||
"-s Pill URL from arvo git hash\n",
|
"-s Pill URL from arvo git hash\n",
|
||||||
|
"-S Disable battery hashing\n",
|
||||||
"-u url URL from which to download pill\n",
|
"-u url URL from which to download pill\n",
|
||||||
"-v Verbose\n",
|
"-v Verbose\n",
|
||||||
"-w name Boot as ~name\n",
|
"-w name Boot as ~name\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user