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
ravinsp
6a20bb04e9
Improved bson message field validations.
2020-07-22 15:10:31 +05:30
ravinsp
8221d5eb2d
Fixed issue with --maxframe value passed to websocketd.
2020-07-21 13:38:27 +05:30
Ravin Perera
311d20aba6
HP smart contract nodejs library. ( #101 )
2020-07-20 13:38:08 +05:30
Ravin Perera
09e72ef8bb
Added nodejs client library examples. ( #100 )
2020-07-09 14:22:43 +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
ravinsp
8103ef7af6
Updated user json message schema.
2020-06-24 12:59:29 +05:30
Ravin Perera
817ccd6a88
Implemented contract read requests. ( #98 )
2020-06-19 21:52:03 +05:30
Ravin Perera
04e230c82e
Improvements in state request/response handling. ( #97 )
2020-06-18 15:07:33 +05:30
Ravin Perera
b89dbe0a2c
Rearchitected state sync with hpfs. ( #96 )
2020-06-10 20:51:45 +05:30
ravinsp
9ee09bebb7
Renamed proc namespace.
2020-06-05 22:08:38 +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
ravinsp
4b62474234
websocketd close() workaround.
2020-05-28 22:42:00 +05:30
Ravidu Lashan
ef8ec0f51d
Added challenge issue and verification for peer connections ( #93 )
...
Implemented flatbuffer peer challenge issue and verification messages.
Replaced session flags with challenge status enum.
2020-04-20 05:55:42 +05:30
Ravin Perera
721daf19f3
Implemented websocket read bufferring. ( #92 )
2020-04-16 19:31:23 +05:30
Amila Ariyarathna
7a7dd8698d
Minor typo fixes ( #91 )
2020-04-15 08:01:25 +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
1904c1800a
Switched to FUSE nocache mode.
2020-02-18 14:49:23 +05:30
Richard Holland
57424accbe
fix precompiled header error
2020-02-13 23:31:28 +13:00
Ravin Perera
4fefb7ca71
Refactored stage sync logic. ( #86 )
...
* Cleaned up stage time sync logic and avoided extra missed rounds.
* Moved stage sync time logic to beginning of consensus stage.
* Removed check_majority_stage.
* Re-organised lcl sync flow.
2020-02-10 14:27:37 +01:00
Ravin Perera
8cf869cf9e
Observer mode fix ( #78 )
...
* Fixed observer mode consensus issues.
* Added startup_mode to fix mode change check.
2020-01-17 11:04:45 +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
e43cbc9326
User request status messages ( #76 )
2019-12-20 21:14:53 +05:30
Ravin Perera
d82ab8f626
Reorganized local and remote cluster setup scripts. ( #75 )
2019-12-20 11:29:52 +05:30
Ravidu Lashan
1972085b33
Changed boost error handling ( #74 )
2019-12-19 19:50:18 +05:30
Ravin Perera
7255dae84c
Code cleanup and naming consistency improvement. ( #73 )
2019-12-19 19:22:17 +05:30
Ravin Perera
b475e2796e
Integrated default app bill verification for user inputs. ( #72 )
...
Initial appbill implementation from @codetsunami integrated to hpcore. #47
2019-12-19 17:26:04 +05:30
Asanka Indrajith
23a3fa9b39
Consensus with network clock ( #71 )
2019-12-19 01:29:46 -05:00
ravinsp
d6751c3e52
Added better error handling for socket errors.
2019-12-16 14:49:33 +05:30
ravinsp
f54cabf6d0
Added consensus test scripts.
2019-12-16 12:26:27 +05:30
ravinsp
fc108523ca
Added stack trace logging for exceptions.
2019-12-15 23:28:49 +05:30
Asanka Indrajith
7a7aa6d5b3
Consensus enhancements and eliminating deadlocks after state inclusion. ( #69 )
2019-12-13 09:38:50 -05:00
Ravidu Lashan
fd2c960068
closed unclosed file descriptors ( #68 )
2019-12-13 11:23:25 +05:30
ravidulashan
8c94ec5647
Updated consensus messages.
2019-12-13 10:28:30 +05:30
Ravidu Lashan
1238e96423
State synchronization logic ( #67 )
...
* Added flat buffer state message request
* Added state vote
* Added state to ledger history and did necessary changes
* Completed receiveing state request
* State read/write helpers.
* Added new fbs schema
* Added more state_store helper methods.
* Started processing response
* Fixed compile errors
* Added get file length.
* Handled state content response
* Statefs code cleanup and fixes.
* Completed response handling
* Completed changes in handling state response
* State sync integration fixes.
* Fuse mount waiting logic.
* Fixed state syncing issues
* state sync fixes
* fixes
* State sync fixes.
* Fixed fs entries retrieval issues.
* changed desync logic
* Added directory helper functions.
* Handled return statemetns from statefs
* Fixed state folder deletion.
* handled errors from statefs
* Working for small files
* Got state sync working.
* Removed cout.
* Fixed catering for stae issue
* Fixed block hash map flatbuf issue.
* Added expected hash
* Added helpers for expected hash comparison.
* Improved state req/resp awaiting logic.
* Fixes.
* Fixes.
* Block request ordering fix.
* Removed couts
* Closed non-closed file descriptors
* Minor fixes.
* Cluster create script changes.
* Fixed reset time off issue.
2019-12-13 10:20:41 +05:30
Asanka Indrajith
b506b34b4f
Consensus reliability enhancements ( #62 )
...
* Implemented going observer mode, fixed genesis lcl retrieval issue and stage closing time.
* Fixed clearing all user output instead of consensed outputs
* Modified waiting time to improve performance.
* Fixed deadlock of waiting for insufficient peers because of recent changes.
* Removed initial waiting time for peer connections to start consensus.
2019-12-06 05:08:51 -05:00
ravinsp
7428d42aad
VM cluster scripts improvements.
2019-12-02 11:05:13 +05:30
ravinsp
5bfcaba58b
Improved vm cluster scripts.
2019-11-28 16:29:07 +05:30