Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: how to save advanced_node_parameters  (Read 303 times)

0 Members and 1 Guest are viewing this topic.

Offline nixoid

  • Newbie
  • *
  • Posts: 2
    • View Profile
how to save advanced_node_parameters
« 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.

Offline vikram

Re: how to save advanced_node_parameters
« Reply #1 on: January 06, 2015, 07:14:19 PM »
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

Offline abit

Re: how to save advanced_node_parameters
« Reply #2 on: January 07, 2015, 02:38:05 AM »
Code: [Select]
$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?
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

Offline vikram

Re: how to save advanced_node_parameters
« Reply #3 on: January 07, 2015, 05:14:28 PM »
Code: [Select]
$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


Offline abit

Re: how to save advanced_node_parameters
« Reply #4 on: January 07, 2015, 05:42:28 PM »
Code: [Select]
$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.
BTS account: abit
BTS committee member: abit
BTS witness: in.abit

 

Google+