mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
fix check if COMMAND_RPC_GET_ALT_BLOCKS_HASHES exists added
This commit is contained in:
parent
68c3d97fd8
commit
160a1abe48
1 changed files with 34 additions and 26 deletions
|
@ -11,6 +11,8 @@
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
namespace
|
namespace
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -42,6 +44,17 @@ namespace
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
namespace cryptonote
|
||||||
|
{
|
||||||
|
// declare struct in monero's cryptonote namespace.
|
||||||
|
// monero should provide definition for this,
|
||||||
|
// but we need to have it declared as we are going to
|
||||||
|
// check if its definition exist or not. depending on this
|
||||||
|
// we decide what gets to be defined as
|
||||||
|
// get_alt_blocks(vector<string>& alt_blocks_hashes);
|
||||||
|
struct COMMAND_RPC_GET_ALT_BLOCKS_HASHES;
|
||||||
|
}
|
||||||
|
|
||||||
namespace xmreg
|
namespace xmreg
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -49,12 +62,7 @@ using namespace cryptonote;
|
||||||
using namespace crypto;
|
using namespace crypto;
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
// declare it. monero should provide definition for this,
|
|
||||||
// but we need to have it declared as we are going to
|
|
||||||
// check if its definition exist or not. depending on this
|
|
||||||
// we decide what gets to be defined as
|
|
||||||
// get_alt_blocks(vector<string>& alt_blocks_hashes);
|
|
||||||
struct COMMAND_RPC_GET_ALT_BLOCKS_HASHES;
|
|
||||||
|
|
||||||
class rpccalls
|
class rpccalls
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue