Commit graph

18 commits

Author SHA1 Message Date
Miha Čančula
243690c67d Small compile fix 2019-09-18 17:19:47 +02:00
Miha Čančula
50932bb5ff Merge branch 'master' into GRPH-50-network_broadcast_api-fix 2019-09-18 15:17:58 +02:00
satyakoneru
3738830d76 GRPH-4 CLI Wallet Crash Fix 2019-09-09 14:30:25 +00:00
Abit
33215ffb6e Merge pull request #21 from pmconrad/variant_fix
Variant fix
2019-08-20 11:25:15 +02:00
pbattu
00efb88ac7 fc changes to support ubuntu-18.04 upgrade 2019-05-21 18:42:14 -03:00
Vikram Rajkumar
0e2b783168 Merge remote-tracking branch 'steem/13-jsonrpc-improvements' 2017-05-21 14:37:31 -05:00
Michael Vandeberg
fa63cd799f Responses contain jsonrpc field and increased readability of errors #13 2017-04-10 11:12:24 -04:00
Vikram Rajkumar
1f41494f36 Merge branch 'master' of github.com:steemit/fc 2017-03-18 11:38:57 -05:00
Michael Vandeberg
7144cdc20b Actually log methods and params #9 2017-01-27 12:07:50 -05:00
elmato
dd36202e74 Replace the call to get_api_by_name with a direct call to the functions that return fc::api<> in the login_api.
If the call to any of this functions succeed (because they where previously enabled),
the api will auto-register itself in the websocket_api_connection/http_api_connection and will return an api_id_type.
2017-01-27 06:03:36 +00:00
Michael Vandeberg
c1a0dca92f Refactor to use cmake build options #9 2017-01-25 11:16:52 -05:00
Michael Vandeberg
0688b7eb64 Time execution of rpc API call and log long executing calls. #9 2017-01-25 10:16:02 -05:00
Vikram Rajkumar
9d383077fa Revert "change json seralization of map<string,T> to be object rather than array of pairs"
This reverts commit a421e28048.
2017-01-13 13:35:48 -06:00
theoreticalbts
cfc53e8b82 Wrap non-FC exceptions thrown by client methods 2016-12-07 15:27:09 -05:00
theoreticalbts
5c1bb56177 Implement modular API support
- Create class `api_base` to be base class of `api<T>`, and `typedef shared_ptr<api_base> api_ptr`
- Create function `api_base::as<T>()` to allow simple downcast to `api<T>`
- Create class `any_api` to contain an API which has been returned from the remote end, but not yet cast with `as<T>`
- `to_generic()` override allowing remote API to return `api_ptr`, thus we need not know the type of the returned API at compile time
- Allow API's to be referenced by name, if we call with a string API name in the JSON the framework calls get_api_by_name on API 1 to determine the API ID
2016-04-04 00:50:56 -04:00
Daniel Larimer
a421e28048 change json seralization of map<string,T> to be object rather than array of pairs 2016-03-17 17:24:25 -04:00
Daniel Larimer
d19f67d94f prevent yielding from catch block 2015-09-14 11:14:52 -04:00
theoreticalbts
7bd47af88e rpc: Move many method implementations from headers to cpp files 2015-06-30 15:54:29 -04:00