add min recv size and whitelist address

This commit is contained in:
blackjok3r
2018-11-07 17:27:57 +08:00
parent 863e164e99
commit 0920b59572
8 changed files with 47 additions and 31 deletions

View File

@@ -1511,6 +1511,8 @@ void komodo_args(char *argv0)
fprintf(stderr, "Cannot be STAKED and KMD notary at the same time!\n");
exit(0);
}
MIN_RECV_SATS = GetArg("-mintxvalue",-1);
WHITELIST_ADDRESS = GetArg("-whitelist","");
if ( GetBoolArg("-gen", false) != 0 )
KOMODO_MININGTHREADS = GetArg("-genproclimit",1);
else KOMODO_MININGTHREADS = -1;