Skip to content
Snippets Groups Projects
Commit 6060acf5 authored by Dmitriy A. Gerasimov's avatar Dmitriy A. Gerasimov
Browse files

[*] Renames

parent ab0718a0
No related branches found
No related tags found
No related merge requests found
......@@ -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 .)
......
......@@ -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
......
......@@ -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;
......
......@@ -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 *);
......
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