Commit graph

966 commits

Author SHA1 Message Date
abitmore
c8fcefb901 Update RPC logging format 2020-05-02 04:17:44 -04:00
abitmore
3e07edf995 Remove unused header inclusion 2020-05-02 04:03:01 -04:00
abitmore
c6df78b0bb Rename a function to avoid accidental misuse 2020-05-01 20:51:47 -04:00
abitmore
e778cf1520 Revert to simple WS connection for clients 2020-05-01 19:11:09 -04:00
abitmore
8ffe08f891 Merge 'master' branch 2020-05-01 18:01:55 -04:00
abitmore
e50067d6ed Tweak code slightly 2020-05-01 17:57:21 -04:00
abitmore
ba394e05b3 Refactor code about logging remote host info 2020-05-01 17:35:52 -04:00
Abit
c72d5d31cc
Merge branch 'master' into for-core-4.0.x 2020-04-19 10:55:50 +02:00
John Jones
c554c7e56d add impl to hash160 2020-04-15 09:52:18 -05:00
John Jones
5070d8d2fc define hash160 reset method 2020-04-15 09:20:39 -05:00
John Jones
9505342dbf improve hash160 performance 2020-04-14 11:25:00 -05:00
John Jones
dbf4b99e3e Merge remote-tracking branch 'upstream/for-core-4.0.x' into jmj_bsip64 2020-04-14 10:37:40 -05:00
Abit
60d7946dbe
Merge pull request #194 from bitshares/update-variant-size-t-macos-openbsd
Update to_variant(size_t) for macOS and OpenBSD
2020-03-31 17:42:23 +02:00
abitmore
34ddc2b859 Update to_variant(size_t) for macOS and OpenBSD
Fix to_variant(size_t) for OpenBSD, move implementation for macOS to cpp file
2020-03-28 17:30:42 +00:00
abitmore
cc1103fe45 Fix potential infinity loop
Fix exception::to_detail_string(...)
2020-03-28 16:05:03 +00:00
Abit
bbf17f8a40
Merge pull request #188 from bitshares/for-core-4.0.x
Merge 4.0.x changes to master
2020-02-24 19:10:22 +01:00
Abit
142b7eb4c6 Return a user-friendly msg on RPC execution error 2020-02-24 12:11:59 -05:00
Abit
3970ca178b
Merge pull request #185 from bitshares/for-core-4.0.x
Merge 4.0.x changes to master
2020-02-21 12:14:35 +01:00
Peter Conrad
3b7e67a3dc Fixed busy-wait in delete_files 2019-12-10 15:41:08 +01:00
Abit
1d028b3c15
Fix potential out-of-bounds access
Thanks to Beosin(https://github.com/Lianantech)
2019-11-08 12:13:36 +01:00
Peter Conrad
0633515d7b Fixed stacktrace license 2019-11-06 18:39:03 +01:00
Peter Conrad
4bdab0bb0a Removed checks for obsolete boost version numbers 2019-09-24 17:24:38 +02:00
Abit
2f776301cd
Merge pull request #169 from bitshares/for-core-3-3
Merge 3.3.x branch to master branch
2019-09-23 17:02:18 +02:00
Peter Conrad
afc0e00700 Added zero_initialized_array template to restore functionality of fc::array<unsigned char,N> 2019-09-20 09:27:57 +02:00
Peter Conrad
5c0b9ed4e3
Merge pull request #164 from pmconrad/1895_namespaces
Move stuff into namespaces
2019-09-19 16:15:43 +02:00
Peter Conrad
2cc32d79ba Fixed assert 2019-09-18 15:12:27 +02:00
Peter Conrad
9077892d87 Log stacktrace instead of writing to stderr 2019-09-18 15:12:27 +02:00
Peter Conrad
4ce3775630 Clean up before returning 2019-09-18 15:12:27 +02:00
Peter Conrad
eb42ebb528 Add log message 2019-09-18 15:12:27 +02:00
Peter Conrad
ef52b39036 Preserve crash in debug mode 2019-09-18 15:12:27 +02:00
Peter Conrad
201b4b33f0 Print stacktrace when yielding within an exception handler 2019-09-18 15:12:27 +02:00
Peter Conrad
cd69d13348 Replaced spin_yield_lock with atomics 2019-09-18 15:12:27 +02:00
Peter Conrad
20c1688223 Removed superfluous return 2019-09-18 13:07:54 +02:00
Peter Conrad
164f1f68e6 Whitespace fixes 2019-09-18 13:07:54 +02:00
Peter Conrad
5b8a7c281c Partial revert "Changes to avoid conflict in following cherry-pick"
This reverts commit d729816b06.
2019-09-18 13:07:47 +02:00
Spartucus
3583ee6138 Fix non-void function return value
Since last catch insert exception string to `ss`, it should returns.
2019-09-18 12:59:37 +02:00
Kevin Heifner
2eb047a6f4 Add exception handling to to_string and to_detail_string 2019-09-18 12:59:37 +02:00
Peter Conrad
d729816b06 Changes to avoid conflict in following cherry-pick 2019-09-18 12:59:37 +02:00
Peter Conrad
bae416a446
Merge pull request #162 from pmconrad/1982_rotate_logs
Check + rotate logs while logging not by scheduled task
2019-09-17 17:37:04 +02:00
Peter Conrad
e168b6400b Avoid time calculation when not rotating 2019-09-17 13:46:02 +02:00
Peter Conrad
7b98c69c3b Delete copy constructor + copy assignment in openssl type wrappers 2019-09-16 14:38:45 +02:00
Peter Conrad
f4866b777e Move helper classes into fc::detail 2019-09-16 12:00:38 +02:00
Peter Conrad
f6fd6a7cf7 Avoid re-computing seconds 2019-09-15 14:18:57 +02:00
Peter Conrad
5cd9f7d631 Move log file deletion into separate task 2019-09-15 14:09:44 +02:00
Peter Conrad
2e50624b28 Check + rotate logs while logging not by scheduled task 2019-09-12 16:01:09 +02:00
Peter Conrad
869c75d070
Merge pull request #159 from pmconrad/314_windows_default_cas
Fix core #314 - Use windows default CAs for tls client connections
2019-09-06 08:09:13 +02:00
Peter Conrad
77a82903fc Fix core #314 - Use windows default CAs for tls client connections 2019-09-01 15:17:59 +02:00
crypto-ape
5bb0254d83 fix array declaration for broken msvc static expression evaluation 2019-08-26 14:10:43 +02:00
crypto-ape
727e09ebe7 support openbsd // implement tcp keep-alive polling 2019-08-15 12:22:59 +02:00
crypto-ape
4ac6887deb support openbsd // compile with libressl 2019-08-15 12:22:59 +02:00