{
try
{
- ByteQueue wBytes = new ByteQueue(blockBytes);
+ ByteQueue wBytes = new ByteQueue(ref blockBytes);
// Fill the block header fields
header = new CBlockHeader(wBytes.Get(80));
}
// Check timestamp
- if (header.nTime > NetInfo.FutureDrift(NetInfo.GetAdjustedTime()))
+ if (header.nTime > NetUtils.FutureDrift(NetUtils.GetAdjustedTime()))
{
return false;
}
// Check coinbase timestamp
- if (header.nTime < NetInfo.PastDrift(vtx[0].nTime))
+ if (header.nTime < NetUtils.PastDrift(vtx[0].nTime))
{
return false;
}