Commit graph

820 commits

Author SHA1 Message Date
Valera Cogut
40d928e57c raise SIGINT instead of throwing exception in cli_wallet quit command 2018-07-30 16:48:37 +03:00
Peter Conrad
5469bb960a
Merge pull request #63 from cogutvalera/valera_issue_1050
add quit command to cli_wallet #1050
2018-07-25 16:42:33 +02:00
John M. Jones
7080cf44ac
Merge pull request #66 from bitshares/jmj_stacktrace
Add missing header
2018-07-25 05:20:33 -05:00
Abit
f1e48d392e
Merge pull request #56 from nanomobile/valera_issue_809
Log file of current hour gets overwritten by default #809
2018-07-25 00:11:29 +00:00
jmjatlanta
2105bc0ee7 Add header 2018-07-23 19:50:54 -05: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
Valera Cogut
ee25279db6 added idump for websocket_tls_server_impl 2018-07-17 20:50:32 +03:00
Valera Cogut
da5f2c3914 fixed issue #929 2018-07-17 20:50:32 +03:00
Valera Cogut
1169c2d966 removed using statement from header file 2018-07-17 19:46:43 +03:00
Valera Cogut
20724f7ecc fixed issue #809 2018-07-09 17:17:32 +03:00
cwyy
ac982cae2a fix compile error with vs2017 and boost 1.67 2018-06-30 14:10:38 +08:00
John Jones
59f503d643 adjust asserts in fc/crypto 2018-06-01 19:00:48 -05:00
Alfredo Garcia
0a90eff697
Merge pull request #7 from bitshares/openssl-1.1-support
Openssl 1.1 support
2018-05-31 17:32:21 -03:00
Peter Conrad
0fc569cbfc Remove unused "smaz" compression 2018-05-29 16:36:31 +02:00
John M. Jones
0d689a4894
Remove hard coded number of IO threads (#47)
This allows for control of the number of IO threads before their creation
2018-05-16 09:44:23 -07:00
Peter Conrad
f0dfc64261 Fixed diffie-hellman shared key computation 2018-05-10 15:24:04 +02:00
John Jones
3661e835f8 Removed unused parameter 2018-05-04 11:05:20 -05:00
John Jones
58ef1c2c5d Merge remote-tracking branch 'upstream/master' into Issue_socket 2018-05-04 07:40:05 -05:00
Peter Conrad
a3272e4f9e Ripped out unused blinding stuff 2018-04-26 17:35:45 +02:00
Abit
51688042b0
Merge pull request #38 from jmjatlanta/Issue_727c
Add Boost::Stacktrace to Bitshares
2018-04-26 12:39:34 +02:00
Peter Conrad
fccabf1eb6 Fixed blinding test + implementation 2018-04-21 21:42:45 +02:00
Peter Conrad
5706d58cdc Fixed DH memory handling with openssl-1.1 2018-04-21 20:39:40 +02:00
Fabian Schuh
c0db16bf3b Fix erros in unittest 2018-04-13 11:28:51 +02:00
Fabian Schuh
ef27d4b3a1 Initial work for openssl-1.1 support 2018-04-12 14:58:13 +02:00
Nathan Hourt
13d98e2cad Add OpenSSL 1.1.0 support
These changes should add support for openssl 1.1.0 while maintaining
compatibility with 1.0.2
2018-04-12 14:58:13 +02:00
John Jones
7db8176624 Moved headers within #if macro for cleanliness 2018-04-09 17:29:57 -05:00
John Jones
133fe62048 Add comment to clarify 2 sections of code. 2018-04-09 08:59:58 -05:00
John Jones
a6738e3265 Added boost stacktrace to segfault handler 2018-04-09 08:11:38 -05:00
John Jones
b01ddeb35f Merge remote-tracking branch 'upstream/master' into boost_1.66 2018-04-09 07:35:08 -05:00
John M. Jones
18640e46e3
Add special handling for mac size_t and variant (#35) 2018-04-02 14:23:31 -05:00
John Jones
652389644c removed boost_1.51 and interprocess class 2018-03-28 11:38:20 -05:00
John Jones
f84de73e66 added test to demonstrate issue 2018-03-23 17:34:07 -05:00
abitmore
f92671e1b5 Try to avoid throwing exception when logging 2018-03-23 13:19:52 -04:00
Peter Conrad
a91822616e Added max_depth to remaining variant conversions 2018-03-18 10:49:44 +01:00
Peter Conrad
2f5f599e0d Moved LOG_*_DEPTH variable to new config.hpp 2018-03-13 22:33:21 +01: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
Abit
67e60367a5
Merge pull request #15 from pmconrad/json_parsing_fix
JSON parsing fix from steem PR 2178
2018-03-13 21:36:15 +01:00
Peter Conrad
527daab6b7 Moved format_string from variant.cpp to string.cpp (it is declared in string.hpp), added handling of recursion errors 2018-03-09 18:52:01 +01:00
Peter Conrad
1331485c08 Stringify numbers >MAXINT or <MININT 2018-03-08 22:33:54 +01:00
Peter Conrad
f9802f6860 Added max_depth parameter to all to_/from_ methods 2018-03-08 22:33:41 +01:00
Peter Conrad
1412df18d1 Make broken_nul_parser usable 2018-03-08 22:33:27 +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
Peter Conrad
66ed9fc3dc Minor fixes 2018-03-07 22:42:43 +01:00
John Jones
5b5190a55c changed const to const ref 2018-03-07 09:44:35 -05:00
Peter Conrad
2bacd5fda8 Added broken_nul_parser to preserve previous behaviour 2018-03-07 15:44:18 +01:00
Peter Conrad
90137d400d Fix for recursion depth limitation 2018-03-07 15:44:10 +01:00
Peter Conrad
1ae3cc2fad Make unused parsers compile-time optional 2018-03-07 15:43:14 +01:00
Peter Conrad
43fabf618f Code deduplication 2018-03-07 15:42:46 +01:00
Peter Conrad
e37d9a5051 Code cleanups and simplifications 2018-03-07 15:42:35 +01: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
Peter Conrad
4d782e894f Deduplicate some code 2018-03-06 14:46:34 +01:00
Peter Conrad
52f6810735 Fixed from_file 2018-03-06 14:46:20 +01: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
Peter Conrad
bbe2a8b289 JSON parsing fix from steem PR 2178 2018-03-01 18:58:23 +01: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
Anton Autushka
7d7872cb7b some minor fixes 2018-02-06 15:37:14 +03:00
Alexey Frolov
1ae7f6bb02 FIXES:
- 'bloom_test_1': infinite loop if file not exists
- 'websocket_test': uncatched exceptions
- 'fc_crypto*' test_stream<>: uninitialized variable (hash)
- 'blowfish_chain_test': using memory after allocated heap
- memcmp: passing nullptr, when non-null expected
- undefined behavior: return value from function
- static_variant: member alignment - performance issue on 64-bit arch
- memory leak: fc::thread cleanup in asio thread
- warning: signed-unsigned comparison
- warning: unused variables
2018-02-05 12:19:06 +03:00
Alexey Frolov
5138c58e09 sanitize, remove warnings 2018-02-02 15:29:46 +03:00
Anton Autushka
20836338d2 Suppress coroutines deprecation warning in boost 1.62 2017-11-09 15:41:44 +03:00
Anton Autushka
c2a37a83bd Boost 1.61 compatibility fix 2017-11-09 15:18:58 +03:00
Vikram Rajkumar
cb627980a5 Remove unused CyoEncode and Base32
5c466150ec
2017-06-04 18:13:13 -05:00
Vikram Rajkumar
a30647d32e Revert "Add OpenSSL 1.1.0 support"
This reverts commit fee06a4c75.

Max compatible Boost version is not compatible with OpenSSL 1.1.0
2017-06-04 17:44:25 -05:00
Vikram Rajkumar
b94a338e56 Add missing include
4643586411
2017-06-01 16:49:10 -05:00
Vikram Rajkumar
680731ef1b Remove equihash 2017-06-01 16:11:35 -05:00
Vikram Rajkumar
0e2b783168 Merge remote-tracking branch 'steem/13-jsonrpc-improvements' 2017-05-21 14:37:31 -05:00
Nathan Hourt
fee06a4c75 Add OpenSSL 1.1.0 support
These changes should add support for openssl 1.1.0 while maintaining
compatibility with 1.0.2
2017-04-25 15:50:56 -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
Vikram Rajkumar
0d0b485f3a Remove GNTP (unrelated to NTP) 2017-03-16 12:33:30 -05:00
Vikram Rajkumar
fe82998021 Remove NTP 2017-03-16 12:29:57 -05:00
Vikram Rajkumar
e3238628fc Merge pull request #2 from elmato/named-api-call
Replace the call to get_api_by_name
2017-01-30 18:11:55 -06: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
elmato
aed35f5b06 Add access to HTTP request headers in websocket_connection 2017-01-16 19:55:17 +00:00
Vikram Rajkumar
2b26a51b6c Remove unused ssh code 2017-01-13 14:29:22 -06:00
Vikram Rajkumar
326140a931 Remove leftover udt code 2017-01-13 13:36:21 -06:00
Vikram Rajkumar
d1faea2bde Revert incorrect start of boost compatibility update 2017-01-13 13:36:13 -06: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
Michael Vandeberg
72cd69bed9 Merge pull request #7 from steemit/equihash_security
Implement test_canonical_order and test_intermediate_zeros for equihash
2017-01-05 14:18:12 -05:00
Michael Vandeberg
b4b7904c2e Merge pull request #8 from steemit/rpc-catch-all
Wrap non-FC exceptions thrown by client methods
2017-01-05 14:18:02 -05:00
Daniel Larimer
b07f429556 remove udt and make websocketpp includes public 2017-01-03 15:13:22 -05:00
theoreticalbts
fe8710a7aa Implement test_canonical_order and test_intermediate_zeros for equihash 2016-12-13 15:27:44 -05:00
theoreticalbts
cfc53e8b82 Wrap non-FC exceptions thrown by client methods 2016-12-07 15:27:09 -05:00
Michael Vandeberg
9bc8991f23 Merge commit '463f242ffa4132d22a5006d653bc67b5b703851f' 2016-11-16 11:24:29 -05:00
Michael Vandeberg
50dbc2b139 Add equihash 2016-11-16 11:23:33 -05:00
theoreticalbts
463f242ffa Implement parse_size() function 2016-11-07 14:35:05 -05:00