-
dmitriy.gerasimov authoreddf1e73ba
#pragma once
#include <stdbool.h>
#include <time.h>
#include "dap_chain_common.h"
// Set addr for current node
bool dap_db_set_cur_node_addr(uint64_t a_address);
// Get addr for current node
uint64_t dap_db_get_cur_node_addr(void);
// Set last timestamp for remote node
bool dap_db_log_set_last_timestamp_remote(uint64_t a_node_addr, time_t a_timestamp);
// Get last timestamp for remote node
time_t dap_db_log_get_last_timestamp_remote(uint64_t a_node_addr);