6f1c76ae14
The [JSON-RPC specification](http://www.jsonrpc.org/specification) allows passing parameters as an Array, for by-position arguments, or an Object, for by-name arguments. This implements by-name arguments, but preserves full backwards compatibility. API using by-name arguments are easier to extend, and easier to use (no need to guess which argument goes where). Named are mapped to positions by a per-call structure, provided through the RPC command table. Missing arguments will be replaced by null, except if at the end, then the argument is left out completely. Currently calls fail (though not crash) on intermediate nulls, but this should be improved on a per-call basis later. |
||
---|---|---|
.. | ||
blockchain.cpp | ||
client.cpp | ||
client.h | ||
mining.cpp | ||
misc.cpp | ||
net.cpp | ||
protocol.cpp | ||
protocol.h | ||
rawtransaction.cpp | ||
register.h | ||
server.cpp | ||
server.h |