Bitcointalk · CryptoPP Assertion Error

中本聪,2010 年 9 月 5 日

SN-2680 已核对来源,附原文与上下文。

阅读语言
中文译文

你大抵可以直接注释掉这一行 cryptopp/secblock.h:187 //assert(false);

好用了告诉我,并留意是否内存泄漏。

它看起来是一个模板类,用来确保派生类定义自己的 allocate 和 deallocate 版本。倘若那真是问题所在、尚且一路带进了发布版,那就太怪了。大抵是虚惊一场。

ORIGINAL · 英文原文
You can probably just comment out the line
cryptopp/secblock.h:187
  //assert(false);

Let me know if it works, and watch if it memory leaks.

It looks like a template class to make sure the derived class defines its own version of allocate and deallocate.  It would be weird if that was the actual problem and it made it all the way to release.  Probably a false alarm.
上下文
← 上一条 SN-2680 · 当前 下一条 → 在档案中查看完整主题串 →
来源
Bitcointalk 原始链接 ↗ 记录编号 SN-2680