Syntax
This commit is contained in:
@@ -263,7 +263,8 @@ static const char *notaries_elected[NUM_KMD_SEASONS][NUM_KMD_NOTARIES][2] =
|
|||||||
//#define PRICES_DAYWINDOW (7)
|
//#define PRICES_DAYWINDOW (7)
|
||||||
//#endif
|
//#endif
|
||||||
|
|
||||||
extern uint8_t ASSETCHAINS_TXPOW,ASSETCHAINS_PUBLIC,ASSETCHAINS_ADAPTIVEPOW;
|
extern uint8_t ASSETCHAINS_TXPOW,ASSETCHAINS_PUBLIC;
|
||||||
|
extern int8_t ASSETCHAINS_ADAPTIVEPOW;
|
||||||
int32_t MAX_BLOCK_SIZE(int32_t height);
|
int32_t MAX_BLOCK_SIZE(int32_t height);
|
||||||
extern char ASSETCHAINS_SYMBOL[KOMODO_ASSETCHAIN_MAXLEN];
|
extern char ASSETCHAINS_SYMBOL[KOMODO_ASSETCHAIN_MAXLEN];
|
||||||
extern uint16_t ASSETCHAINS_P2PPORT,ASSETCHAINS_RPCPORT;
|
extern uint16_t ASSETCHAINS_P2PPORT,ASSETCHAINS_RPCPORT;
|
||||||
|
|||||||
@@ -2433,6 +2433,7 @@ fprintf(stderr,"extralen.%d before disable bits\n",extralen);
|
|||||||
}
|
}
|
||||||
if ( ASSETCHAINS_ADAPTIVEPOW == 0 && (pindex= komodo_activechain(1)) != 0 )
|
if ( ASSETCHAINS_ADAPTIVEPOW == 0 && (pindex= komodo_activechain(1)) != 0 )
|
||||||
{
|
{
|
||||||
|
CBlockIndex *pindex;
|
||||||
if ( pindex->nTime > 1564499104-365*2*1440 )
|
if ( pindex->nTime > 1564499104-365*2*1440 )
|
||||||
{
|
{
|
||||||
ASSETCHAINS_ADAPTIVEPOW = 1;
|
ASSETCHAINS_ADAPTIVEPOW = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user