Ravin Perera
e8d63c95f2
Improved vmscripts and js client lib reliability. ( #293 )
...
* Added certbot ssl support to vm scripts.
* Client lib blake3 init improvement.
* Client lib connection review process improvement.
2021-04-23 13:28:47 +05:30
Ravin Perera
23dac682d1
Minor improvements to vm cluster scripts. ( #292 )
2021-04-20 21:44:44 +05:30
Savinda Senevirathne
7cec6d01c1
Changes for unstable consensus. ( #272 )
...
* Return empty hash when set or vector is empty in crypto.
* Changing <operator in sequence_hash struct.
* Fixing vm script and allowing only single sync target per vpath.
* Making vm cluster log level to debug.
* Increasing hpws max message size and fixing lcl mode in vm cluster scripts.
* lcl block fix.
2021-03-17 12:17:50 +05:30
Ravin Perera
c366e8acfa
Generate tls key files on hpcore new. ( #237 )
2021-02-05 15:36:11 +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
Savinda Senevirathne
e835e18d18
New config file structure. ( #201 )
2020-12-23 18:52:58 +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
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
00069b7a43
Updated ledger creation to report current lcl. ( #136 )
2020-10-24 07:22:28 +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
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
ravinsp
10cfb6e75f
VM cluster script improvements.
2020-09-09 13:19:08 +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
110b97f856
VM cluster script improvements.
2020-08-07 15:04:35 +05:30
ravinsp
4719dfcf2a
Improved peer client connection websocat error handling.
2020-08-06 22:48:25 +05:30
Ravin Perera
d4a786e3b9
Refactored NPL message processing. Passed lcl to contract args. ( #105 )
2020-08-05 21:30:48 +05:30
Ravin Perera
88ad472254
Improved VM cluster scripts. ( #103 )
2020-08-04 10:24:29 +05:30
Ravin Perera
311d20aba6
HP smart contract nodejs library. ( #101 )
2020-07-20 13:38:08 +05:30
ravinsp
3525277c64
Improved vm management scripts.
2020-07-03 16:56:20 +05:30
Ravin Perera
96f23cb0ff
Added bson support for user message protocol. ( #99 )
2020-07-02 21:40:55 +05:30
Ravin Perera
3aed949032
Added large I/O message support. ( #95 )
2020-06-05 21:54:06 +05:30
Ravin Perera
10374352c6
hpfs integration. ( #94 )
2020-06-04 13:51:53 +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
b6497d0f82
Cmake cleanup ( #77 )
2019-12-21 07:05:20 +05:30
Ravin Perera
d82ab8f626
Reorganized local and remote cluster setup scripts. ( #75 )
2019-12-20 11:29:52 +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
Asanka Indrajith
23a3fa9b39
Consensus with network clock ( #71 )
2019-12-19 01:29:46 -05:00
ravinsp
f54cabf6d0
Added consensus test scripts.
2019-12-16 12:26:27 +05:30
Ravidu Lashan
1238e96423
State synchronization logic ( #67 )
...
* Added flat buffer state message request
* Added state vote
* Added state to ledger history and did necessary changes
* Completed receiveing state request
* State read/write helpers.
* Added new fbs schema
* Added more state_store helper methods.
* Started processing response
* Fixed compile errors
* Added get file length.
* Handled state content response
* Statefs code cleanup and fixes.
* Completed response handling
* Completed changes in handling state response
* State sync integration fixes.
* Fuse mount waiting logic.
* Fixed state syncing issues
* state sync fixes
* fixes
* State sync fixes.
* Fixed fs entries retrieval issues.
* changed desync logic
* Added directory helper functions.
* Handled return statemetns from statefs
* Fixed state folder deletion.
* handled errors from statefs
* Working for small files
* Got state sync working.
* Removed cout.
* Fixed catering for stae issue
* Fixed block hash map flatbuf issue.
* Added expected hash
* Added helpers for expected hash comparison.
* Improved state req/resp awaiting logic.
* Fixes.
* Fixes.
* Block request ordering fix.
* Removed couts
* Closed non-closed file descriptors
* Minor fixes.
* Cluster create script changes.
* Fixed reset time off issue.
2019-12-13 10:20:41 +05:30
ravinsp
7428d42aad
VM cluster scripts improvements.
2019-12-02 11:05:13 +05:30
ravinsp
5bfcaba58b
Improved vm cluster scripts.
2019-11-28 16:29:07 +05:30
ravinsp
f42bd56cb3
VM cluster setup scripts.
2019-11-26 19:00:50 +05:30