From 3a61fed411420928260a4b85c2988ecff8443006 Mon Sep 17 00:00:00 2001 From: Roman Khlopkov <roman.khlopkov@demlabs.net> Date: Thu, 16 Mar 2023 18:22:36 +0300 Subject: [PATCH 01/16] [*] Stake lock double-spending prevent --- cellframe-sdk | 2 +- version.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cellframe-sdk b/cellframe-sdk index 1a9952e1f..7069d53ad 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit 1a9952e1fc3b076d72b3eb58aa6c14bd07a9686a +Subproject commit 7069d53ad2ca4896aa772292614ec508b75e77bf diff --git a/version.mk b/version.mk index 7d02dabdb..5ba2b4fcf 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ VERSION_MAJOR=5 VERSION_MINOR=1 -VERSION_PATCH=370 +VERSION_PATCH=371 -- GitLab From 7b9a5c0bc1c0b533e66cedbf591afeae3a99e11d Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Fri, 17 Mar 2023 16:25:52 +0700 Subject: [PATCH 02/16] ... --- cellframe-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cellframe-sdk b/cellframe-sdk index 7069d53ad..b8bf453fc 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit 7069d53ad2ca4896aa772292614ec508b75e77bf +Subproject commit b8bf453fc03ecd13284df6ea13f86a3aac1bd0e9 -- GitLab From 2cfe9c668b9256a1515040aaa49525c31f3a6131 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Mon, 20 Mar 2023 18:26:31 +0700 Subject: [PATCH 03/16] Uplink addr ouput --- cellframe-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cellframe-sdk b/cellframe-sdk index b8bf453fc..8d35a57ec 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit b8bf453fc03ecd13284df6ea13f86a3aac1bd0e9 +Subproject commit 8d35a57ec2f7519f026d2d3c1966242e46c8bb36 -- GitLab From bcae3047b4522e52480b9f9572c12c11a157c83b Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Tue, 21 Mar 2023 14:25:33 +0700 Subject: [PATCH 04/16] ... --- cellframe-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cellframe-sdk b/cellframe-sdk index 8d35a57ec..b03909b03 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit 8d35a57ec2f7519f026d2d3c1966242e46c8bb36 +Subproject commit b03909b03eceede25e069af5bece955eecc9c0db -- GitLab From 349905d91095e9a01b8e1a8c4f84ae671287fa13 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Tue, 21 Mar 2023 14:34:07 +0700 Subject: [PATCH 05/16] ... --- version.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.mk b/version.mk index 5ba2b4fcf..c85f0e564 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ VERSION_MAJOR=5 VERSION_MINOR=1 -VERSION_PATCH=371 +VERSION_PATCH=372 -- GitLab From 2e0b601d98974d15a879c9ac6ff967c3a1d490a6 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Tue, 21 Mar 2023 15:53:08 +0700 Subject: [PATCH 06/16] ... --- cellframe-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cellframe-sdk b/cellframe-sdk index b03909b03..3b696bf4e 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit b03909b03eceede25e069af5bece955eecc9c0db +Subproject commit 3b696bf4e4eefc351c782f54e569d7d01cbbc753 -- GitLab From 101d347bf987031ec1b941100e59a6bd50037568 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Tue, 21 Mar 2023 15:53:30 +0700 Subject: [PATCH 07/16] ... --- version.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.mk b/version.mk index c85f0e564..e5206e183 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ VERSION_MAJOR=5 VERSION_MINOR=1 -VERSION_PATCH=372 +VERSION_PATCH=373 -- GitLab From 7066e4d088c0d38a41d45caf65a46a69aacec5c7 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Tue, 21 Mar 2023 17:59:42 +0700 Subject: [PATCH 08/16] ... --- sources/main.c | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/sources/main.c b/sources/main.c index 7315b037a..ec73293eb 100755 --- a/sources/main.c +++ b/sources/main.c @@ -373,6 +373,23 @@ int main( int argc, const char **argv ) return -68; } +#ifndef _WIN32 + if (sig_unix_handler_init(dap_config_get_item_str_default(g_config, + "resources", + "pid_path", + "/tmp")) != 0) { + log_it(L_CRITICAL,"Can't init sig unix handler module"); + return -12; + } + save_process_pid_in_file(s_pid_file_path); +#else + if ( sig_win32_handler_init( NULL ) ) { + log_it( L_CRITICAL,"Can't init sig win32 handler module" ); + return -12; + } +#endif + + dap_chain_net_load_all(); #if defined(DAP_OS_LINUX) && ! defined (DAP_OS_ANDROID) // vpn server @@ -396,24 +413,6 @@ int main( int argc, const char **argv ) } #endif -#ifndef _WIN32 - if (sig_unix_handler_init(dap_config_get_item_str_default(g_config, - "resources", - "pid_path", - "/tmp")) != 0) { - log_it(L_CRITICAL,"Can't init sig unix handler module"); - return -12; - } - save_process_pid_in_file(s_pid_file_path); -#else - if ( sig_win32_handler_init( NULL ) ) { - log_it( L_CRITICAL,"Can't init sig win32 handler module" ); - return -12; - } -#endif - - dap_chain_net_load_all(); - log_it(L_INFO, "Automatic mempool processing %s", dap_chain_node_mempool_autoproc_init() ? "enabled" : "disabled"); -- GitLab From c2097bf7c846656486ab970c87a6624153ad9b26 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Wed, 22 Mar 2023 13:20:52 +0700 Subject: [PATCH 09/16] ... --- cellframe-sdk | 2 +- version.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cellframe-sdk b/cellframe-sdk index 3b696bf4e..c31f6a6ae 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit 3b696bf4e4eefc351c782f54e569d7d01cbbc753 +Subproject commit c31f6a6aeb2b44dafea184200bb792829f46006b diff --git a/version.mk b/version.mk index e5206e183..a1a8edd3c 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ VERSION_MAJOR=5 VERSION_MINOR=1 -VERSION_PATCH=373 +VERSION_PATCH=374 -- GitLab From 3669e32ca269c9bb2c266fd20ab6a5e533f5e8f7 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Wed, 22 Mar 2023 18:32:21 +0700 Subject: [PATCH 10/16] ... --- cellframe-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cellframe-sdk b/cellframe-sdk index c31f6a6ae..e716a39ec 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit c31f6a6aeb2b44dafea184200bb792829f46006b +Subproject commit e716a39ece43f9afc3046fc23f2fa0a899581703 -- GitLab From 8edf57fd9207710b035015a0224d43cc7f9fda3d Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Thu, 23 Mar 2023 14:30:34 +0700 Subject: [PATCH 11/16] ... --- cellframe-sdk | 2 +- version.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cellframe-sdk b/cellframe-sdk index e716a39ec..b4cc2dba9 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit e716a39ece43f9afc3046fc23f2fa0a899581703 +Subproject commit b4cc2dba981915c77608ef185aa5e24e1c9e95b4 diff --git a/version.mk b/version.mk index a1a8edd3c..1423f78bc 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ VERSION_MAJOR=5 VERSION_MINOR=1 -VERSION_PATCH=374 +VERSION_PATCH=375 -- GitLab From cf58d7a43816065f3c01c6beaccfaeef3a97cdbb Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Thu, 23 Mar 2023 16:26:10 +0700 Subject: [PATCH 12/16] ... --- cellframe-sdk | 2 +- version.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cellframe-sdk b/cellframe-sdk index b4cc2dba9..bdeb9ee34 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit b4cc2dba981915c77608ef185aa5e24e1c9e95b4 +Subproject commit bdeb9ee3458976dbf48c5a967fbebced2f842340 diff --git a/version.mk b/version.mk index 1423f78bc..fab4596cc 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ VERSION_MAJOR=5 VERSION_MINOR=1 -VERSION_PATCH=375 +VERSION_PATCH=376 -- GitLab From ed3a4838bbad7b51d586daa706964bd6f41f6a91 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Fri, 24 Mar 2023 16:07:01 +0700 Subject: [PATCH 13/16] Token ticker reknown --- cellframe-sdk | 2 +- version.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cellframe-sdk b/cellframe-sdk index bdeb9ee34..cdd3a43d7 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit bdeb9ee3458976dbf48c5a967fbebced2f842340 +Subproject commit cdd3a43d7802b31a615acf32fae50295de122681 diff --git a/version.mk b/version.mk index fab4596cc..c741666bb 100644 --- a/version.mk +++ b/version.mk @@ -1,3 +1,3 @@ VERSION_MAJOR=5 VERSION_MINOR=1 -VERSION_PATCH=376 +VERSION_PATCH=377 -- GitLab From b003835648d62075c985a33037fc9a20a0a63dac Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Fri, 24 Mar 2023 16:09:31 +0700 Subject: [PATCH 14/16] ... --- cellframe-sdk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cellframe-sdk b/cellframe-sdk index cdd3a43d7..d7bce7efb 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit cdd3a43d7802b31a615acf32fae50295de122681 +Subproject commit d7bce7efbef02a44b5c91b03d98bf8c5e6cb163f -- GitLab From fdd16fbb0af2108dfedff6502d3c0ef80aacd4ef Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Fri, 24 Mar 2023 16:19:29 +0700 Subject: [PATCH 15/16] ... --- python-cellframe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-cellframe b/python-cellframe index 88df88a67..7af405922 160000 --- a/python-cellframe +++ b/python-cellframe @@ -1 +1 @@ -Subproject commit 88df88a673fe5af91694d395691b851499c978f4 +Subproject commit 7af4059222c55f710e9440643c89d96d82586503 -- GitLab From 78a2b1f6de84563775189950bb63a57361929484 Mon Sep 17 00:00:00 2001 From: Constantin <papizh.konstantin@demlabs.net> Date: Fri, 24 Mar 2023 18:42:57 +0700 Subject: [PATCH 16/16] ... --- cellframe-sdk | 2 +- python-cellframe | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cellframe-sdk b/cellframe-sdk index d7bce7efb..4207cb36a 160000 --- a/cellframe-sdk +++ b/cellframe-sdk @@ -1 +1 @@ -Subproject commit d7bce7efbef02a44b5c91b03d98bf8c5e6cb163f +Subproject commit 4207cb36a7c3d34f029209b04e0343f2ba832bc7 diff --git a/python-cellframe b/python-cellframe index 7af405922..cf08443a1 160000 --- a/python-cellframe +++ b/python-cellframe @@ -1 +1 @@ -Subproject commit 7af4059222c55f710e9440643c89d96d82586503 +Subproject commit cf08443a152ba068f28a1e3f6912ef9cace596ac -- GitLab