ravinsp
974fe82395
Updated const parameters in util functions.
2020-09-04 12:03:36 +05:30
Savinda Senevirathne
2fc93d4291
Migrating json parsing from rapidjson to jsoncons. ( #112 )
...
* Migrating JSON parsing from RapidJSNO library to jsoncons library
* updating readme file and removing RapidJSON headers
2020-08-31 14:05:42 +05:30
Ravin Perera
a54a5f43da
Consensus proposal expiration time calculation fix. ( #106 )
...
* Logging improvements.
* Fixed time calculation issue in expiring proposals.
2020-08-07 13:03:02 +05:30
ravinsp
4719dfcf2a
Improved peer client connection websocat error handling.
2020-08-06 22:48:25 +05:30
Ravin Perera
b89dbe0a2c
Rearchitected state sync with hpfs. ( #96 )
2020-06-10 20:51:45 +05:30
Ravin Perera
10374352c6
hpfs integration. ( #94 )
2020-06-04 13:51:53 +05:30
Amila Ariyarathna
7a7dd8698d
Minor typo fixes ( #91 )
2020-04-15 08:01:25 +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
b475e2796e
Integrated default app bill verification for user inputs. ( #72 )
...
Initial appbill implementation from @codetsunami integrated to hpcore. #47
2019-12-19 17:26:04 +05:30
Ravin Perera
0dde10c306
Contract state monitoring and rollback infrastructure. ( #61 )
2019-11-25 19:30:15 +05:30
ravinsp
7815390b25
Implemented basic corebill tracking.
2019-11-08 13:20:34 +05:30
Ravin
8d31075b7b
Code improvements.
2019-11-07 17:21:21 +05:30
Ravin Perera
8a153d5bb5
Implemented user duplicate input message check.
2019-11-05 11:47:42 +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
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
0fb9ebf79f
Changed base64 to hex encoding.
2019-10-17 00:17:15 +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
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