Nathan Hourt
2f89e0812a
Use signed_int to serialize enums
2020-09-17 21:11:28 -05:00
Nathan Hourt
747567fbdc
Revert "Removed signed_int"
...
This reverts commit 1dcacbafc9 .
2020-09-17 12:26:06 -05:00
Nathan Hourt
69ebbf4ba4
Link boost.serialization
2020-08-21 14:45:42 -05:00
Nathan Hourt
5b3eb3a355
websocket_server default empty XFF header
...
For some reason, the websocket_server types have been altered to require
an X-Forwarded-For header (???) which seems utterly unnecessary. AFAICT,
it's safe to just leave it empty (BitShares does), so add a default arg
to make it do so by default.
2020-08-21 11:47:14 -05:00
Nathan Hourt
4accfdd951
Fix warnings
2020-08-21 11:42:57 -05:00
Eric Frias
fde60bdbbc
Add a fc_[diwe]dump() function, analogous to fc_[diew]log()
2020-08-20 11:31:00 -05:00
Nathan Hourt
7bf5340a74
Add hash_ctr_rng.hpp
...
This file was originally added in ff099209b6
2020-08-20 10:52:08 -05:00
Abit
9e14f238f7
Merge pull request #206 from bitshares/github-auto-build
...
Add macOS to Github Autobuild
2020-07-02 17:04:17 +02:00
abitmore
4ffc77f9d6
Update boost version checks in time_test to macros
2020-07-02 09:18:11 -04:00
abitmore
82e3944ff2
Update time_test to get around a boost 1.60 issue
2020-07-02 08:47:45 -04:00
Abit
210e816897
Fix paths for macOS unit tests in github autobuild
2020-07-02 08:35:27 -04:00
Abit
d7c710edd5
Add macOS to Github Autobuild
2020-07-02 10:38:59 +02:00
Abit
a2b380d58e
Merge pull request #205 from bitshares/fix-websocket-close
...
Fix race condition in websocket server close
2020-06-24 15:27:28 +02:00
Abit
8b94976b79
Fix race condition in websocket server close
...
Note: the close() functions are not yet used in bitshares-core, but only in tests in FC.
The new code is not fully thread-safe either.
2020-06-24 12:08:55 +02:00
Abit
a876678008
Merge pull request #204 from bitshares/jmj_1256
...
Test to demonstrate fc::mutex and fc::thread
2020-06-22 17:07:13 +02:00
Abit
12777b8358
Merge pull request #201 from bitshares/ws-refactory
...
Websocket code refactory and bugfix
2020-06-22 16:27:42 +02:00
abitmore
0d9b127e34
Add missing functions to websocket_tls_server
...
These functions were in websocket_server class but not in websocket_tls_server class:
- get_listening_port
- stop_listening
- close
2020-06-20 13:01:22 -04:00
abitmore
aa671d61b5
Add promise to wait for closure of server socket
...
This may fix the issues that a websocket server may crash or hang when quitting
2020-06-20 11:36:21 -04:00
abitmore
9ae294293f
Update coding style
2020-06-18 18:57:33 -04:00
Abit
6606806f31
Merge pull request #202 from bitshares/fix-tuple-size-warning
...
Fix Clang -Wmismatched-tags warning on tuple_size
2020-06-17 14:24:28 +02:00
abitmore
88a3b58651
Fix Clang -Wmismatched-tags warning on tuple_size
2020-06-14 21:53:47 +00:00
abitmore
4dd1319a9e
Refactor destructor of websocket_server_impl
2020-05-06 13:25:23 -04:00
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