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

desbordamiento maxBlockCumulativeSize en blockchain.cpp #2

Closed
rigoy22k opened this issue Mar 11, 2018 · 2 comments
Closed

desbordamiento maxBlockCumulativeSize en blockchain.cpp #2

rigoy22k opened this issue Mar 11, 2018 · 2 comments

Comments

@rigoy22k
Copy link
Contributor

INFO Block is too big: 87094 bytes, exptected no more than 86967 bytes
maxBlockCumulativeSize esperado menor a 86967, bloque 87094 bytes
red detenida.

@yerkobits
Copy link
Member

https://github.com/ProsusCorp/prosus/blob/cf8bcd6441605bf1c678260fb28f5b52163f809f/src/CryptoNoteCore/Blockchain.cpp#L1552

bool Blockchain::checkCumulativeBlockSize(const Crypto::Hash& blockId, size_t cumulativeBlockSize, uint64_t height) {
  size_t maxBlockCumulativeSize = m_currency.maxBlockCumulativeSize(height);
  if (cumulativeBlockSize > maxBlockCumulativeSize) {
    logger(INFO, BRIGHT_WHITE) <<
      "Block " << blockId << " is too big: " << cumulativeBlockSize << " bytes, " <<
      "exptected no more than " << maxBlockCumulativeSize << " bytes";
    return false;
  }

@yerkobits
Copy link
Member

Prosus Money v0.7.2-gui

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

No branches or pull requests

2 participants