-
Notifications
You must be signed in to change notification settings - Fork 4
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
SHARD-1137: Fix getTxTimestampBinary bucket size #349
base: dev
Are you sure you want to change the base?
Conversation
@@ -1811,7 +1811,20 @@ class TransactionConsenus { | |||
nestedCountersInstance.countEvent('consensus', 'get_tx_timestamp found tx timestamp in cacheById') | |||
return tsReceipt | |||
} | |||
|
|||
if (Math.abs(cycleCounter - CycleChain.newest.counter) > 1 ){ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we please add some comments around logic to understand what's happening?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mean in the code or here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allowing some tx from cycle counter +1 and -1 range.
@mgthuramoemyint Phillip mentioned about adding the rate limit in the ticket: |
No description provided.