From cb8ea822617c8b9394bf2c2cd60547b8ae75ef11 Mon Sep 17 00:00:00 2001 From: "Dmitriy A. Gerasimov" <dmitriy.gerasimov@demlabs.net> Date: Wed, 3 Feb 2021 15:02:59 +0700 Subject: [PATCH] [+] Added ext_address,ext_address6 and ext_port_tcp to [server] section of main config [!] Fixed node info update, now it updates with own addresses and ports --- CMakeLists.txt | 2 +- cellframe-sdk | 2 +- dist/share/configs/dapcash-node.cfg.tpl | 23 +++++++++++++++-------- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 43cd859..1165b0a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ set(CMAKE_C_STANDARD 11) SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}") SET( CPACK_PACKAGE_VERSION_MAJOR 4) SET( CPACK_PACKAGE_VERSION_MINOR 3) -SET( CPACK_PACKAGE_VERSION_PATCH 23) +SET( CPACK_PACKAGE_VERSION_PATCH 24) # # init CellFrame SDK diff --git a/cellframe-sdk b/cellframe-sdk index b948640..1267dc7 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit b948640c3578c5d5e8d3af5243fa1f0f52d134fd +Subproject commit 1267dc73027196fadef922a6b32c654cfcc5c584 diff --git a/dist/share/configs/dapcash-node.cfg.tpl b/dist/share/configs/dapcash-node.cfg.tpl index 460d652..816b11d 100644 --- a/dist/share/configs/dapcash-node.cfg.tpl +++ b/dist/share/configs/dapcash-node.cfg.tpl @@ -22,25 +22,32 @@ bugreport_url_enabled=false listen_address={SERVER_ADDR} listen_port_tcp={SERVER_PORT} +# External IPv4 address +#ext_address=8.9.10.11 +# External IPv6 address +#ext_address6=aaaa:bbbb:deee:96ff:feee:3fff +# +# If not set - used listen_port_tcp for node table auto fill +#ext_port_tcp=8089 # Build in DNS client (need for bootstraping) [dns_client] -request_timeout=10 +#request_timeout=10 # Builtin DNS server [dns_server] -enabled=false -bootstrap_balancer=false +# enabled=false +#bootstrap_balancer=false # Ledger defaults [ledger] # More debug output -debug_more=false +# debug_more=true # DAG defaults [dag] # More debug output -debug_more=false +# debug_more=true [srv] order_signed_only=false @@ -63,9 +70,9 @@ pricelist=[] # Chain network settings [chain_net] -debug_more=true +# debug_more=true # Timeout for network status wait -status_wait_timeout=10 +# status_wait_timeout=10 [stream_ch_chain] # Uncomment to have more debug information in stream channel Chain @@ -75,7 +82,7 @@ status_wait_timeout=10 # Number of hashes packed into the one update packet # Increase it to reduce update latency # Decrease if bad networking -update_pack_size=100 +# update_pack_size=100 # Central Dataase -- GitLab