Commit Graph

58 Commits

Author SHA1 Message Date
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
efbd775fa1 Refactored C contract lib interface. (#175) 2020-11-30 10:03:06 +05:30
Ravin Perera
332e5a4750 User input json/bson format improvements. (#174)
* Removed hex encoding in json input container.
* Refactored client lib exports.
2020-11-28 21:24:35 +05:30
Savinda Senevirathne
993eb11971 hpfs state hash checkpoint binary update. (#168) 2020-11-26 20:37:57 +05:30
Ravin Perera
9339e09026 Updated hpfs binary with log file block alignment improvements. (#163) 2020-11-24 21:48:13 +05:30
Ravin Perera
9c1f62dbde Migrated user inputs from domain sockets to memfd. (#159) 2020-11-23 21:52:05 +05:30
Ravin Perera
0098c3ddab Revamped NodeJS library examples. (#151) 2020-11-16 17:08:47 +05:30
Ravin Perera
e6b74f2c02 Added hpws binary with max msg size fix. (#148) 2020-11-11 10:55:02 +05:30
Ravin Perera
3ea0299964 Comm session re-architecture and self comm channel. (#145)
* Introduced self comm channel instead of loopback websocket.
* Introduced comm_session and comm_server inheritance hierarchy.
* Separated peer session and user session classes.
2020-11-08 22:14:08 +05:30
Ravin Perera
ba0cae019d Refactored consensus into 3 rounds. (#144)
* Refactored consensus into 3 stages and removed stage 0.
* Consensus threshold calculation improvements.
* Refactored candidate user input processing.
* Renamed proposal sent timestamp field.
* Introduced comm_session display name.
2020-11-07 15:01:01 +05:30
Ravin Perera
254e92fc7c Updated hpws binary with fd and zombie cleanup fixes. (#141) 2020-11-04 06:29:35 +05:30
Ravin Perera
a60444b57f Updated hpfs binary for fd leak and race condition fix. (#137) 2020-10-25 21:34:47 +05:30
Ravin Perera
00069b7a43 Updated ledger creation to report current lcl. (#136) 2020-10-24 07:22:28 +05:30
ravinsp
86fba4e87a Updated hpws binary to fix multi-threaded read/write. 2020-10-24 06:54:36 +05:30
ravinsp
5c4edfafb9 Updated hpfs binary due to file rename issue. 2020-10-23 15:21:22 +05:30
Ravin Perera
7a4e91b0dd Integrated hpfs in-proc sessions. (#134) 2020-10-23 10:04:45 +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
ravinsp
c41e0d2e72 Added latest hpfs binary. 2020-09-26 22:11:53 +05:30
Ravin Perera
4d920a9219 Fixed child process signal behaviours. (#128)
* Restored signal handlers upon fork().
* Improved error handling of hpfs process kill scenario.
* Set pgid for forked processes for graceful sending of SIGINT.
2020-09-26 21:39:26 +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
Ravin Perera
64efc53cef Added latest hpfs binary and integrated hpfs logging. (#117) 2020-09-15 21:55:13 +05:30
ravinsp
10cfb6e75f VM cluster script improvements. 2020-09-09 13:19:08 +05:30
Savinda Senevirathne
648b70892c Blake2 to Blake3 hash migration (#111)
* hash call update from blake2b to blake3
* including installation steps for blake3 in readme
2020-08-21 15:50:39 +05:30
Ravin Perera
465573ad29 Updated nodejs contract lib for streamed input reading. (#110) 2020-08-21 15:27:25 +05:30
Ravin Perera
baf5d8b14a Fixed incorrect memory access issues. (#109) 2020-08-20 15:20:11 +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
051e358f14 Fixed hpfs hash update issue. 2020-08-18 22:15:12 +05:30
Ravin Perera
611d362876 Integrated hpfs hash map cache. (#107) 2020-08-16 21:41:14 +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
4d55e642c2 Removed pubkey prefix when feeding contract stdin args. (#102) 2020-08-02 07:33:52 +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
b89dbe0a2c Rearchitected state sync with hpfs. (#96) 2020-06-10 20:51:45 +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
ravinsp
717dccc03a Removed the websocketd issue workaround. 2020-05-29 11:40:01 +05:30
Ravin Perera
ef4999f29e Added binary support for user sockets. (#90) 2020-04-05 13:04:32 +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
ravinsp
f8dd2e014b Added .Net Core ToDo contract example. 2020-01-15 11:21:00 +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