Commit graph

1025 commits

Author SHA1 Message Date
Nathaniel
907dc57fb6
Enable classes to customize their serialization
Add support for classes to define members to customize their
serialization from the default from reflection.
2022-03-16 15:47:17 -05:00
Nathaniel
23fd3a3a41
Adjust tcp_socket allocation 2022-03-16 13:17:32 -05:00
serkixenos
bff16bbc3d Merge branch 'latest-fc' into 'dapp-support'
# Conflicts:
#   src/crypto/openssl.cpp
2022-02-11 20:02:33 +00:00
Pavel Baykov
8363f00715 Remove OpenSSL related build warnings 2022-02-10 19:16:44 +00:00
Michel Santos
9ed3f6e338 Merge branch latest-fc into dapp-support 2021-11-11 15:19:50 -05:00
Nathaniel Hourt
21418ec46e
Compiler incompatibility
It broke again so poke it again. Perhaps all clang versions require `template` here? I'm not sure, haven't gotten around to testing all the different compilers on it yet.
2021-09-21 12:36:07 -05:00
Nathan Hourt
0248e20531
Add option to compile dynamic libraries
Also, fix build:
Clang 10.0.1 has incompatible rules with other compilers on whether
you must/cannot put the `template` keyword in part of the reflection
code. Add a special case to make it work all around.
2021-03-13 09:14:01 -06:00
serkixenos
29d2f72b24 Remove as much warnings from build log as possible 2020-10-29 21:47:30 +01:00
pravin-battu
3f4a4468e0 static variant update 2020-10-16 12:12:57 -03:00
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
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
blockc p
917e4d348b ws-updates 2020-08-12 13:00:39 +00:00
pravin-battu
c1e362a8dd websocket issue 2020-07-05 22:23:29 -03:00
blockc p
13b7cfaec7 Revert "websocket fix, issue 13"
This reverts commit 0cf6f461b6
2020-07-02 17:07:12 +00:00
pravin-battu
0cf6f461b6 websocket fix, issue 13 2020-07-02 13:34:29 -03: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
88a3b58651 Fix Clang -Wmismatched-tags warning on tuple_size 2020-06-14 21:53:47 +00: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
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
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
8ffe08f891 Merge 'master' branch 2020-05-01 18:01:55 -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
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
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
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
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
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
pbattu123
a76b9ff81c include fc build optimization changes 2020-02-20 12:19:22 -04:00
pbattu123
1cae4d3481 Revert "Merge pull request #13 from gladcow/feature/GRPH-92"
This reverts commit c30f3b7d32, reversing
changes made to 31e289c53d.
2020-01-06 17:00:41 -04:00
pbattu123
a8ffe6ed3d
Merge branch 'latest-fc' into feature/GRPH-92 2020-01-03 09:33:16 -04:00
Peter Conrad
1d8b63bdb1
Merge pull request #182 from bitshares/for-core-4.0.x
bring macos build fix to master
2019-11-27 08:05:49 +01:00
Peter Conrad
56d9e4d968 Fix for OSX build 2019-11-26 08:26:16 +01:00
Peter Conrad
0633515d7b Fixed stacktrace license 2019-11-06 18:39:03 +01:00
Peter Conrad
e5ab69acff
Merge pull request #176 from bitshares/bloom_update
Updated bloom_filter.hpp…
2019-11-06 18:38:14 +01:00
Peter Conrad
cdbe881996 Removed unused reflection 2019-11-06 15:49:16 +01:00
satyakoneru
2f79730323 GRPH134-Witness High CPU Issue, websocket changes 2019-11-06 11:18:04 +00:00
Peter Conrad
1d59bb3d47 Updated bloom_filter.hpp from c89c2912c4/bloom_filter.hpp 2019-11-04 08:18:34 +01:00
Nathan Hourt
6e22341d9f
Fix warning in zeroed_array.hpp
Only one template declaration is needed here, I think. Clang gives many, many warnings over it.
2019-11-01 15:14:46 -05:00
Sandip Patel
ea4aebf760 Fixed fc tests 2019-10-08 12:13:42 +05:30