|
transaction->scriptSig = malloc(scriptSig_len*sizeof(uint8_t)); |
garbage stuff
chance of fail on timestamp<8 bytes
also:
nonce 4294967295 is out of the game coz of where bitcoin authors use autowrap this one use smth else
|
if(startNonce > 4294967294LL) |
autowrap means
uint8_t fifty()
{
uint8_t b=255;
b++;
return b;
}
returns zero.
...and
at least on 64-bit system this stuff
|
sscanf(argv[3], "%lu", (long unsigned int *)&nBits); |
smashes stack .It's not visible there, but may became so (very fast) .
GenesisBlockZero/genesisblock.c
Line 185 in 28a53c1
garbage stuff
chance of fail on timestamp<8 bytes
also:
nonce
4294967295is out of the game coz of where bitcoin authors use autowrap this one use smth elseGenesisBlockZero/genesisblock.c
Line 330 in 28a53c1
autowrap means
returns zero.
...and
at least on 64-bit system this stuff
GenesisBlockZero/genesisblock.c
Line 172 in 28a53c1
smashes stack .It's not visible there, but may became so (very fast) .