Commit graph

1925 commits

Author SHA1 Message Date
abitmore
c55b1fde3c Add notes 2020-05-06 13:25:23 -04:00
abitmore
b77fa2a651 Capture only required vars, update coding style
and replace an assertion with a check.
2020-05-06 12:22:07 -04:00
abitmore
04f5fae050 Refactor websocket_tls_server_impl with template
Removes unnecessary differences between websocket_server_impl and websocket_tls_server_impl.
2020-05-02 13:33:39 -04:00
abitmore
33ce80cc5f Remove unused types, wrap long lines 2020-05-02 11:36:05 -04:00
abitmore
bee73bd491 Refactor websocket_client, fix duplicate code
Fix duplicate code issue in websocket_client::connect() and
websocket_client::secure_connect(), and other minor issues
2020-05-02 11:21:50 -04:00
Abit
c00824a137
Merge pull request #134 from bitshares/jmj_844b
Log host information from websocket requests
2020-05-02 14:03:15 +02:00
abitmore
ea96a5a93b Fix websocket_client::secure_connect()
Code synced from connect(), added todo to refactor later
2020-05-02 06:35:56 -04:00
abitmore
aa54e3938c Remove unused websocket_tls_client class
The funcionality is already covered by the websocket_client class
2020-05-02 06:34:18 -04:00
abitmore
ffbda4e161 Add test cases about on_http for websocket servers 2020-05-02 05:46:21 -04:00
abitmore
c58ae55f44 Update test cases about RPC logging level 2020-05-02 04:40:28 -04:00
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
8ddcc87ee1 Add todo 2020-05-01 19:43:29 -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
9c506d050b Fix test cases 2020-05-01 17:46:19 -04:00
abitmore
ba394e05b3 Refactor code about logging remote host info 2020-05-01 17:35:52 -04:00
Abit
ed22e1e6d4
Merge pull request #200 from bitshares/merge-core-4.0.x-to-master
Merge changes done for bitshares-core 4.0 to master
2020-04-29 15:55:37 +02:00
Abit
26c5bfc498
Merge pull request #199 from bitshares/abitmore-patch-1
Fix static_variant_depth_test
2020-04-19 18:32:19 +02:00
Abit
377f843478
Fix static_variant_depth_test 2020-04-19 18:03:37 +02:00
Abit
bb4fdb124f
Merge pull request #197 from bitshares/improve-testing
Update run-parallel-tests.sh to support arguments
2020-04-19 17:42:59 +02:00
Abit
c72d5d31cc
Merge branch 'master' into for-core-4.0.x 2020-04-19 10:55:50 +02:00
abitmore
480b17fdcd Show more messages in Travis CI 2020-04-18 14:42:12 -04:00
abitmore
a7bb22a9d1 Show more msgs when testing with Github Actions 2020-04-18 13:19:17 -04:00
abitmore
bc60ea3fa9 Update run-parallel-tests.sh to support arguments 2020-04-18 13:15:53 -04:00
Abit
73a7f08f00
Merge pull request #143 from bitshares/jmj_bsip64
Add Hash160 algorithm
2020-04-15 17:39:39 +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
23f0c6ab8e
Merge pull request #196 from bitshares/fix-static-variant-warning
Fix compiler warnings about static_variant
2020-04-06 19:31:42 +02:00
abitmore
ca3e76d226 Fix compiler warnings about static_variant 2020-04-06 15:16:12 +00: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
Abit
907a81b434
Merge pull request #195 from bitshares/replace-int-in-static-variant
Replace int with 64-bit types in static_variant
2020-03-31 17:41:23 +02:00
Abit
3a2902e3c7
Merge pull request #193 from bitshares/fix-exception-to-string
Fix potential infinity loop in `exception::to_detail_string()`
2020-03-30 15:42:58 +02:00
abitmore
98a16ce397 Replace int with 64-bit types in static_variant 2020-03-29 20:40:51 +00: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
4bc1405643
Merge pull request #192 from bitshares/update-bool-pack
Update bool serialization
2020-03-28 16:54:56 +01:00
abitmore
9763d1c194 Update bool serialization
Make the logic clearer, to avoid issues on some compilers.
Thanks to @pureland and team.
2020-03-26 16:27:59 +00:00
Abit
9dbf944412
Merge pull request #190 from nathanhourt/fix-2
Fix Build
2020-03-19 00:39:22 +01:00
Abit
3f9c3f6ed2
Merge pull request #189 from nathanhourt/fix-1
Fix Build
2020-03-19 00:15:28 +01:00
Nathan Hourt
2b1980a30a
Fix Build
Definitely something strange going on here, as in my environment
the value of Boost_UNIT_TEST_FRAMEWORK_LIBRARY is
"Boost::unit_test_framework"... So this is my fix, but probably
something else should be done.

Boost 1.72.0
2020-03-17 14:49:46 -05:00
Nathan Hourt
cb06e42e80
Fix Build
This is necessary to build in my environment for both clang and g++

Clang 9.0.1
G++ 9.2.1
Boost 1.72.0
2020-03-17 14:42:13 -05: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
5768c6d884
Merge pull request #186 from bitshares/abitmore-patch-1
Return a user-friendly message on RPC execution error
2020-02-24 18:49:17 +01:00
Abit
52f90d6392
Merge pull request #187 from bitshares/fix-github-autobuild
Fix Github auto-build
2020-02-24 18:17:22 +01:00
Abit
142b7eb4c6 Return a user-friendly msg on RPC execution error 2020-02-24 12:11:59 -05:00