Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes variable type, 1m tps calculations, and start num bug #21

Merged

Conversation

robschleusner
Copy link

@dominant-strategies/core-dev

break
}
}

log.Info("TPS - Batch Object", "currentBlockNum", currentBlock.NumberU64(), "txCount", txCount, "oldestBlockTimeInBatch", oldestBlockTimeInBatch)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Info print ?

batchObject := &BatchObject{
TotalNoTransactions: txCount,
OldestBlockTime: oldestBlockTimeInBatch,
}

// Store the sum in the cache
s.txLookupCache.Add(startBlockNum, batchObject)
log.Info("TPS - just added to cache", "startBlockNum", startBlockNum)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

info print ?

@gameofpointers gameofpointers merged commit de13f31 into gameofpointers:new-release Nov 7, 2023
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants