Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain-cs-block-pow
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
cellframe
libdap-chain-cs-block-pow
Commits
8c59630d
Commit
8c59630d
authored
6 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[+] Init/deinit template
parent
c2fc0615
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
dap_chain_block_cs_pow.c
+38
-0
38 additions, 0 deletions
dap_chain_block_cs_pow.c
dap_chain_block_cs_pow.h
+26
-0
26 additions, 0 deletions
dap_chain_block_cs_pow.h
with
65 additions
and
1 deletion
CMakeLists.txt
+
1
−
1
View file @
8c59630d
...
...
@@ -12,7 +12,7 @@ set(DAP_CHAIN_BLOCK_CS_POW_HEADERS
add_library
(
${
PROJECT_NAME
}
STATIC
${
DAP_CHAIN_BLOCK_CS_POW_SRCS
}
${
DAP_CHAIN_BLOCK_CS_POW_HEADERS
}
)
target_link_libraries
(
dap_chain_block_cs_pow dap_core dap_crypto dap_chain dap_chain_crypto dap_chain_
crypto
_cs
)
target_link_libraries
(
dap_chain_block_cs_pow dap_core dap_crypto dap_chain dap_chain_crypto dap_chain_
block
_cs
)
target_include_directories
(
dap_chain_block_cs_pow INTERFACE .
)
set
(
${
PROJECT_NAME
}
_DEFINITIONS CACHE INTERNAL
"
${
PROJECT_NAME
}
: Definitions"
FORCE
)
...
...
This diff is collapsed.
Click to expand it.
dap_chain_block_cs_pow.c
+
38
−
0
View file @
8c59630d
/*
* Authors:
* Dmitriy A. Gearasimov <gerasimov.dmitriy@demlabs.net>
* DeM Labs Inc. https://demlabs.net
* Kelvin Project https://github.com/kelvinblockchain
* Copyright (c) 2017-2018
* All rights reserved.
This file is part of DAP (Deus Applications Prototypes) the open source project
DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
DAP is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with any DAP based project. If not, see <http://www.gnu.org/licenses/>.
*/
#include
"dap_common.h"
#include
"dap_chain_block_cs_pow.h"
#define LOG_TAG "chain_block_cs_pow"
int
dap_chain_block_cs_pow_init
()
{
return
0
;
}
void
dap_chain_block_cs_pow_deinit
()
{
}
This diff is collapsed.
Click to expand it.
dap_chain_block_cs_pow.h
+
26
−
0
View file @
8c59630d
/*
* Authors:
* Dmitriy A. Gearasimov <gerasimov.dmitriy@demlabs.net>
* DeM Labs Inc. https://demlabs.net
* Kelvin Project https://github.com/kelvinblockchain
* Copyright (c) 2017-2018
* All rights reserved.
This file is part of DAP (Deus Applications Prototypes) the open source project
DAP (Deus Applicaions Prototypes) is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
DAP is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with any DAP based project. If not, see <http://www.gnu.org/licenses/>.
*/
#pragma once
int
dap_chain_block_cs_pow_init
();
void
dap_chain_block_cs_pow_deinit
();
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment