Commit Graph

448 Commits

Author SHA1 Message Date
ravinsp
93e836fc61 Added duplicate check for self npl messages. 2023-01-21 22:27:49 +05:30
Udith Indrakantha
f902dc68c6 Hpversion formatted. (#373) 2022-11-16 13:13:34 +05:30
Udith Indrakantha
0c8c5aa0e3 Updating docker image tags with version number (#372) 2022-11-16 12:18:26 +05:30
Chalith Desaman
42cf454396 Override hp config environments from patch config (#371) 2022-10-20 12:53:47 +05:30
Chalith Desaman
8ad81c8031 Convert environment config to a key value map (#370) 2022-10-18 13:52:05 +05:30
ravinsp
7a4764b7c2 Moved C contract library to separate repo. 2022-08-09 17:56:44 +05:30
Chalith Desaman
62e89c3d0e Missing config restructure changes for sample contracts (#369) 2022-08-04 12:04:49 +05:30
Kasun Kavinda
6b871dafc5 Merge pull request #368 from HotPocketDev/read-threshold
Calculate majority threshold when needed
2022-08-03 10:36:13 +05:30
chalith
164595c4d7 Calculate majority threshold when needed 2022-07-29 13:51:37 +05:30
Udith Indrakantha
7f81d9ec10 Supporting config changes in c contract (#366) 2022-07-29 09:05:45 +05:30
Kasun Kavinda
3eaec9ac74 Applying configurable thresholds on consensus (#367) 2022-07-28 10:35:17 +05:30
Udith Indrakantha
2a4a7d3b34 Restructuring hp.cfg consensus and npl blocks (#365) 2022-07-22 11:36:06 +05:30
ravinsp
69481e5265 Updated examples nodejs contract lib version. 2022-07-14 20:52:14 +05:30
ravinsp
b8dfd116c8 Expose private key to contract args. 2022-07-14 20:31:11 +05:30
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
Ravin Perera
228818ff18 Disabled contract logs for read requests. (#362) 2022-03-02 12:21:57 +05:30
ravinsp
3fc44e9f5a Added openssl and certs to docker image. 2022-02-28 21:49:58 +05:30
Ravin Perera
5c349dfa95 Read requests synchronous replies. (#361) 2022-02-26 07:48:02 +05:30
Chalith Desaman
d5f0c1e664 Give group write permission for contract log files (#360) 2022-02-08 12:17:48 +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
Ravin Perera
589199a1af Passed unl stats to contract. (#357) 2022-01-26 18:51:01 +05:30
Chalith Desaman
0d7f52d1e7 Stream contract logs stream to console and log files (#356) 2022-01-11 16:48:15 +05:30
Chalith Desaman
150df0eabb Specify environment variables to contract binary (#355) 2022-01-11 13:41:33 +05:30
ravinsp
2d4cebb37e Added vscode config. 2021-12-24 13:35:12 +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
Savinda Senevirathne
ec3a09a942 Remove dead known peers. (#353)
- Removing unavailable nodes from req known remotes after exceeding failed attempt threshold(10) when peer discovery is enabled.
- Maintaining dead_known_peers to check when merging peer discovery results into known remotes.
- Not broadcasting dead nodes in peer discovery responses.
2021-11-29 14:32:36 +05:30
Chalith Desaman
a2e85551b4 Fix for known peers blank ip issue (#352)
Co-authored-by: ravinsp <33562092+ravinsp@users.noreply.github.com>
2021-11-25 11:53:32 +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
ravinsp
9a87307329 Fixed std exception in ip port parse int. 2021-11-02 16:59:14 +05:30
Ravin Perera
c720a777ce Control message to update peers. (#351) 2021-11-02 14:13:21 +05:30
ravinsp
33999f5726 Added hpfs rw release to prepare fs. 2021-10-15 20:59:35 +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
Ravin Perera
c686745c81 Fixed long lived known remotes mutex lock. (#346) 2021-08-28 21:22:18 +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
Chalith Desaman
d3df42db4e Increased max queue limits from 64 to 254 (#344) 2021-08-19 19:10:54 +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