Test
This commit is contained in:
@@ -723,6 +723,9 @@ int32_t komodo_grandfathered(uint32_t locktime)
|
||||
1488740061, 1489381998, 1489368980, 1489394298, 1489379223, 1489373356, 1489381621, 1489385381,
|
||||
1489383213, 1489419739, 1489381922, 1489511155, 1489372632, 1489519630, 1489683097, 1489695388,
|
||||
1489817053, 1489814059, 1489958883, 1490112310, 1490112397, 1490116047, 1490114274
|
||||
komodo_validate_interest reject locktime 1477252992/0 vs nBlockTime 1477262652 tiptime.1477262652
|
||||
komodo_validate_interest reject locktime 1477253223/0 vs nBlockTime 1477262652 tiptime.1477262652
|
||||
komodo_validate_interest reject locktime 1477256283/0 vs nBlockTime 1477262652 tiptime.1477262652
|
||||
};
|
||||
int32_t i;
|
||||
if ( locktime <= grandfathered[sizeof(grandfathered)/sizeof(*grandfathered) - 1] )
|
||||
@@ -902,7 +905,7 @@ int32_t komodo_validate_interest(const CTransaction& tx)
|
||||
tiptime = chainActive.Tip()->nTime;
|
||||
if ( (int64_t)tx.nLockTime < tiptime-3600 )
|
||||
{
|
||||
if ( komodo_grandfathered(locktime) < 0 )
|
||||
if ( komodo_grandfathered(tx.nLockTime) < 0 )
|
||||
{
|
||||
fprintf(stderr,"komodo_validate_interest reject locktime %u/%u vs nBlockTime %u tiptime.%u\n",(uint32_t)tx.nLockTime,locktime,(uint32_t)chainActive.Tip()->nTime,tiptime);
|
||||
return(-1);
|
||||
|
||||
Reference in New Issue
Block a user