Extra room for more processed data
This commit is contained in:
@@ -1555,7 +1555,7 @@ extern std::vector<uint8_t> Mineropret; // opreturn data set by the data gatheri
|
|||||||
#define KOMODO_LOCALPRICE_CACHESIZE 13
|
#define KOMODO_LOCALPRICE_CACHESIZE 13
|
||||||
#define KOMODO_MAXPRICES 2048
|
#define KOMODO_MAXPRICES 2048
|
||||||
#define PRICES_SMOOTHWIDTH 1
|
#define PRICES_SMOOTHWIDTH 1
|
||||||
#define PRICES_MAXDATAPOINTS 3
|
#define PRICES_MAXDATAPOINTS 8
|
||||||
|
|
||||||
#define issue_curl(cmdstr) bitcoind_RPC(0,(char *)"CBCOINBASE",cmdstr,0,0,0)
|
#define issue_curl(cmdstr) bitcoind_RPC(0,(char *)"CBCOINBASE",cmdstr,0,0,0)
|
||||||
|
|
||||||
|
|||||||
@@ -1670,7 +1670,7 @@ void SplitStr(const std::string& strVal, std::vector<std::string> &outVals);
|
|||||||
void komodo_args(char *argv0)
|
void komodo_args(char *argv0)
|
||||||
{
|
{
|
||||||
extern const char *Notaries_elected1[][2];
|
extern const char *Notaries_elected1[][2];
|
||||||
std::string name,addn,hexstr,symbol; char *dirname,fname[512],arg0str[64],magicstr[9]; uint8_t magic[4],extrabuf[8192],disablebits[32],*extraptr=0; FILE *fp; uint64_t val; uint16_t port; int32_t i,nonz=0,baseid,len,n,extralen = 0; uint64_t ccenables[256];
|
std::string name,addn,hexstr,symbol; char *dirname,fname[512],arg0str[64],magicstr[9]; uint8_t magic[4],extrabuf[32756],disablebits[32],*extraptr=0; FILE *fp; uint64_t val; uint16_t port; int32_t i,nonz=0,baseid,len,n,extralen = 0; uint64_t ccenables[256];
|
||||||
IS_KOMODO_NOTARY = GetBoolArg("-notary", false);
|
IS_KOMODO_NOTARY = GetBoolArg("-notary", false);
|
||||||
IS_STAKED_NOTARY = GetArg("-stakednotary", -1);
|
IS_STAKED_NOTARY = GetArg("-stakednotary", -1);
|
||||||
if ( IS_STAKED_NOTARY != -1 && IS_KOMODO_NOTARY == true ) {
|
if ( IS_STAKED_NOTARY != -1 && IS_KOMODO_NOTARY == true ) {
|
||||||
@@ -1817,6 +1817,8 @@ void komodo_args(char *argv0)
|
|||||||
SplitStr(GetArg("-ac_prices",""), ASSETCHAINS_PRICES);
|
SplitStr(GetArg("-ac_prices",""), ASSETCHAINS_PRICES);
|
||||||
for (i=0; i<ASSETCHAINS_PRICES.size(); i++)
|
for (i=0; i<ASSETCHAINS_PRICES.size(); i++)
|
||||||
fprintf(stderr,"%s ",ASSETCHAINS_PRICES[i].c_str());
|
fprintf(stderr,"%s ",ASSETCHAINS_PRICES[i].c_str());
|
||||||
|
if ( ASSETCHAINS_PRICES.size() > 0 )
|
||||||
|
ASSETCHAINS_CBOPRET |= 4;
|
||||||
fprintf(stderr,"%d -ac_prices\n",(int32_t)ASSETCHAINS_PRICES.size());
|
fprintf(stderr,"%d -ac_prices\n",(int32_t)ASSETCHAINS_PRICES.size());
|
||||||
}
|
}
|
||||||
hexstr = GetArg("-ac_mineropret","");
|
hexstr = GetArg("-ac_mineropret","");
|
||||||
|
|||||||
Reference in New Issue
Block a user