Test
This commit is contained in:
@@ -736,8 +736,11 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
|
|||||||
return(0);
|
return(0);
|
||||||
// f9510bbd58f90ea133653005a6e3087779fd838317518ba63cce2b0fc381dff6 1337
|
// f9510bbd58f90ea133653005a6e3087779fd838317518ba63cce2b0fc381dff6 1337
|
||||||
// 7b6e26d9ffbb7cc1b71185c38906b71632324d1c9df3a2596d09e1353a714c27 1338
|
// 7b6e26d9ffbb7cc1b71185c38906b71632324d1c9df3a2596d09e1353a714c27 1338
|
||||||
if ( baseid == USD && (height <= 2200 || height == 3282 || height == 3328 || height == 3468) )
|
if ( baseid == USD )
|
||||||
|
{
|
||||||
|
if ( (height < 4000 && (len == 48897 || len == 9474)) || (height <= 2200 || height == 3282 || height == 3328 || height == 3468) )
|
||||||
return(0);
|
return(0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if ( script[offset] == opcode && opretlen < block.vtx[0].vout[n-1].scriptPubKey.size() )
|
if ( script[offset] == opcode && opretlen < block.vtx[0].vout[n-1].scriptPubKey.size() )
|
||||||
{
|
{
|
||||||
@@ -831,6 +834,9 @@ int32_t komodo_check_deposit(int32_t height,const CBlock& block) // verify above
|
|||||||
}
|
}
|
||||||
if ( overflow != 0 || total > COIN/10 )
|
if ( overflow != 0 || total > COIN/10 )
|
||||||
{
|
{
|
||||||
|
for (i=0; i<opretlen&&i<100; i++)
|
||||||
|
printf("%02x",script[i]);
|
||||||
|
printf(" script.[%d] ",opretlen);
|
||||||
for (i=0; i<n; i++)
|
for (i=0; i<n; i++)
|
||||||
printf("%.8f ",dstr(block.vtx[0].vout[i].nValue));
|
printf("%.8f ",dstr(block.vtx[0].vout[i].nValue));
|
||||||
printf("no opreturn entries to check ht.%d\n",height);
|
printf("no opreturn entries to check ht.%d\n",height);
|
||||||
|
|||||||
Reference in New Issue
Block a user