Ravin Perera
c366e8acfa
Generate tls key files on hpcore new. ( #237 )
2021-02-05 15:36:11 +05:30
Ravin Perera
e1b1382599
Read request configuration options. ( #236 )
...
* Ignores read requests when contract execution disabled.
* Added concurrent_read_reqeuests config.
* Improved metric test script.
2021-02-05 14:54:42 +05:30
Savinda Senevirathne
a4399544b9
Separate contract and ledger file system mounts. ( #235 )
...
- Creating two separate hpfs folders for contract and ledger file systems (contract_fs and ledger_fs).
- Added separate mounts for contract and ledger file systems.
- Added separate instances for contract serving and ledger serving.
- Added separate instances for contract syncing and ledger syncing.
- Modified cluster creating script to accompany folder name changes in contract folder.
2021-02-05 11:48:52 +05:30
Ravin Perera
08680ee8d4
hpws upgrade with websocket protocol improvements. ( #232 )
...
* Updated hpws binary and header.
* Improved binary encoding support in client lib.
2021-02-01 22:31:28 +05:30
Ravin Perera
d34b7bce53
Performance metric collection scripts. ( #230 )
...
* Scripts to collect performance metrics.
* Added log level to hp client lib.
2021-01-31 18:08:32 +05:30
Ravin Perera
70493d827d
Contract id mismatch log message. ( #227 )
...
* Added contract id mismatch log.
* Added individual docker image run script.
2021-01-22 16:36:34 +05:30
Ravin Perera
610b67cec0
Contract execute config flag. ( #226 )
...
* Added contract execute flag. Made bin_path optional.
* Updated docker cluster default config.
* Renamed contract config to hp config.
2021-01-22 14:33:07 +05:30
Ravin Perera
e8e7921ac1
Single-process hpfs integration. ( #212 )
2021-01-06 21:53:39 +05:30
Savinda Senevirathne
c87ae6693d
Patch config and hpfs sync refactor. ( #208 )
...
* Terminology changes from state to hpfs.
* Syncing hpfs parents in priority order.
* Changing how the hash is calculate in hpfs response validate check.
2021-01-06 10:50:58 +05:30
ravinsp
99e4296746
Updated hpfs binary with rename fixes v2.
2021-01-01 07:44:52 +05:30
ravinsp
82d26f4047
Updated hpfs binary with rename support.
2020-12-31 08:53:47 +05:30
Savinda Senevirathne
e835e18d18
New config file structure. ( #201 )
2020-12-23 18:52:58 +05:30
Savinda Senevirathne
cc7cae60a9
Provide error message when cannot bind to listening ports at startup. ( #199 )
2020-12-21 16:43:39 +05:30
Chalith Desaman
229af3e294
hpfs binary update ( #196 )
2020-12-16 11:33:09 +05:30
priyadharsun
9df8248af7
strdup memory cleanup in hpcore. ( #194 )
...
* strdup memory cleanup in hpcore.
* Updated hpfs binary.
2020-12-14 14:34:26 +05:30
Ravin Perera
f2ed9040c0
User protocol upgrade and js client lib. ( #191 )
...
* Unified js client lib for browser and nodejs.
* Client lib multiple connections support.
* Implemented server challenge response.
* Contract guid and version validation.
* Server key validation.
* User json message encoding improvements.
2020-12-11 11:02:58 +05:30
Chalith Desaman
b86efb2d9b
Recursively deleting directories during state sync. ( #189 )
2020-12-09 13:43:34 +05:30
Ravin Perera
fe9e276f8d
Consensus deadlock fixes and reliability improvements. ( #187 )
...
* Consensus time vote improvements.
* Skipped self proposal in Observer mode.
* Added docker cluster script params.
* Added state/lcl sync abandon threshold.
* Added pubkey display for cluster script.
* Added proposal latency log.
* Added sync completion check to prevent deadlocks.
2020-12-08 15:17:27 +05:30
Ravin Perera
596fd2b43c
Added contract id verification. ( #180 )
...
* Added contract id config.
* Verify contract id with user/peer challenge.
* Updated cluster scripts.
* Updated node client lib for contract id verification.
2020-12-01 16:08:41 +05:30
Chalith Desaman
de71b97371
Stopped skipping self pub key from the config unl ( #179 )
2020-12-01 14:23:28 +05:30
Ravin Perera
efbd775fa1
Refactored C contract lib interface. ( #175 )
2020-11-30 10:03:06 +05:30
Ravin Perera
332e5a4750
User input json/bson format improvements. ( #174 )
...
* Removed hex encoding in json input container.
* Refactored client lib exports.
2020-11-28 21:24:35 +05:30
Savinda Senevirathne
993eb11971
hpfs state hash checkpoint binary update. ( #168 )
2020-11-26 20:37:57 +05:30
Ravin Perera
9339e09026
Updated hpfs binary with log file block alignment improvements. ( #163 )
2020-11-24 21:48:13 +05:30
Ravin Perera
9c1f62dbde
Migrated user inputs from domain sockets to memfd. ( #159 )
2020-11-23 21:52:05 +05:30
Ravin Perera
0098c3ddab
Revamped NodeJS library examples. ( #151 )
2020-11-16 17:08:47 +05:30
Ravin Perera
e6b74f2c02
Added hpws binary with max msg size fix. ( #148 )
2020-11-11 10:55:02 +05:30
Ravin Perera
3ea0299964
Comm session re-architecture and self comm channel. ( #145 )
...
* Introduced self comm channel instead of loopback websocket.
* Introduced comm_session and comm_server inheritance hierarchy.
* Separated peer session and user session classes.
2020-11-08 22:14:08 +05:30
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
Ravin Perera
254e92fc7c
Updated hpws binary with fd and zombie cleanup fixes. ( #141 )
2020-11-04 06:29:35 +05:30
Ravin Perera
a60444b57f
Updated hpfs binary for fd leak and race condition fix. ( #137 )
2020-10-25 21:34:47 +05:30
Ravin Perera
00069b7a43
Updated ledger creation to report current lcl. ( #136 )
2020-10-24 07:22:28 +05:30
ravinsp
86fba4e87a
Updated hpws binary to fix multi-threaded read/write.
2020-10-24 06:54:36 +05:30
ravinsp
5c4edfafb9
Updated hpfs binary due to file rename issue.
2020-10-23 15:21:22 +05:30
Ravin Perera
7a4e91b0dd
Integrated hpfs in-proc sessions. ( #134 )
2020-10-23 10:04:45 +05:30
Ravin Perera
7183383ab7
Replace websocketd/websocat with hpws. ( #131 )
2020-10-15 17:02:06 +05:30
Ravin Perera
54d6bf5bf6
Improved vm scripts. ( #129 )
...
* Added node-or-cluster mode.
* Added json based cluster config.
* Restructured new, update, reconfig modes.
* Added screen logging mode.
2020-10-03 21:38:43 +05:30
ravinsp
c41e0d2e72
Added latest hpfs binary.
2020-09-26 22:11:53 +05:30
Ravin Perera
4d920a9219
Fixed child process signal behaviours. ( #128 )
...
* Restored signal handlers upon fork().
* Improved error handling of hpfs process kill scenario.
* Set pgid for forked processes for graceful sending of SIGINT.
2020-09-26 21:39:26 +05:30
Chalith Desaman
3e2b7dbcfa
Replaced boost filesystem operations with linux system calls ( #125 )
...
* Replaced boost filesystem operations with linux syscalls
* Removed boost filesystem dependency from CMAKE
2020-09-23 12:49:06 +05:30
ravinsp
a5ef8df83e
VM scripts parallel lcl retrieval.
2020-09-18 10:12:56 +05:30
Ravin Perera
93f57efbe3
Added release build support. ( #119 )
...
* Cleaned up and updated cmake to have release build support.
* Added segfault handler.
* Added latest hpfs release build.
* Fixed coding issues revealed by release build.
2020-09-16 17:51:54 +05:30
Ravin Perera
64efc53cef
Added latest hpfs binary and integrated hpfs logging. ( #117 )
2020-09-15 21:55:13 +05:30
ravinsp
10cfb6e75f
VM cluster script improvements.
2020-09-09 13:19:08 +05:30
Savinda Senevirathne
648b70892c
Blake2 to Blake3 hash migration ( #111 )
...
* hash call update from blake2b to blake3
* including installation steps for blake3 in readme
2020-08-21 15:50:39 +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
Savinda Senevirathne
eb70d9f308
Updating hpfs binary for blake3 migration ( #108 )
2020-08-20 14:48:55 +05:30
ravinsp
fefa860276
Added lcl display to vm clsute rscript.
2020-08-19 10:49:30 +05:30
ravinsp
051e358f14
Fixed hpfs hash update issue.
2020-08-18 22:15:12 +05:30