if TESTMODE PRICES_DAYWINDOW=3

This commit is contained in:
dimxy
2019-04-21 21:01:02 +05:00
parent 82c6560374
commit efec12bcf5
3 changed files with 10 additions and 1 deletions

View File

@@ -38,7 +38,12 @@
#define KOMODO_MAXNVALUE (((uint64_t)1 << 63) - 1)
#define KOMODO_BIT63SET(x) ((x) & ((uint64_t)1 << 63))
#define KOMODO_VALUETOOBIG(x) ((x) > (uint64_t)10000000001*COIN)
#ifndef TESTMODE
#define PRICES_DAYWINDOW ((3600*24/ASSETCHAINS_BLOCKTIME) + 1)
#else
#define PRICES_DAYWINDOW (3)
#endif
extern uint8_t ASSETCHAINS_TXPOW,ASSETCHAINS_PUBLIC;
int32_t MAX_BLOCK_SIZE(int32_t height);