CryptoPP 断言错误

中本聪SN-2680

你大概可以直接注释掉这一行

You can probably just comment out the line

cryptopp/secblock.h:187

cryptopp/secblock.h:187

//assert(false);

//assert(false);

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

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

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

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.

上下文
译文校对、修订与纠错

当前版本尚未建立逐条校对状态记录。来源核验、历史审校与当前译文校对是不同事项。

查看历史审校与代表修订 →

译文内容版本:817dbdf7183d。用于比对文本,不代表校对等级或更新时间。

准备纠错说明

请填写对应原文、现译文、建议译法和理由。复制后通过你联系本站作者的渠道提交;此处不会自动发送。

来源
英文原标题

CryptoPP Assertion Error

Bitcointalk · 原始链接 ↗ 记录编号 SN-2680

阅读字号

选择适合你的字号,之后阅读会继续使用。