Protocol

比特幣使用哪個版本的 JSON-RPC 協議?

  • February 10, 2013

我想澄清一下比特幣使用哪個版本的 JSON-RPC 協議?1.0 還是 2.0?

兩者都有一點:

//
// JSON-RPC protocol.  Bitcoin speaks version 1.0 for maximum compatibility,
// but uses JSON-RPC 1.1/2.0 standards for parts of the 1.0 standard that were
// unspecified (HTTP errors and contents of 'error').
//
// 1.0 spec: http://json-rpc.org/wiki/specification
// 1.2 spec: http://groups.google.com/group/json-rpc/web/json-rpc-over-http
// http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx
//

引用自:https://bitcoin.stackexchange.com/questions/7541