Skip to content
Snippets Groups Projects
Commit 83dd6b10 authored by dmitriy.gerasimov's avatar dmitriy.gerasimov
Browse files

Merge branch 'feature-2336a' into 'master'

Feature 2336a

See merge request cellframe/kelvin-node!15
parents bf6737bf 934d009e
No related branches found
No related tags found
1 merge request!15Feature 2336a
...@@ -38,7 +38,7 @@ SET( CPACK_GENERATOR "DEB") ...@@ -38,7 +38,7 @@ SET( CPACK_GENERATOR "DEB")
SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}") SET( CPACK_PACKAGE_NAME "${PROJECT_NAME}")
SET( CPACK_PACKAGE_VERSION_MAJOR 1) SET( CPACK_PACKAGE_VERSION_MAJOR 1)
SET( CPACK_PACKAGE_VERSION_MINOR 2) SET( CPACK_PACKAGE_VERSION_MINOR 2)
SET( CPACK_PACKAGE_VERSION_PATCH 1) SET( CPACK_PACKAGE_VERSION_PATCH 2)
SET( CPACK_SYSTEM_NAME "debian-9.7-amd64") SET( CPACK_SYSTEM_NAME "debian-9.7-amd64")
SET( CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}-${CPACK_PACKAGE_VERSION_PATCH}") SET( CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}-${CPACK_PACKAGE_VERSION_PATCH}")
......
...@@ -15,6 +15,7 @@ Or if you don't clone the project yet, run `git clone --recursive <repo>` to clo ...@@ -15,6 +15,7 @@ Or if you don't clone the project yet, run `git clone --recursive <repo>` to clo
To successfully complete of the build, you must have following prerequisites preinstalled (packages are named as in Debian GNU/Linux 10 "buster", please found the corresponding packages for your distribution): To successfully complete of the build, you must have following prerequisites preinstalled (packages are named as in Debian GNU/Linux 10 "buster", please found the corresponding packages for your distribution):
* libjson-c-dev * libjson-c-dev
* libsqlite3-dev
* libmemcached-dev (for libdap-server-core submodule) * libmemcached-dev (for libdap-server-core submodule)
* libev-dev (for libdap-server-core submodule) * libev-dev (for libdap-server-core submodule)
* libmagic-dev (for libdap-server submodule) * libmagic-dev (for libdap-server submodule)
......
# Kelvin Blockchain: development network
# General section
[general]
id=0x0000000000000001
name=kelvin-testnet
type=development
# Possible values: light, full, archive, master, root
node-role=full
#node-alias=addr-%node%
#node-ipv4=192.168.100.92
gdb_groups_prefix=kelvin-testnet
seed_nodes_ipv4=[195.154.133.160, 62.210.90.227]
seed_nodes_port=[8097, 8097]
seed_nodes_aliases=[kelvin.testnet.root.0,kelvin.testnet.root.1]
seed_nodes_addrs=[ffff::0000::0000::0001,ffff::0000::0000::0002]
[dag-poa]
events-sign-cert=pvt.kelvin.testnet.root.0
[dag-pos]
events-sign-wallet=my_wallet
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
id=0x0000000000000000 id=0x0000000000000000
shard_id=0x0000000000000000 shard_id=0x0000000000000000
name=zerochain name=zerochain
# Possible values [token, emission, transaction]
datum_types=[transaction]
consensus=dag_poa consensus=dag_poa
[files] [files]
...@@ -10,10 +12,11 @@ storage_dir=/opt/kelvin-node/var/lib/network/kelvin-testnet/zerochain/ ...@@ -10,10 +12,11 @@ storage_dir=/opt/kelvin-node/var/lib/network/kelvin-testnet/zerochain/
[dag] [dag]
is_single_line=true is_single_line=true
is_celled=false is_celled=false
is_add_directly=false
datum_add_hashes_count=1 datum_add_hashes_count=1
[dag-poa] [dag-poa]
auth_certs_prefix=kelvin.testnet.root auth_certs_prefix=kelvin.testnet.root
auth_certs_number=7 auth_certs_number=7
auth_certs_number_verify=4 auth_certs_number_verify=1 #4
auth_certs_dir=/opt/kelvin-node/share/ca auth_certs_dir=/opt/kelvin-node/share/ca
[chain] [chain]
id=0x0000000000000001 id=0x0000000000000001
name=plasma name=plasma
# Possible values [token, emission, transaction]
datum_types=[token, emission]
consensus=dag_pos consensus=dag_pos
[dag] [dag]
is_single_line=false is_single_line=false
is_celled=true is_celled=true
is_add_directly=false
datum_add_hashes_count=3 datum_add_hashes_count=3
# Proof-of-State consensus config # Proof-of-State consensus config
......
Subproject commit 85933c820be2c81416848447b82bb8af15a34a5c Subproject commit 6c5dd5a5b0de5573b03ed144c651352467a56101
Subproject commit 1d4a2b526f78ad87bb83d8c4f7004f0e73c76a59 Subproject commit 0b9e1294e4cca6958f7245355fbaeb5b73745d58
Subproject commit ac1e577a5709c2485370c965c5bf9b86be79c70b Subproject commit 6e443de42cf8441fe0fe257320789d01260c4a01
Subproject commit 199665d22328a91309c1aef23a0677d956048d2e Subproject commit 45dd9baa36330ea679f5cbd3e52b4d8a6ae1679b
Subproject commit 63f49e2036b20ef3cf68387db2550b176ff76cfa Subproject commit 84a791174f53f0aee5c2881ef18bc1a117e81933
Subproject commit b93f1aa97fd56f59f1d9a55c8cac9105ca718f6c Subproject commit 70546e34bae06f1023dedbc21282be8cf615d75d
Subproject commit e3b156b3b8b479bb132e4fbaa5a280369b1b55fd Subproject commit 23bf6fd9ae12cdaa17fd4817227f565e88221806
Subproject commit e2037726c32fda74dabfa000c7844a3a23ace5f2 Subproject commit 41543a5eaff387317880fc720b6b32d24eacdfc4
Subproject commit fc2f0f6e239a2bea48f5e77245d7065b1d701ff1 Subproject commit ff9cd2603160aba03c39d44571d18a3bfa04afe4
Subproject commit bdab475c9dfe0ad876cd642a798e1b0b54ca314e Subproject commit 57990d82d6a26e305a7c6fa29cb7fa9d9f532ca9
...@@ -341,7 +341,7 @@ int main( int argc, const char **argv ) ...@@ -341,7 +341,7 @@ int main( int argc, const char **argv )
} }
if ( l_server ) { // If listener server is initialized if ( l_server ) { // If listener server is initialized
bool is_traffick_track_enable = dap_config_get_item_bool_default(g_config, "traffic_track", "enable", false); //bool is_traffick_track_enable = dap_config_get_item_bool_default(g_config, "traffic_track", "enable", false);
#if 0 #if 0
if ( is_traffick_track_enable ) { if ( is_traffick_track_enable ) {
......
...@@ -182,8 +182,12 @@ int main(int argc, const char * argv[]) ...@@ -182,8 +182,12 @@ int main(int argc, const char * argv[])
// command_execution_string = shell_script_filename = (char *) NULL; // command_execution_string = shell_script_filename = (char *) NULL;
dap_common_init(DAP_APP_NAME " Console interface", NULL); dap_common_init(DAP_APP_NAME " Console interface", NULL);
dap_log_level_set(L_CRITICAL ); dap_log_level_set(L_CRITICAL);
dap_config_init( SYSTEM_CONFIG_GLOBAL_FILENAME ); dap_config_init(SYSTEM_CONFIGS_DIR);
if((g_config = dap_config_open(DAP_APP_NAME)) == NULL) {
printf("Can't init general configurations\n");
exit(-1);
}
// connect to node // connect to node
cparam = node_cli_connect(); cparam = node_cli_connect();
if(!cparam) if(!cparam)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment