-
Notifications
You must be signed in to change notification settings - Fork 5
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
BLUE-150 Created config for the number of cycles to keep shard calculations data #46
Conversation
@@ -98,13 +98,13 @@ | |||
}) | |||
promises.push(promise) | |||
} catch (e) { | |||
Logger.mainLogger.error('Error', e) | |||
Logger.mainLogger.error(`Gossip Error to archiver ${archiver.ip}: ${archiver.port}`, e) |
Check warning
Code scanning / CodeQL
Log injection Medium
user-provided value
const currentCycle = getCurrentCycleCounter() | ||
if (currentCycle - cycle > 2) { | ||
Logger.mainLogger.error( | ||
`Found receipt with cycle older than 2 cycles ${txId}, ${cycle}, ${timestamp}, ${currentCycle}` |
Check warning
Code scanning / CodeQL
Log injection Medium
user-provided value
c878612
to
5d2b01e
Compare
unsubscribeDataSender(sender.nodeInfo.publicKey) | ||
return | ||
} | ||
Logger.mainLogger.debug(`RECEIVED ACCOUNTS DATA FROM ${sender.nodeInfo.ip}:${sender.nodeInfo.port}`) |
Check warning
Code scanning / CodeQL
Log injection Medium
user-provided value
if (getCurrentCycleCounter() > GENESIS_ACCOUNTS_CYCLE_RANGE.endCycle) { | ||
Logger.mainLogger.error( | ||
'Account data is not meant to be received after the genesis accounts cycle range', | ||
getCurrentCycleCounter() |
Check warning
Code scanning / CodeQL
Log injection Medium
user-provided value
This reverts commit 776a128.
…a to the archiver during early cycles - Remove accounts transformation used in account verification
5d2b01e
to
dddd88a
Compare
No description provided.