Savinda Senevirathne
140b2f80fd
Truncate log and hpfs index file from given sequence number. ( #276 )
...
- Truncation is invoked by making truncate system call on /hpfs::index.<seq_no> file.
- Updating hpfs binary.
- Truncation waits until any active RW and RO sessions are finished.
2021-03-29 13:22:55 +05:30
Chalith Desaman
44fa3134ea
Updating hpfs log index on ledger creation ( #274 )
2021-03-24 16:49:38 +05:30
Chalith Desaman
00a3da9a2b
Request historical shards when max shard range is increased ( #266 )
...
* Remove and request historical shards at the startup
* Shard history requesting only at the first consensus round
* Removed test log
* Skip max shard seq no file in removing loop
* Updated the code comments
* Persisting condition changed
* Fixed code comment typos
* Fixed code comment typos
* Resolved PR comments
* Halt consensus until completing only the latest shard sync
* Added meaningful comments
* Resolved PR comments and updated hpfs binary
* Logic enhancement and cleanup
* Cleanup the code comment
2021-03-12 12:13:46 +05:30
Savinda Senevirathne
70a83893b0
Fixing connection not closing when threshold exceeded from a single attempt. ( #261 )
...
* Fixing connection not closing when threshold exceeded from a sigle message.
* Updated hpws binary.
2021-03-05 16:58:41 +05:30
Ravin Perera
8eac87fb85
Added smart contract upgrade support. ( #250 )
...
Supports smart contract self-upgrades by allowing "post_exec.sh" script to be executed after consensus contract execution.
2021-02-18 17:25:42 +05:30
Ravin Perera
08680ee8d4
hpws upgrade with websocket protocol improvements. ( #232 )
...
* Updated hpws binary and header.
* Improved binary encoding support in client lib.
2021-02-01 22:31:28 +05:30
Ravin Perera
e8e7921ac1
Single-process hpfs integration. ( #212 )
2021-01-06 21:53:39 +05:30
ravinsp
99e4296746
Updated hpfs binary with rename fixes v2.
2021-01-01 07:44:52 +05:30
ravinsp
82d26f4047
Updated hpfs binary with rename support.
2020-12-31 08:53:47 +05:30
Savinda Senevirathne
cc7cae60a9
Provide error message when cannot bind to listening ports at startup. ( #199 )
2020-12-21 16:43:39 +05:30
Chalith Desaman
229af3e294
hpfs binary update ( #196 )
2020-12-16 11:33:09 +05:30
priyadharsun
9df8248af7
strdup memory cleanup in hpcore. ( #194 )
...
* strdup memory cleanup in hpcore.
* Updated hpfs binary.
2020-12-14 14:34:26 +05:30
Chalith Desaman
b86efb2d9b
Recursively deleting directories during state sync. ( #189 )
2020-12-09 13:43:34 +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
e6b74f2c02
Added hpws binary with max msg size fix. ( #148 )
2020-11-11 10:55:02 +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
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
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
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
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
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
Ravin Perera
b89dbe0a2c
Rearchitected state sync with hpfs. ( #96 )
2020-06-10 20:51:45 +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