diff --git a/cellframe-sdk b/cellframe-sdk index e0402a38577e0755dd8604faf9622a06d0e052fe..b10f05814274c333818770c4ff7f3341d7db9381 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit e0402a38577e0755dd8604faf9622a06d0e052fe +Subproject commit b10f05814274c333818770c4ff7f3341d7db9381 diff --git a/dist.darwin/share/configs/dapcash-node.cfg.tpl b/dist.darwin/share/configs/dapcash-node.cfg.tpl index 3db955b0a34e956b33fe1801928abdd4620abc18..468a829acdfe03a6efec2fb355c995c0a355ba2e 100644 --- a/dist.darwin/share/configs/dapcash-node.cfg.tpl +++ b/dist.darwin/share/configs/dapcash-node.cfg.tpl @@ -19,8 +19,6 @@ auto_online={AUTO_ONLINE} [server] # By default you don't need to open you to the world enabled={SERVER_ENABLED} -news_url_enabled=false -bugreport_url_enabled=false listen_address={SERVER_ADDR} listen_port_tcp={SERVER_PORT} @@ -86,25 +84,6 @@ pricelist=[] # Decrease if bad networking # update_pack_size=100 - -# Central Dataase -[cdb] -enabled=false -servers_list_enabled=false -servers_list_networks=[dapcash-testnet] - -# Central Database authorization -[cdb_auth] -enabled=false -domain=mydomain -# auth mode=passwd[default] or serial -mode=passwd -registration_open=true -tx_cond_create=false -# List of condition templates, created for authorized users. Format of condition: -# <wallet name>:<Value per transaction>:<Minimum time(seconds) between transactions>:<network name> -# tx_cond_templates=[mywallet0:0.00001:3600:DAPT:dapcash-testnet,mywallet1:0.000001:3600:KELT:dapcash-testnet] - # VPN stream channel processing module [srv_vpn] # Turn to true if you want to share VPN service from you node @@ -122,7 +101,7 @@ pricelist=[dapcash-testnet:100:DAPT:3600:SEC:mywallet0,dapcash-testnet:100:DAPB: [conserver] enabled=true #listen_port_tcp=12345 -listen_unix_socket_path=/opt/dapcash-node/var/run/node_cli +listen_unix_socket_path=/Applications/DapCash.app/Contents/Resources/var/run/node_cli # Default permissions 770 #listen_unix_socket_permissions=770 @@ -130,11 +109,11 @@ listen_unix_socket_path=/opt/dapcash-node/var/run/node_cli [resources] # 0 means auto detect threads_cnt=0 -pid_path=/opt/dapcash-node/var/run/dapcash-node.pid -log_file=/opt/dapcash-node/var/log/dapcash-node.log -wallets_path=/opt/dapcash-node/var/lib/wallet +pid_path=/Applications/DapCash.app/Contents/Resources/var/run/dapcash-node.pid +log_file=/Applications/DapCash.app/Contents/Resources/var/log/dapcash-node.log +wallets_path=/Applications/DapCash.app/Contents/Resources/var/lib/wallet geoip_db_path=share/geoip/GeoLite2-City.mmdb -ca_folders=[/opt/dapcash-node/var/lib/ca,/opt/dapcash-node/share/ca] -dap_global_db_path=/opt/dapcash-node/var/lib/global_db -dap_global_db_driver=cdb +ca_folders=[/Applications/DapCash.app/Contents/Resources/var/lib/ca,/Applications/DapCash.app/Contents/Resources/share/ca] +dap_global_db_path=/Applications/DapCash.app/Contents/Resources/var/lib/global_db +dap_global_db_driver=sqlite3 diff --git a/dist.linux/share/configs/dapcash-node.cfg.tpl b/dist.linux/share/configs/dapcash-node.cfg.tpl index 3db955b0a34e956b33fe1801928abdd4620abc18..9815003038d2d4e32080b99bb88d4433e9302fa9 100644 --- a/dist.linux/share/configs/dapcash-node.cfg.tpl +++ b/dist.linux/share/configs/dapcash-node.cfg.tpl @@ -86,25 +86,6 @@ pricelist=[] # Decrease if bad networking # update_pack_size=100 - -# Central Dataase -[cdb] -enabled=false -servers_list_enabled=false -servers_list_networks=[dapcash-testnet] - -# Central Database authorization -[cdb_auth] -enabled=false -domain=mydomain -# auth mode=passwd[default] or serial -mode=passwd -registration_open=true -tx_cond_create=false -# List of condition templates, created for authorized users. Format of condition: -# <wallet name>:<Value per transaction>:<Minimum time(seconds) between transactions>:<network name> -# tx_cond_templates=[mywallet0:0.00001:3600:DAPT:dapcash-testnet,mywallet1:0.000001:3600:KELT:dapcash-testnet] - # VPN stream channel processing module [srv_vpn] # Turn to true if you want to share VPN service from you node @@ -133,8 +114,7 @@ threads_cnt=0 pid_path=/opt/dapcash-node/var/run/dapcash-node.pid log_file=/opt/dapcash-node/var/log/dapcash-node.log wallets_path=/opt/dapcash-node/var/lib/wallet -geoip_db_path=share/geoip/GeoLite2-City.mmdb ca_folders=[/opt/dapcash-node/var/lib/ca,/opt/dapcash-node/share/ca] dap_global_db_path=/opt/dapcash-node/var/lib/global_db -dap_global_db_driver=cdb +dap_global_db_driver=sqlite3 diff --git a/scripts.darwin/create_configs.sh b/scripts.darwin/create_configs.sh old mode 100644 new mode 100755