Martti Malmi 通信

JSON-RPC 进展

中本聪 · 2010 年 2 月 7 日

SN-10147 附来源、原文与上下文。

阅读语言

JSON-RPC 的实现进展顺利。我用 boost::asio 处理套接字。JSON-RPC 可以用普通套接字或 HTTP,但其他大多数实现似乎都用 HTTP,所以我写了自己的简单 HTTP 头。 JSON 解析我用的是 JSON Spirit,它充分使用 STL,一直很好用。它只有头文件,不会增加构建工作,体积也足够小,可以直接放进我们的源代码树。MIT 许可证。再过几天,应该就能全部运行起来了。

The JSON-RPC implementation is going well. I'm using boost::asio for sockets. JSON-RPC can be plain socket or HTTP, but it seems most other implementations are HTTP, so I made my own simple HTTP headers. For JSON parsing I'm using JSON Spirit, which makes full use of STL and has been really nice to use. It's header-only so it's no added build work, and small enough to just add it to our source tree. MIT license. This should all be working in a few more days.

论坛确实发展起来了。我没想到这么快就有这么多活动。

The forum sure is taking off. I didn't expect to have so much activity so fast.

来源

阅读字号

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