58 Commits

Author SHA1 Message Date
ravinsp
33e536c31b Used consistent wording for HotPocket. 2023-05-07 14:08:55 +05:30
Ravin Perera
050b6f5bd5 Upgraded nodejs dependencies to 16.x (#364) 2022-03-08 21:12:26 +05:30
Ravin Perera
cf695af30b Remove appbill. (#358) 2022-01-27 10:39:18 +05:30
ravinsp
6d158a9583 Streamer fix. 2021-11-17 16:52:31 +05:30
ravinsp
1cdec2f9fa Customer port specifier for signalr streamer. 2021-11-17 16:52:13 +05:30
Ravin Perera
9bc9404e07 Used npm package for client and contract lib examples. (#350) 2021-10-11 20:16:50 +05:30
ravinsp
cd00bab383 Added new regions to vultr script. 2021-10-05 11:06:31 +05:30
ravinsp
651dd2b7d4 Updated streamer host resolver. 2021-09-28 17:30:25 +05:30
Ravin Perera
647759501f Refactored vote status reporting. (#349)
* Refactored global sync status tracking.
* Updated streamer for vote status.
* Docker image now uses 'latest' tag.
* Updated hp version.
2021-09-22 09:28:01 +05:30
Ravin Perera
6dc0776b56 Large cluster optimizations. (#348)
* Added sync log to streamer.
* Fixed ledger closing attempt while syncing.
* Added diagnostic contract.
* Reset to stage 0 on unreliable votes.
* Reduced peer msg age threshold.
* Added health tracking.
* Weakly-connected detection improvement.
* Increased version 0.5.1.
* Improved client lib server version check.
* Added health logging support to text client.
* Added weakly connected status in status response.
* Increased max peers limits when serializing.
* Local docker cluster manual ip.
* Updated vultr script vm region order.
* Sync status reporting improvement.
* Added milliseconds to logging.
2021-09-17 11:53:49 +05:30
Savinda Senevirathne
9275838f5a Increasing event batch size in stream js and minor change in js_client package json script. (#347) 2021-08-27 10:55:00 +05:30
Ravin Perera
ec1a58e1d7 Updated stream.js to use fetch api. (#345) 2021-08-19 23:37:55 +05:30
Savinda Senevirathne
9c7471a7db Streamer event upload to Azure function. (#343)
* Uploading event data to azure function endpoint to broadcast to end clients.
2021-08-12 13:59:36 +05:30
Ravin Perera
cdf3a73c7d Added ncc build to nodejs contracts. (#334) 2021-07-22 12:38:02 +05:30
Ravin Perera
c1e1cd12a8 Input responses while syncing. (#323)
* Send pending input responses after syncing.
* Send input statuses on expired inputs.
* Sqlite no journal.
2021-06-12 15:14:21 +05:30
Ravin Perera
03cbc27f0e Cluster event stream scripts. (#321) 2021-06-09 11:43:59 +05:30
Ravin Perera
07962bc3d5 Improvements for larger clsuters. (#316)
- Cluster script improvements.
- Skipped msg too old check unverified peer sessions.
- Moved known peer maintenance to peer loop.
2021-05-30 12:32:51 +05:30
Ravin Perera
2f0a6673d5 Added Vultr api scripts. (#315) 2021-05-29 13:01:33 +05:30
Ravin Perera
63f62228c2 hpfs binary update and vm cluster script improvements. (#305)
* Updated hpfs binary for log file extending fix.
* Updated vmcluster scripts to include separate hpfiles dir per contract.
2021-05-12 09:23:36 +05:30
Ravin Perera
4e75b497ec Improvements to vm cluster scripts. (#304)
* Improvements to vm cluster scripts.
* Fixed sync priority change issue.
2021-05-11 09:01:09 +05:30
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