BitShares Forum
Main => Technical Support => Topic started by: nixoid on January 02, 2015, 06:18:18 am
-
Hi there,
Is there a way to make node remember advanced_node_parameters?
So this will be set automatically during each start:
network_set_advanced_node_parameters {"desired_number_of_connections":100, "maximum_number_of_connections":200}
I've set up bitshares as a daemon and cannot type this during each boot because i don't know when reboot will happen.
I've tried adding this to various places of configs - not helping.
Thanks in advance.
-
I don't believe there is a way to save these at present; I've made a note about it here: https://github.com/BitShares/bitshares/issues/1206
-
$bitshares_client --help
...
--input-log arg Set log file with CLI commands to
execute at startup
Looks like it's possible to set some commands to excute at startup, but how to?
-
$bitshares_client --help
...
--input-log arg Set log file with CLI commands to
execute at startup
Looks like it's possible to set some commands to excute at startup, but how to?
You can give it a file with a command on each line prefixed by the console prefix ">>> ". Anything before the prefix or on a line without it is ignored. Like so:
https://github.com/BitShares/bitshares/blob/6b5febbeca5e4274a1b29f56b5e67bc093412392/tests/regression_tests/_common_logs/create_wallet.log
-
$bitshares_client --help
...
--input-log arg Set log file with CLI commands to
execute at startup
Looks like it's possible to set some commands to excute at startup, but how to?
You can give it a file with a command on each line prefixed by the console prefix ">>> ". Anything before the prefix or on a line without it is ignored. Like so:
https://github.com/BitShares/bitshares/blob/6b5febbeca5e4274a1b29f56b5e67bc093412392/tests/regression_tests/_common_logs/create_wallet.log
Great. This makes a lot sense.
Thanks.