Commit Graph

  • 70a83893b0 Fixing connection not closing when threshold exceeded from a single attempt. (#261) Savinda Senevirathne 2021-03-05 16:58:41 +05:30
  • c426e2a30e Accept proposals and npl messages from unl nodes only (#260) Chalith Desaman 2021-03-05 16:42:39 +05:30
  • 1ca4784688 Updating the self pubkey in the unl list when rekey the contract. (#259) Savinda Senevirathne 2021-03-05 13:49:20 +05:30
  • 1cebcb1c35 Config runtime re-save refactor. (#258) Ravin Perera 2021-02-25 14:25:12 +05:30
  • 5b56d9c1b3 Updated hpfs hash verification with file mode checks. (#257) Ravin Perera 2021-02-24 11:13:28 +05:30
  • 363116fc2a Added user input max ledger seq offset limit config (#256) Chalith Desaman 2021-02-24 09:19:36 +05:30
  • 137c199b07 P2P Flatbuffers schema refactor. (#255) Ravin Perera 2021-02-23 13:15:03 +05:30
  • 312713c296 Fixed disk io error - set fds to -1 when closing in hpws parent process (#254) Chalith Desaman 2021-02-23 12:23:55 +05:30
  • ff197a8bb6 Optimizing finding last shard sequence number. (#253) Savinda Senevirathne 2021-02-22 10:47:55 +05:30
  • a775b0e419 Configs to support full history mode. (#252) Savinda Senevirathne 2021-02-19 14:45:25 +05:30
  • 6b8d60a404 Separated lcl string usage to sequence no and hash. (#251) Ravin Perera 2021-02-18 18:28:38 +05:30
  • 8eac87fb85 Added smart contract upgrade support. (#250) Ravin Perera 2021-02-18 17:25:42 +05:30
  • 7059f68f11 Removed legacy lcl code and dependencies (#249) Chalith Desaman 2021-02-18 17:07:50 +05:30
  • 16c5b3fae2 Introducing ledger shards and new ledger syncing logic. (#247) Savinda Senevirathne 2021-02-18 11:24:05 +05:30
  • e394497698 Used uint32 for roundtime and timeout fields. (#248) Ravin Perera 2021-02-17 12:21:51 +05:30
  • 90641e0849 Persist discovered peers to config. (#246) Ravin Perera 2021-02-16 16:20:19 +05:30
  • 9d1163c8c3 Config flag to disable peer port listening. (#245) Ravin Perera 2021-02-16 14:27:03 +05:30
  • 9f4499653a Dynamic roundtime detection. (#244) Ravin Perera 2021-02-16 13:34:29 +05:30
  • 4c4e109233 Contract process resource limits. (#243) Ravin Perera 2021-02-15 16:36:10 +05:30
  • 3783c687a2 Improved missing config field error reporting. ravinsp 2021-02-15 15:10:44 +05:30
  • 3c6e718245 Minor fix in C contract lib. ravinsp 2021-02-15 14:50:22 +05:30
  • 0937ca0bbe Npl outputs round limit. (#242) Ravin Perera 2021-02-15 14:50:03 +05:30
  • 0de7983504 User outputs round limit. (#241) Ravin Perera 2021-02-15 14:23:47 +05:30
  • 033b5fa7bc User inputs round limit. (#240) Ravin Perera 2021-02-14 20:19:53 +05:30
  • 067883b778 Support external hpfs process. (#239) Ravin Perera 2021-02-09 15:23:03 +05:30
  • 94eedcaf5b Added roundtime offset based on contract id. (#238) Ravin Perera 2021-02-05 17:48:21 +05:30
  • c366e8acfa Generate tls key files on hpcore new. (#237) Ravin Perera 2021-02-05 15:36:11 +05:30
  • e1b1382599 Read request configuration options. (#236) Ravin Perera 2021-02-05 14:54:42 +05:30
  • a4399544b9 Separate contract and ledger file system mounts. (#235) Savinda Senevirathne 2021-02-05 11:48:52 +05:30
  • ae55a6ea5a Added rolling log configs. (#234) Ravin Perera 2021-02-03 11:18:56 +05:30
  • 9bca6700ae Contract stdout/err logging. (#233) Ravin Perera 2021-02-02 20:58:39 +05:30
  • d08d2630f6 Refactoring hpfs, hpfs sync and hpfs serve code. (#231) Savinda Senevirathne 2021-02-02 13:17:21 +05:30
  • 08680ee8d4 hpws upgrade with websocket protocol improvements. (#232) Ravin Perera 2021-02-01 22:31:28 +05:30
  • d34b7bce53 Performance metric collection scripts. (#230) Ravin Perera 2021-01-31 18:08:32 +05:30
  • 62c91ad90c sqlite wrapper for ledger database. (#228) adheeb-adb 2021-01-29 18:06:31 +05:30
  • 3d36912c25 Added configs to max in connections per remote host. (#229) Ravin Perera 2021-01-29 13:05:39 +05:30
  • 70493d827d Contract id mismatch log message. (#227) Ravin Perera 2021-01-22 16:36:34 +05:30
  • 610b67cec0 Contract execute config flag. (#226) Ravin Perera 2021-01-22 14:33:07 +05:30
  • eef6448f08 Handle unl change announcement in js client library. (#225) Chalith Desaman 2021-01-19 15:29:17 +05:30
  • 146bb1d46c Apply patch file changes only after consensus verification. (#222) Savinda Senevirathne 2021-01-19 11:56:33 +05:30
  • 73f5eea451 Unl change announcement to connected users. (#224) Chalith Desaman 2021-01-19 11:33:27 +05:30
  • cf02108576 Interface to read patch config from c contract lib. (#223) Chalith Desaman 2021-01-18 14:38:39 +05:30
  • a816b9079b Return error when unable to create contract directory. (#221) adheeb-adb 2021-01-15 14:51:44 +05:30
  • fa0c1e8130 Support config patch in c contract library. (#219) Savinda Senevirathne 2021-01-15 14:49:54 +05:30
  • 0914994772 Replaced ifstreams with file read inside the config and patch config read. (#220) Chalith Desaman 2021-01-15 11:50:26 +05:30
  • b15d8260cc Read patch config implementation for js contract lib. (#218) Chalith Desaman 2021-01-12 09:48:14 +05:30
  • 99c768360e Contract hpargs revamp. (#217) Chalith Desaman 2021-01-11 14:28:01 +05:30
  • 11cb57e9ee Keep hp cfg and patch cfg consistent. (#216) Ravin Perera 2021-01-10 17:48:12 +05:30
  • d39b9a56ec Fixed crash on foked lcl sync. (#215) Ravin Perera 2021-01-08 21:25:17 +05:30
  • 12a8252598 Patch config update method for js contract library (#214) Chalith Desaman 2021-01-08 17:38:21 +05:30
  • 27b08c0c9f Stop applying patch config unl changes to hp.cfg file after patch file changes. (#213) Savinda Senevirathne 2021-01-07 12:12:47 +05:30
  • e8e7921ac1 Single-process hpfs integration. (#212) Ravin Perera 2021-01-06 21:53:39 +05:30
  • bed8205ca8 Config patch change detection. (#211) Savinda Senevirathne 2021-01-06 20:02:14 +05:30
  • c87ae6693d Patch config and hpfs sync refactor. (#208) Savinda Senevirathne 2021-01-06 10:50:58 +05:30
  • a16eb39d1f User connections enable/disable config flag (#209) Chalith Desaman 2021-01-06 09:36:48 +05:30
  • e8a3882176 Prevent running multiple hpcore instances from the same directory (#207) Chalith Desaman 2021-01-05 11:18:23 +05:30
  • 99e4296746 Updated hpfs binary with rename fixes v2. ravinsp 2021-01-01 07:44:52 +05:30
  • 82d26f4047 Updated hpfs binary with rename support. ravinsp 2020-12-31 08:53:47 +05:30
  • 47c0dfd225 Adding support for contract config update via a patch file. (#206) Savinda Senevirathne 2020-12-28 15:35:17 +05:30
  • 63e3050046 Validating and displaying missing config fields in config read. (#205) Savinda Senevirathne 2020-12-24 11:40:02 +05:30
  • f97d7de530 Moved h32 hash type from hpfs to util. (#204) Ravin Perera 2020-12-23 21:58:49 +05:30
  • c25ebe66f4 Util helper func simplification. (#203) Ravin Perera 2020-12-23 21:49:13 +05:30
  • 8dc20bdab0 Naming changes and reintroducing key prefix to contract libraries. (#202) Ravin Perera 2020-12-23 19:23:46 +05:30
  • e835e18d18 New config file structure. (#201) Savinda Senevirathne 2020-12-23 18:52:58 +05:30
  • 1a954ad96e Implemented output signature checks. (#200) Ravin Perera 2020-12-22 16:55:44 +05:30
  • cc7cae60a9 Provide error message when cannot bind to listening ports at startup. (#199) Savinda Senevirathne 2020-12-21 16:43:39 +05:30
  • 08f09a1e6a Minor library improvements. (#198) Ravin Perera 2020-12-21 11:56:04 +05:30
  • 13c6b81b60 Fixed state sync abandon stale requests issue. ravinsp 2020-12-18 06:26:46 +05:30
  • 21482a3f8a Input nonce expiry based on max ledger sequence no. (#197) Chalith Desaman 2020-12-17 17:19:27 +05:30
  • 229af3e294 hpfs binary update (#196) Chalith Desaman 2020-12-16 11:33:09 +05:30
  • 99668be944 Added version to the ledger file structure. (#195) Chalith Desaman 2020-12-15 13:01:11 +05:30
  • 9df8248af7 strdup memory cleanup in hpcore. (#194) priyadharsun 2020-12-14 14:34:26 +05:30
  • bfbf41fb32 Fixed issue in ledger sync top ledger removal. (#193) Ravin Perera 2020-12-14 12:35:07 +05:30
  • 17313dae29 Comm session race conditions. (#192) Savinda Senevirathne 2020-12-11 16:36:04 +05:30
  • f2ed9040c0 User protocol upgrade and js client lib. (#191) Ravin Perera 2020-12-11 11:02:58 +05:30
  • b77a3fc924 Validate peer state response content against the hash. (#190) Chalith Desaman 2020-12-10 17:32:18 +05:30
  • b86efb2d9b Recursively deleting directories during state sync. (#189) Chalith Desaman 2020-12-09 13:43:34 +05:30
  • 0bc53fe23c Review UNL message rules. (#188) Savinda Senevirathne 2020-12-09 13:34:40 +05:30
  • fe9e276f8d Consensus deadlock fixes and reliability improvements. (#187) Ravin Perera 2020-12-08 15:17:27 +05:30
  • 7bf0475b6f Subject unl list to consensus. (#186) Savinda Senevirathne 2020-12-08 15:05:38 +05:30
  • a87e8a0c7e Subject UNL changeset to consensus. (#183) Chalith Desaman 2020-12-07 13:06:58 +05:30
  • da0eb08512 SIGTERM handler and minor startup improvements. (#185) Ravin Perera 2020-12-06 10:38:35 +05:30
  • b2fd8ae4b5 Contract and client library improvements. (#184) Ravin Perera 2020-12-05 09:08:24 +05:30
  • a421f13d91 Introduce consensus/npl public/private flags to config. (#182) Savinda Senevirathne 2020-12-03 08:12:56 +05:30
  • f3055822ed Introduce pubkey/unl tracking to Peer sessions. (#181) Savinda Senevirathne 2020-12-02 13:05:06 +05:30
  • 596fd2b43c Added contract id verification. (#180) Ravin Perera 2020-12-01 16:08:41 +05:30
  • de71b97371 Stopped skipping self pub key from the config unl (#179) Chalith Desaman 2020-12-01 14:23:28 +05:30
  • 48cde30de6 Validating hpfs and hpws binary paths on startup (#178) Chalith Desaman 2020-12-01 10:43:00 +05:30
  • 12335d09c4 Skip ledger truncation when full history is enabled (#177) Chalith Desaman 2020-11-30 22:21:56 +05:30
  • dfe42f827b Refactored node contract lib control flow. (#176) Ravin Perera 2020-11-30 17:39:07 +05:30
  • 2f5d95ae7a Save raw inputs alongside the ledger (#167) Chalith Desaman 2020-11-30 15:42:20 +05:30
  • e90e9bb5dd Limiting NPL message broadcasting and forwarding to trusted nodes. (#173) Savinda Senevirathne 2020-11-30 11:11:40 +05:30
  • efbd775fa1 Refactored C contract lib interface. (#175) Ravin Perera 2020-11-30 10:03:06 +05:30
  • 332e5a4750 User input json/bson format improvements. (#174) Ravin Perera 2020-11-28 21:24:35 +05:30
  • 79b55258de Poll-based contract output reading. (#172) Ravin Perera 2020-11-27 15:57:36 +05:30
  • 80392cc995 Persisted contract UNL updates in config file. (#171) Ravin Perera 2020-11-27 09:06:17 +05:30
  • 4de1bb2393 Already submitted input detection. (#170) Ravin Perera 2020-11-26 23:27:40 +05:30
  • d476f787a7 Introduced UNL update control message. (#169) Ravin Perera 2020-11-26 22:26:12 +05:30
  • 993eb11971 hpfs state hash checkpoint binary update. (#168) Savinda Senevirathne 2020-11-26 20:37:57 +05:30
  • bb223b1e3a JSON message parsing for contract control messages. (#166) Ravin Perera 2020-11-26 09:31:39 +05:30