Chalith Desaman
5f40aebf08
NPL message refactor. ( #132 )
...
* Implemented feeding and broadcasting npl messages from the contract execution in real-time.
* Replaced npl pipe with domain sockets.
* Refactored npl read and write in nodejs echo contract
2020-10-14 15:18:00 +05:30
Ravin Perera
cb4d0c4f59
Ledger maintenance refactor. ( #130 )
...
* Added ledger namespace.
* Thread-safe lcl access and update.
* Refactored history sync and serving into a thread.
* Restructured ledger cache item.
2020-10-08 22:25:47 +05:30
ravinsp
31048f55b8
Fixed contract output fetcher thread join issue.
2020-10-06 17:00:38 +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
1245da52b2
Fixed configuration logic issues.
2020-09-26 23:12:55 +05:30
ravinsp
c41e0d2e72
Added latest hpfs binary.
2020-09-26 22:11:53 +05:30
ravinsp
6599fa32ca
Fixed compiler warnings on return values and null args.
2020-09-26 21:58:22 +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
ravinsp
05f356f6e0
Fixed log line severity indicator issue.
2020-09-26 21:33:15 +05:30
ravinsp
3f2e066424
Fixed string split issue with non-delimited strings.
2020-09-26 21:31:28 +05:30
Ravin Perera
4df0918f8e
Boost reference removal and dev setup script. ( #127 )
...
* Removed unneeded boost library links.
* Replaced boost string split with util function.
* Added dev setup script.
* Updated readme.
2020-09-26 18:20:07 +05:30
ravinsp
ef1a650f91
Added TLS on/off flag for user port.
2020-09-24 11:05:42 +05:30
Ravin Perera
5bfa722b24
Converted forked process logging to use stdout. ( #126 )
...
Forked processes are now logging to stdout to avoid race conditions with hpcore log file.
2020-09-24 10:40:17 +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
priyadharsun
91122474a1
Replaced Boost log with Plog. ( #124 )
2020-09-23 06:06:42 +05:30
Savinda Senevirathne
37629471c5
Refactored consensus to run on a separate thread. ( #123 )
2020-09-18 15:53:15 +05:30
Ravin Perera
180b1ec714
Marked fds to close on exec. ( #122 )
2020-09-18 11:40:03 +05:30
Ravin Perera
f622a252e6
Improved return codes of hpfs hash access interface. ( #121 )
2020-09-18 10:36:46 +05:30
Savinda Senevirathne
38ef3cc1b1
Replacing lock_guard from scoped_lock. ( #120 )
2020-09-18 10:29:34 +05:30
ravinsp
a5ef8df83e
VM scripts parallel lcl retrieval.
2020-09-18 10:12:56 +05:30
Chalith Desaman
0de20dba28
Parallel read request processing with thread pool. ( #118 )
2020-09-18 09:29:34 +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
priyadharsun
9cc5d46792
Outbound message re architecture ( #116 )
...
* Removing const keyword from send function definition in comm_session class.
* Rearchitecture outgoing messages.
* Removed concurrentqueue.h file out of the project.
* Updated ReadMe file.
* Minor comment reformattings.
* Readme update with concurrent queue github link.
* Removed should_stop_messaging_threads variable.
* Updated ReadMe file
* Updated and Changed the formatting of the Blake3 build script in ReadMe.
* Resolved review comment.
Co-authored-by: Savinda Senevirathne <savindadilsara@gmail.com >
2020-09-11 12:26:16 +05:30
ravinsp
3c231727e5
Cleaned up unused includes.
2020-09-11 06:42:04 +05:30
Ravin Perera
d2f45daf4c
Implemented multi-threaded inbound network message processing. ( #115 )
...
Used per-session thread to offload messages from network and a single thread for processing collected messages.
2020-09-10 15:40:08 +05:30
ravinsp
10cfb6e75f
VM cluster script improvements.
2020-09-09 13:19:08 +05:30
ravinsp
8c4b6662d7
Fixed some ledger request serving logs.
2020-09-07 15:02:32 +05:30
ravinsp
f121fa90fb
Fixed process kill waitpid cleanup issues.
2020-09-07 14:34:07 +05:30
ravinsp
4ad8c59051
Updated proposal purify and added logs.
2020-09-07 13:03:08 +05:30
ravinsp
8d1b1eab2f
Merge branch 'master' of https://github.com/HotPocketDev/core
2020-09-04 12:03:42 +05:30
ravinsp
974fe82395
Updated const parameters in util functions.
2020-09-04 12:03:36 +05:30
Chalith Desaman
00028e53b2
Removed crypto dependency from CMakeList ( #113 )
2020-09-04 12:01:23 +05:30
Savinda Senevirathne
2fc93d4291
Migrating json parsing from rapidjson to jsoncons. ( #112 )
...
* Migrating JSON parsing from RapidJSNO library to jsoncons library
* updating readme file and removing RapidJSON headers
2020-08-31 14:05:42 +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
94e87086dd
Fixed minor issue in nodejs client lib.
2020-08-08 22:03:28 +05:30
ravinsp
110b97f856
VM cluster script improvements.
2020-08-07 15:04:35 +05:30
Ravin Perera
a54a5f43da
Consensus proposal expiration time calculation fix. ( #106 )
...
* Logging improvements.
* Fixed time calculation issue in expiring proposals.
2020-08-07 13:03:02 +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
1328b06346
Improved hpfs initialisation error handling. ( #104 )
2020-08-04 12:05:27 +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
ravinsp
3eafef15fa
Fixed incorrect error code in user message.
2020-07-26 21:16:12 +05:30