Commit graph

78 commits

Author SHA1 Message Date
Peter Conrad
406f1bdd61 Remove unused json_connection 2019-04-04 17:59:51 +02:00
Peter Conrad
d5b817817a Remove unused bstate 2019-04-04 17:59:51 +02:00
Peter Conrad
579914c84d Removed unused stuff 2019-04-04 17:59:51 +02:00
Valera Cogut
079de9e177 Check if boost::regex is empty 2018-10-30 22:05:31 +02:00
Valera Cogut
157273fb40 Check if exists regex expression 2018-10-30 11:46:57 +02:00
Valera Cogut
edd6fa8ded Removed pointer for regex expression 2018-10-27 19:06:24 +03:00
Valera Cogut
44896485d1 Optimized regex expression and other little improvements 2018-10-25 23:52:36 +03:00
Valera Cogut
e00bbdaf72 removed not required output to console 2018-10-25 00:01:43 +03:00
Valera Cogut
c9d95c0c9a Safer way to handle unlock command of cli_wallet #1171 2018-10-25 00:01:43 +03:00
Valera Cogut
ec41a06300 reverting throw exception instead of raising SIGINT in order not to terminate cli_test early 2018-07-30 17:53:57 +03:00
Valera Cogut
40d928e57c raise SIGINT instead of throwing exception in cli_wallet quit command 2018-07-30 16:48:37 +03:00
Valera Cogut
18206552fc throwing fc:canceled_exception for quit cli wallet command 2018-07-20 16:44:31 +03:00
Valera Cogut
535fc869b5 remove hard coded method check to result check from quit command 2018-07-19 09:49:03 +03:00
Valera Cogut
0486a5f1e9 fixed issue #1050 2018-07-19 09:49:03 +03:00
Peter Conrad
81c8d89341 Added max_depth parameter to variant conversions 2018-03-13 22:00:18 +01:00
Peter Conrad
fca5058464
Merge branch 'master' into sanitize 2018-03-13 21:39:40 +01:00
John Jones
9ee2bcf0a5 avoid double free 2018-03-08 11:05:34 -05:00
John Jones
2017ed911a fix memory leak 2018-03-08 10:46:23 -05:00
John Jones
43b81cb69b assuring that malloc gets freed 2018-03-08 07:40:20 -05:00
John Jones
5b5190a55c changed const to const ref 2018-03-07 09:44:35 -05:00
John Jones
b3053d0421 adjust spacing, add const, remove unnecessary variable, bad malloc check 2018-03-07 02:55:59 -05:00
John Jones
c225488cd4 replace tabs with spaces 2018-03-06 17:17:09 -05:00
John Jones
1fe7d4be46 Trying to get the #$%@$ tabs to disappear 2018-03-06 11:44:00 -05:00
John Jones
f5d68e9336 Adjusting for formatting guidelines 2018-03-06 09:25:38 -05:00
John Jones
5f3ace5ca3 Added space at end of completed command 2018-03-06 08:06:18 -05:00
John Jones
e766ea9429 correctly handle list of methods 2018-03-05 14:37:14 -05:00
John Jones
046c65016b Replaced tab with spaces 2018-02-26 16:54:32 -05:00
John Jones
9d5a32c536 Moved assignment from within a loop 2018-02-26 16:47:38 -05:00
John Jones
79cf3d2b3a code cleanup 2018-02-26 16:43:54 -05:00
John Jones
abb4b9b0ab Added editline as submodule 2018-02-20 15:18:47 -05:00
Alexey Frolov
5138c58e09 sanitize, remove warnings 2018-02-02 15:29:46 +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
Daniel Larimer
e8e26838cc first step toward binary RPC 2016-07-30 18:41:03 -04: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
6495004302 move potential yields outside of catch 2015-10-09 17:08:03 -04:00
Daniel Larimer
d19f67d94f prevent yielding from catch block 2015-09-14 11:14:52 -04:00
Eric Frias
a31f0f503d Fix compile error when readline not available 2015-07-27 12:08:28 -04:00
Daniel Larimer
e9eeb3300c adding tab completion to CLI 2015-07-27 09:11:20 -04:00
theoreticalbts
7bd47af88e rpc: Move many method implementations from headers to cpp files 2015-06-30 15:54:29 -04:00
Daniel Larimer
a3c284408e make CLI prompt configurable 2015-05-18 13:40:01 -04:00
Daniel Larimer
3599850bb9 Merge commit '72288a2' 2015-05-04 14:07:51 -04:00