Nodes
對於 NXT / Ardor 的面向公眾的節點,理想的公共 nxt.properties 配置文件是什麼?
執行公共節點時,我找不到 nxt.properties 的模板。是否有一個公共模板我可以複製和粘貼並為 NXT / Ardor 進行一些調整?
以下條目是否仍然需要:
nxt.uiServerHost=0.0.0.0 nxt.uiServerCORS=true nxt.uiSSL=true
以下是我用於 Ardor 的公共節點的內容。有些行已被註釋掉,您可以根據需要啟用它們。
# Can also specify networks in CIDR notation, e.g. 192.168.1.0/24. #nxt.allowedBotHosts=127.0.0.1; localhost; [0:0:0:0:0:0:0:1]; nxt.allowedBotHosts=*; localhost; [0:0:0:0:0:0:0:1]; # Host interface on which to listen for http/json API request, default localhost only. # Set to 0.0.0.0 to allow the API server to accept requests from all network interfaces. #nxt.apiServerHost=127.0.0.1 nxt.apiServerHost=0.0.0.0 # Hosts from which to allow NRS user interface requests, if enabled. Set to * to allow all. #nxt.allowedUserHosts=127.0.0.1; localhost; [0:0:0:0:0:0:0:1]; nxt.allowedUserHosts=*; localhost; [0:0:0:0:0:0:0:1]; # Host interface for NRS user interface server, default localhost only. # Set to 0.0.0.0 to allow the UI to be accessed on all network interfaces. #nxt.uiServerHost=127.0.0.1 nxt.uiServerHost=0.0.0.0 nxt.isTestnet=false nxt.apiServerCORS=true nxt.uiServerCORS=true #nxt.apiServerPort=27876 #nxt.apiServerSSLPort=27876 nxt.maxPrunableLifetime=-1 nxt.includeExpiredPrunable=true nxt.adminPassword=SET_YOUR_OWN # The default account is used, to automatically login to the wallet during startup #nxt.defaultDesktopAccount=ASDFASDF #nxt.uiSSL=true #nxt.apiSSL=true nxt.myPlatform=xxx0000