Commit Graph

466 Commits

Author SHA1 Message Date
supunvindula
11a8d7abda did changes for unix socket and two way communication 2023-10-18 08:12:29 +05:30
Dulana Peiris
ed5186759b Added one way pipe communication and argument passing 2023-10-17 14:51:02 +05:30
supunvindula
6c8ca8c409 make execv run inside the child process 2023-10-13 11:28:06 +05:30
supunvindula
5bdda39a7b added basic hpsh filepath and structure 2023-10-12 13:03:50 +05:30
Dulana Peiris
41d2f5a447 Added basic shell command I/O functionality 2023-10-10 12:28:07 +05:30
Chalith Desaman
f8877fd61a Increased local docker image version (#385) 2023-09-23 10:27:50 +05:30
Chalith Desaman
ed974b0425 hpws udp visa implementation (#383) 2023-09-23 10:15:52 +05:30
Kithmini Gunawardhana
e7e1268a99 Networking fixes related to peer connectivity issues (#384) 2023-09-23 10:03:45 +05:30
Kithmini Gunawardhana
6a2384cd03 Usage of nonce hash for ledger hash generation (#375) 2023-08-03 16:52:56 +05:30
Chalith Desaman
0022bd51e5 Node version was updated to 20.4.0 (Cur Version) (#378) 2023-07-21 16:17:17 +05:30
Chalith Desaman
29c8201974 Do a chmod to avoid umask (#377) 2023-07-05 11:07:39 +05:30
Chalith Desaman
b8b8de662d Bugfix for HotPocket crash when syncing empty files (#376) 2023-06-19 09:58:03 +05:30
ravinsp
8ee33030e6 Contract exec timeout. 2023-06-03 21:21:29 +05:30
ravinsp
dff75a6fae Added logging for known peer connection attempt reporting. 2023-06-03 19:03:32 +05:30
Kithmini Gunawardhana
d68472d3b4 HotPocket Version upgrade (#374) 2023-05-08 11:40:43 +05:30
ravinsp
33e536c31b Used consistent wording for HotPocket. 2023-05-07 14:08:55 +05:30
ravinsp
9b864ad1e8 Improved connection handling loop. 2023-05-07 14:02:35 +05:30
ravinsp
2455b5b898 Improved contract fd processing interval. 2023-05-06 19:16:36 +05:30
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