diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-08 21:42:38 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-08 21:42:38 +0200 |
commit | f5df0e272e0c0b513c6e24425e169683ad00d55c (patch) | |
tree | ceaa102dbb8b7b485b6750c695c2d0208545583f /src/blocks/blocks.h | |
parent | Merge pull request #4514 (diff) | |
download | monero-f5df0e272e0c0b513c6e24425e169683ad00d55c.tar.xz |
Revert "Merge pull request #4472"
This reverts commit b26ab0b5803af4ffe23de11a45e43877301a4902.
Diffstat (limited to 'src/blocks/blocks.h')
-rw-r--r-- | src/blocks/blocks.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/src/blocks/blocks.h b/src/blocks/blocks.h index 14e391319..ec683f47e 100644 --- a/src/blocks/blocks.h +++ b/src/blocks/blocks.h @@ -1,12 +1,16 @@ #ifndef SRC_BLOCKS_BLOCKS_H_ #define SRC_BLOCKS_BLOCKS_H_ -#include "cryptonote_config.h" -#include "span.h" +#ifdef __cplusplus +extern "C" { +#endif -namespace blocks -{ - const epee::span<const unsigned char> GetCheckpointsData(cryptonote::network_type network); +const unsigned char *get_blocks_dat_start(int testnet, int stagenet); +size_t get_blocks_dat_size(int testnet, int stagenet); + +#ifdef __cplusplus } +#endif + #endif /* SRC_BLOCKS_BLOCKS_H_ */ |