Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libdap-chain
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
Commits
6060acf5
Commit
6060acf5
authored
6 years ago
by
Dmitriy A. Gerasimov
Browse files
Options
Downloads
Patches
Plain Diff
[*] Renames
parent
ab0718a0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
dap_chain.c
+0
-8
0 additions, 8 deletions
dap_chain.c
dap_chain.h
+1
-3
1 addition, 3 deletions
dap_chain.h
dap_chain_cs.h
+0
-12
0 additions, 12 deletions
dap_chain_cs.h
with
2 additions
and
24 deletions
CMakeLists.txt
+
1
−
1
View file @
6060acf5
...
...
@@ -31,7 +31,7 @@ set(DAP_CHAIN_HEADERS
add_library
(
${
PROJECT_NAME
}
STATIC
${
DAP_CHAIN_SRCS
}
${
DAP_CHAIN_HEADERS
}
)
target_link_libraries
(
dap_chain dap_core
dap_chain_block dap_chain_block_cs dap_chain_dag dap_chain_dag_cs
dap_chain_crypto
)
target_link_libraries
(
dap_chain dap_core dap_chain_crypto
)
target_include_directories
(
dap_chain INTERFACE .
)
...
...
This diff is collapsed.
Click to expand it.
dap_chain.c
+
0
−
8
View file @
6060acf5
...
...
@@ -265,14 +265,6 @@ void dap_chain_close(dap_chain_t * a_chain)
log_it
(
L_WARNING
,
"Tried to close null pointer"
);
}
/**
* @brief dap_chain_update
* @param l_block_cache
*/
void
dap_chain_update
(
dap_chain_block_cache_t
*
l_block_cache
){
//dap_chain_file_write(l_block_cache);
}
/**
* @brief dap_chain_info_dump_log
...
...
This diff is collapsed.
Click to expand it.
dap_chain.h
+
1
−
3
View file @
6060acf5
...
...
@@ -25,9 +25,7 @@
#pragma once
#include
<stdbool.h>
#include
"dap_chain_block.h"
#include
"dap_chain_block_cache.h"
#include
"dap_chain_common.h"
struct
dap_chain
;
typedef
struct
dap_chain
dap_chain_t
;
...
...
This diff is collapsed.
Click to expand it.
dap_chain_cs.h
+
0
−
12
View file @
6060acf5
...
...
@@ -24,18 +24,6 @@
#pragma once
#include
"dap_chain.h"
#include
"dap_chain_block.h"
#define DAP_CHAIN_CS_TYPE_SIZE 2
typedef
union
dap_chain_cs_type
{
enum
{
DAP_CHAIN_CS_DAG_POA
=
0x0000
,
DAP_CHAIN_CS_BLOCK_POA
=
0xf000
,
DAP_CHAIN_CS_BLOCK_POW
=
0xf001
,
DAP_CHAIN_CS_DAG_HASHGRAPG
=
0x0100
,
DAP_CHAIN_CS_DAG_POH
=
0x0101
,
}
enums
:
16
;
uint8_t
raw
[
DAP_CHAIN_CS_TYPE_SIZE
];
}
dap_chain_cs_type_t
;
typedef
void
(
*
dap_chain_cs_callback_t
)(
dap_chain_t
*
);
...
...
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