costbasis calc now only for smoothed val

added costbasis calc for added bets
removed test windows 7
This commit is contained in:
dimxy
2019-04-25 13:15:22 +05:00
parent 58577b64e1
commit 0331607b71
2 changed files with 132 additions and 91 deletions

View File

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