/** What block version to use for new blocks (pre versionbits) */
static const int32_t VERSIONBITS_LAST_OLD_BLOCK_VERSION = 4;
/** What bits to set in version for versionbits blocks */
static const int32_t VERSIONBITS_TOP_BITS = 0x20000000UL;
/** What bitmask determines whether versionbits is in use */
static const int32_t VERSIONBITS_TOP_MASK = 0xE0000000UL;
/** Total bits available for versionbits */
static const int32_t VERSIONBITS_NUM_BITS = 29;
Los 65 y 66 de bip están en los bloques de versión 3 y 4. Pero el último bloque de blockchain es la versión 2. ¿Qué valor debo poner en esto para la actualización cuando se extraen nuevos bloques a la versión 3 y 4?
o necesito cambiar el bip 65 end 66 al mismo bloque ver4, end put value prev block a 2? Como se hace correctamente
static const int32_t VERSIONBITS_LAST_OLD_BLOCK_VERSION = 4;
no es necesario cambiar, para la antigua cadena de bloques es necesario agregar
consensus.BIP65Height = 4; // Block with what start bip if it's old block chain need add block 1,2,3 next block after block chain ( for people update before the this block can be mined.
consensus.BIP66Height = 14; // this to, but + count off blocks in nMinerconfirmationwindow.
consensus.nRuleChangeActivationThreshold = 6; // 75% of 8064
consensus.nMinerConfirmationWindow = 8; //
Los bip finales se activarán después de que se extraiga este conteo de bloques.
¿No puedes responder a esta simple pregunta?
pebwindkraft
andres chow