diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-05 23:13:31 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-06 11:15:43 +0200 |
commit | b26ab0b5803af4ffe23de11a45e43877301a4902 (patch) | |
tree | 084c67e8d2f93ed6ee6fa5629e997d8f7d56ddda /src/blocks/blocks.h | |
parent | Merge pull request #4495 (diff) | |
download | monero-b26ab0b5803af4ffe23de11a45e43877301a4902.tar.xz |
Merge pull request #4472
02d3ef7b blocks: use auto-generated .c files instead of 'LD -r -b binary' (xiphon)
Diffstat (limited to 'src/blocks/blocks.h')
-rw-r--r-- | src/blocks/blocks.h | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/blocks/blocks.h b/src/blocks/blocks.h index ec683f47e..14e391319 100644 --- a/src/blocks/blocks.h +++ b/src/blocks/blocks.h @@ -1,16 +1,12 @@ #ifndef SRC_BLOCKS_BLOCKS_H_ #define SRC_BLOCKS_BLOCKS_H_ -#ifdef __cplusplus -extern "C" { -#endif +#include "cryptonote_config.h" +#include "span.h" -const unsigned char *get_blocks_dat_start(int testnet, int stagenet); -size_t get_blocks_dat_size(int testnet, int stagenet); - -#ifdef __cplusplus +namespace blocks +{ + const epee::span<const unsigned char> GetCheckpointsData(cryptonote::network_type network); } -#endif - #endif /* SRC_BLOCKS_BLOCKS_H_ */ |