Ravin Perera
ba0cae019d
Refactored consensus into 3 rounds. ( #144 )
...
* Refactored consensus into 3 stages and removed stage 0.
* Consensus threshold calculation improvements.
* Refactored candidate user input processing.
* Renamed proposal sent timestamp field.
* Introduced comm_session display name.
2020-11-07 15:01:01 +05:30
priyadharsun
9cc5d46792
Outbound message re architecture ( #116 )
...
* Removing const keyword from send function definition in comm_session class.
* Rearchitecture outgoing messages.
* Removed concurrentqueue.h file out of the project.
* Updated ReadMe file.
* Minor comment reformattings.
* Readme update with concurrent queue github link.
* Removed should_stop_messaging_threads variable.
* Updated ReadMe file
* Updated and Changed the formatting of the Blake3 build script in ReadMe.
* Resolved review comment.
Co-authored-by: Savinda Senevirathne <savindadilsara@gmail.com >
2020-09-11 12:26:16 +05:30
Ravin Perera
465573ad29
Updated nodejs contract lib for streamed input reading. ( #110 )
2020-08-21 15:27:25 +05:30
Ravin Perera
baf5d8b14a
Fixed incorrect memory access issues. ( #109 )
2020-08-20 15:20:11 +05:30
Ravin Perera
96f23cb0ff
Added bson support for user message protocol. ( #99 )
2020-07-02 21:40:55 +05:30
ravinsp
8103ef7af6
Updated user json message schema.
2020-06-24 12:59:29 +05:30
Ravin Perera
817ccd6a88
Implemented contract read requests. ( #98 )
2020-06-19 21:52:03 +05:30
Ravin Perera
920be03ade
Websocket re-architecture with websocketd and websocat ( #89 )
...
- Replaced beast with websocketd and websocat. #79 #83 #84
- Implemented inbound/outbound peer connection merging.
- Added graceful shutdown of hpcore with sigint. #87
2020-04-05 08:12:55 +05:30
Ravin Perera
e43cbc9326
User request status messages ( #76 )
2019-12-20 21:14:53 +05:30
Ravin Perera
d16b43406b
Added bad and duplicate message counters to socket_session ( #55 )
2019-11-07 06:57:34 +05:30
Ravin Perera
83189556de
Refactored user I/O with signed inputs and NUPs. ( #53 )
2019-11-03 22:45:23 +05:30
Ravin Perera
cb364cc420
Compilation time improvements. ( #52 )
...
* Precompiled header for all common library headers (with cmake 3.16rc3).
* Divided cmake build into shared libraries.
* Added gold linker support.
* Separated websockets lambda expressions to an independent file.
2019-11-02 14:46:21 +05:30
Ravin Perera
a51ec4a030
Restructured user message handling.
2019-10-31 14:23:01 +05:30
Ravin Perera
5ea2bef62a
Improved user inputs handling in consensus ( #46 )
...
Updated flatbuffer proposal raw_inputs, raw_outputs data structure.
Improved user inputs handling in consensus.
2019-10-28 00:17:35 +05:30
Asanka Indrajith
d6acee4e09
Basic consensus implementation ( #45 )
...
Consensus for user connections, user inputs, contract outputs and time.
2019-10-26 11:46:32 -04:00
Ravin Perera
61b38bb0a0
Implemented socket message templates. ( #40 )
...
Implemented socket message templates to support broadcast (shared_ptr) and to achieve buffer zero-copy.
2019-10-23 13:04:57 +05:30
Ravin Perera
0fb9ebf79f
Changed base64 to hex encoding.
2019-10-17 00:17:15 +05:30
Ravin Perera
8a22748c8d
Implemented sending contract output back to the user.
2019-10-16 19:23:19 +05:30
Ravin Perera
8b003aeaa2
Switched to binary pubkeys from base64 for internal user data ( #29 )
...
* String copy optmisations.
* User pubkey binary.
2019-10-16 06:45:49 +05:30
Ravin Perera
db99d94902
vmsplice and other optmizations for user pipes I/O ( #28 )
2019-10-15 23:26:22 +05:30
Ravin Perera
dac43e857a
Optimized user pipes life time. ( #26 )
...
Optimized user-contract I/O pipes.
2019-10-14 23:48:15 +05:30
Ravin Perera
56c3e3ee93
Optimized string passing with string_view.
2019-10-14 17:03:11 +05:30
Ravin Perera
ebf13209e1
Code consistency improvements ( #21 )
...
Fully-qualified namespace accessors
Updated function out param order
reinterpret_cast
2019-10-11 20:08:53 +05:30
Ravin Perera
f64cdc6ad0
Implemented user connection challenge handshake ( #20 )
...
Implemented user connection challenge handshake.
Optimized user challenge message processing.
2019-10-11 17:29:45 +05:30
Ravin Perera
d8581f7ce9
General code optmisations and cleanup. ( #15 )
...
Updated `version_compare` based on this issue: #13
Got rid of `replace_string_contents` helper func.
Replaced #define macros with static consts.
Moved comments from headers to source files.
2019-10-10 12:57:46 +05:30
Ravin Perera
374424f98f
Code comments and consistency improvements. ( #12 )
2019-10-09 22:26:08 +05:30