diff --git a/contrib/config-for-ahnode.ini b/contrib/config-for-ahnode.ini index d48f9f1298..5e08a29d6d 100644 --- a/contrib/config-for-ahnode.ini +++ b/contrib/config-for-ahnode.ini @@ -1,7 +1,5 @@ -log-appender = {"appender":"stderr","stream":"std_error"} -# {"appender":"p2p","file":"logs/p2p/p2p.log"} -log-logger = {"name":"default","level":"info","appender":"stderr"} -# {"name":"p2p","level":"warn","appender":"p2p"} +log-appender = {"appender":"stderr","stream":"std_error","time_format":"iso_8601_milliseconds"} {"appender":"p2p","file":"logs/p2p/p2p.log","time_format":"iso_8601_milliseconds"} +log-logger = {"name":"default","level":"info","appender":"stderr"} {"name":"user","level":"debug","appender":"stderr"} {"name":"p2p","level":"warn","appender":"p2p"} backtrace = yes @@ -27,19 +25,23 @@ plugin = reputation_api plugin = block_api network_broadcast_api rc_api +plugin = wallet_bridge_api + +plugin = node_status_api + plugin = state_snapshot account-history-rocksdb-path = "blockchain/account-history-rocksdb-storage" -shared-file-size = 24G - -shared-file-full-threshold = 9500 -shared-file-scale-rate = 1000 +# you can use tmpfs for that state file +# make sure you have enough free space +# shared-file-dir = "/run/hive" +shared-file-size = 28G p2p-endpoint = 0.0.0.0:2001 transaction-status-block-depth = 64000 -transaction-status-track-after-block = 54500000 +transaction-status-track-after-block = 87000000 -webserver-http-endpoint = 0.0.0.0:8091 -webserver-ws-endpoint = 0.0.0.0:8090 +webserver-http-endpoint = 127.0.0.1:8091 +webserver-ws-endpoint = 127.0.0.1:8090 diff --git a/contrib/config-for-docker.ini b/contrib/config-for-docker.ini index c0c26001ad..d51f239de0 100644 --- a/contrib/config-for-docker.ini +++ b/contrib/config-for-docker.ini @@ -1,5 +1,5 @@ -log-appender = {"appender":"stderr","stream":"std_error"} -log-logger = {"name":"default","level":"info","appender":"stderr"} +log-appender = {"appender":"stderr","stream":"std_error","time_format":"iso_8601_milliseconds"} {"appender":"p2p","file":"logs/p2p/p2p.log","time_format":"iso_8601_milliseconds"} +log-logger = {"name":"default","level":"info","appender":"stderr"} {"name":"user","level":"debug","appender":"stderr"} {"name":"p2p","level":"warn","appender":"p2p"} backtrace = yes @@ -8,12 +8,11 @@ plugin = database_api condenser_api plugin = witness -# Note: If using the docker image, account_history_rocksdb and account_history_api plugins -# are added automatically to track single account when the `TRACK_ACCOUNT` environment variable is set -# to an account name. -# -#plugin = account_history_rocksdb -#plugin = account_history_api +plugin = account_by_key +plugin = account_by_key_api + +plugin = account_history_rocksdb +plugin = account_history_api plugin = transaction_status plugin = transaction_status_api @@ -22,28 +21,43 @@ plugin = block_api network_broadcast_api rc_api plugin = state_snapshot -account-history-rocksdb-path = "blockchain/account-history-rocksdb-storage" +plugin = wallet_bridge_api -shared-file-size = 24G +plugin = node_status_api -flush-state-interval = 0 +account-history-rocksdb-path = "blockchain/account-history-rocksdb-storage" + +# you can use tmpfs for that state file +# make sure you have enough free space +# shared-file-dir = "/run/hive" +shared-file-size = 28G # Defines a range of accounts to track as a json pair ["from","to"] # Uncomment lines to track only your own exchange account # tracking more accounts will have a significant impact on resources needed -# Note: If using the docker image, this is set with the environment variable `TRACK_ACCOUNT` -# Use custom `config.ini` if you need to track more than one. -# -#account-history-rocksdb-track-account-range = ["binance-hot","binance-hot"] -#account-history-rocksdb-track-account-range = ["bittrex","bittrex"] -#account-history-rocksdb-track-account-range = ["blocktrades","blocktrades"] -#account-history-rocksdb-track-account-range = ["deepcrypto8","deepcrypto8"] -#account-history-rocksdb-track-account-range = ["huobi-pro","huobi-pro"] +account-history-rocksdb-track-account-range = ["binance-hot","binance-hot"] +account-history-rocksdb-track-account-range = ["bittrex","bittrex"] +account-history-rocksdb-track-account-range = ["blocktrades","blocktrades"] +account-history-rocksdb-track-account-range = ["deepcrypto8","deepcrypto8"] +account-history-rocksdb-track-account-range = ["binance-hot2","binance-hot2"] +account-history-rocksdb-track-account-range = ["bdhivesteem","bdhivesteem"] +account-history-rocksdb-track-account-range = ["hot1.dunamu","hot1.dunamu"] +account-history-rocksdb-track-account-range = ["hot2.dunamu","hot2.dunamu"] +account-history-rocksdb-track-account-range = ["hot3.dunamu","hot3.dunamu"] +account-history-rocksdb-track-account-range = ["hot4.dunamu","hot4.dunamu"] +account-history-rocksdb-track-account-range = ["hot5.dunamu","hot5.dunamu"] +account-history-rocksdb-track-account-range = ["user.dunamu","user.dunamu"] +account-history-rocksdb-track-account-range = ["huobi-pro","huobi-pro"] +account-history-rocksdb-track-account-range = ["hive.fund","hive.fund"] +account-history-rocksdb-track-account-range = ["steem.dao","steem.dao"] +account-history-rocksdb-track-account-range = ["gtg","gtg"] p2p-endpoint = 0.0.0.0:2001 transaction-status-block-depth = 64000 -transaction-status-track-after-block = 54500000 +transaction-status-track-after-block = 87000000 + +webserver-http-endpoint = 127.0.0.1:8091 +webserver-ws-endpoint = 127.0.0.1:8090 -webserver-http-endpoint = 0.0.0.0:8091 -webserver-ws-endpoint = 0.0.0.0:8090 +webserver-thread-pool-size = 8