SETBIT
This commit is contained in:
@@ -30,6 +30,10 @@
|
|||||||
#define KOMODO_SAPLING_DEADLINE 1550188800 // Feb 15th, 2019
|
#define KOMODO_SAPLING_DEADLINE 1550188800 // Feb 15th, 2019
|
||||||
#define _COINBASE_MATURITY 100
|
#define _COINBASE_MATURITY 100
|
||||||
|
|
||||||
|
#define SETBIT(bits,bitoffset) (((uint8_t *)bits)[(bitoffset) >> 3] |= (1 << ((bitoffset) & 7)))
|
||||||
|
#define GETBIT(bits,bitoffset) (((uint8_t *)bits)[(bitoffset) >> 3] & (1 << ((bitoffset) & 7)))
|
||||||
|
#define CLEARBIT(bits,bitoffset) (((uint8_t *)bits)[(bitoffset) >> 3] &= ~(1 << ((bitoffset) & 7)))
|
||||||
|
|
||||||
extern uint8_t ASSETCHAINS_TXPOW,ASSETCHAINS_PUBLIC;
|
extern uint8_t ASSETCHAINS_TXPOW,ASSETCHAINS_PUBLIC;
|
||||||
int32_t MAX_BLOCK_SIZE(int32_t height);
|
int32_t MAX_BLOCK_SIZE(int32_t height);
|
||||||
|
|
||||||
|
|||||||
@@ -1786,7 +1786,7 @@ void komodo_args(char *argv0)
|
|||||||
if ( ccenables[i] != 0 )
|
if ( ccenables[i] != 0 )
|
||||||
{
|
{
|
||||||
nonz++;
|
nonz++;
|
||||||
fprintf(stderr,"%d ",ccenables[i]);
|
fprintf(stderr,"%d ",(uint8_t)(ccenables[i] & 0xff));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fprintf(stderr,"nonz.%d ccenables[]\n",nonz);
|
fprintf(stderr,"nonz.%d ccenables[]\n",nonz);
|
||||||
|
|||||||
Reference in New Issue
Block a user