mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Recognize ripplerpc 2.0 requests and respond in kind:
* Force jtx to request/receive the 2.0 API * Force the JSON and WebSocket tests to use 2.0 API * This specifically allows the Websocket to create 2.0 json/ripple and get back a 2.0 response. * Add test for malformed json2 * Add check for parse failure * Add check for params to be in array form. * Correct type-o discovered in tests due to stricter checking. * Add API version to the WSClient & JSONRPCClient test * Update source.dox with more headers
This commit is contained in:
committed by
Nik Bougalis
parent
cdf470e68d
commit
2fd0540ed4
@@ -213,6 +213,7 @@ JSS ( ip ); // in: Connect, out: OverlayImpl
|
||||
JSS ( issuer ); // in: RipplePathFind, Subscribe,
|
||||
// Unsubscribe, BookOffers
|
||||
// out: paths/Node, STPathSet, STAmount
|
||||
JSS ( jsonrpc ); // json version
|
||||
JSS ( key ); // out: WalletSeed
|
||||
JSS ( key_type ); // in/out: WalletPropose, TransactionSign
|
||||
JSS ( latency ); // out: PeerImp
|
||||
@@ -350,6 +351,7 @@ JSS ( response ); // websocket
|
||||
JSS ( result ); // RPC
|
||||
JSS ( ripple_lines ); // out: NetworkOPs
|
||||
JSS ( ripple_state ); // in: LedgerEntr
|
||||
JSS ( ripplerpc ); // ripple RPC version
|
||||
JSS ( role ); // out: Ping.cpp
|
||||
JSS ( rt_accounts ); // in: Subscribe, Unsubscribe
|
||||
JSS ( sanity ); // out: PeerImp
|
||||
|
||||
Reference in New Issue
Block a user