Commit Graph

140 Commits

Author SHA1 Message Date
Ravin Perera
050b6f5bd5 Upgraded nodejs dependencies to 16.x (#364) 2022-03-08 21:12:26 +05:30
Ravin Perera
86895426a1 Used evernodedev docker account. (#363) 2022-03-07 19:10:32 +05:30
ravinsp
2bd2e5a905 hpfs update with statvfs. 2022-03-02 19:20:09 +05:30
ravinsp
3fc44e9f5a Added openssl and certs to docker image. 2022-02-28 21:49:58 +05:30
Ravin Perera
5cef95c9f6 Enabled and fixed compiler warnings. (#359) 2022-01-28 16:03:34 +05:30
Ravin Perera
cf695af30b Remove appbill. (#358) 2022-01-27 10:39:18 +05:30
Chalith Desaman
150df0eabb Specify environment variables to contract binary (#355) 2022-01-11 13:41:33 +05:30
Ravin Perera
8dabfb4a2e IP ban refactor with hpws. (#354)
* Refactored corebill.
* Integrated hpws ban tracking.
* Removed session handler helpers.
* Improved bad behaviour reporting.
2021-12-17 07:08:26 +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
Chalith Desaman
05191a9f32 Updated the hpfs binary (#342) 2021-08-11 16:25:58 +05:30
Savinda Senevirathne
c14d15c3e3 Hpfs binary update after bug fix. (#341) 2021-08-04 16:37:18 +05:30
Savinda Senevirathne
ba2b69cebc hpfs binary build on ubuntu 18.04 (#340) 2021-08-03 17:34:21 +05:30
asela kotagama - aseladk
da813887ca Update hpcore repo and replaced hpfs binary. (#339) 2021-08-03 09:26:30 +05:30
Savinda Senevirathne
a2f12dcacc Updating local cluster docker file to include versioned hpcore docker image. (#338) 2021-07-29 15:53:41 +05:30
Chalith Desaman
4a5c3554bd Hotpocket version changes (#336) 2021-07-28 16:33:58 +05:30
Ravin Perera
cdf3a73c7d Added ncc build to nodejs contracts. (#334) 2021-07-22 12:38:02 +05:30
Ravin Perera
4790c7951c Refactored docker images. (#331) 2021-07-14 16:27:17 +05:30
Ravin Perera
d315f9c316 Introduced smart contract run-as user. (#329)
* Added contract run_as config.
* Run smart contract process under the run_as user.
* Integrated run_as user to contract hpfs startup.
2021-06-30 16:15:11 +05:30
Ravin Perera
d7733698de Updated docker images. (#326) 2021-06-23 12:54:39 +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
aae1617ec0 Metrics script improvements. (#322) 2021-06-09 13:22:14 +05:30
Ravin Perera
03cbc27f0e Cluster event stream scripts. (#321) 2021-06-09 11:43:59 +05:30
Ravin Perera
9741865027 Limit cap increase. (#320) 2021-06-07 15:41:55 +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
7cd56a1475 Consensus proposal pruning improvement. (#314)
Consensus proposal pruning improvement.
hpfs binary fd leak fix.
2021-05-29 12:53:49 +05:30
ravinsp
6cfa47418c Minor updates to echo contract and hpfs. 2021-05-23 17:14:34 +05:30
Chalith Desaman
2bb6be0ce5 Fixed full history hpfs log syncing issues (#311) 2021-05-19 19:06:47 +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
321ae2d753 hpfs binary with optimized write fix. (#303)
* Updated hpfs bin.
* Improved logs.
* Local cluster script log level fix.
2021-05-08 17:51:16 +05:30
ravinsp
f85059ea2a Updated hpws binary with tcp packet delay fix. 2021-05-04 09:04:07 +05:30
Ravin Perera
a8ae9c5876 Updated hpfs binary off_t return type fix. Introduced hpfs log level to hp config. (#300)
Updated hpfs binary off_t return type fix. Introduced hpfs log level to hp config
2021-05-02 08:54:40 +05:30
Savinda Senevirathne
3381608afd Updating hpws binary after hpws poll interval increase. (#298) 2021-04-30 10:20:57 +05:30
Ravin Perera
f55341f49e Updated hpfs binary with write optimization support. (#297) 2021-04-30 05:59:31 +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
Chalith Desaman
05e8077e5b Persisting hpfs log responses to the hpfs (#291)
Fixing the in memory raw shard hash update.
Passing the seq_no of index update to verify that the index records are consistent.
Restart rw session after completing last primary shard sync.
Fixed issue in fs read write by multiple threads.
Hpfs log sync modifications.
2021-04-16 20:06:20 +05:30
Ravin Perera
83bb158dd3 Fixed integer serialization issue with bson. (#287) 2021-04-12 07:15:57 +05:30
Ravin Perera
370e03fe84 Switched user input nonce from string to uint64. (#286) 2021-04-11 14:51:57 +05:30
Ravin Perera
3941f5f6c6 Revamped ledger input/output storage and query execution. (#285)
- Ledger sqlite db improvements.
- Removed flatbuffers from ledger blob data storage.
- Added consensus private mode blob data filtration.
2021-04-11 11:45:14 +05:30