|
|
|
@ -11,6 +11,8 @@
|
|
|
|
|
#include <mutex>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
@ -49,12 +62,7 @@ using namespace cryptonote;
|
|
|
|
|
using namespace crypto;
|
|
|
|
|
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
|
|
|
|
|
{
|
|
|
|
|