ravinsp
7a4764b7c2
Moved C contract library to separate repo.
2022-08-09 17:56:44 +05:30
Chalith Desaman
62e89c3d0e
Missing config restructure changes for sample contracts ( #369 )
2022-08-04 12:04:49 +05:30
chalith
164595c4d7
Calculate majority threshold when needed
2022-07-29 13:51:37 +05:30
Udith Indrakantha
7f81d9ec10
Supporting config changes in c contract ( #366 )
2022-07-29 09:05:45 +05:30
ravinsp
b8dfd116c8
Expose private key to contract args.
2022-07-14 20:31:11 +05:30
Ravin Perera
5c349dfa95
Read requests synchronous replies. ( #361 )
2022-02-26 07:48:02 +05:30
Ravin Perera
5cef95c9f6
Enabled and fixed compiler warnings. ( #359 )
2022-01-28 16:03:34 +05:30
Ravin Perera
cf695af30b
Remove appbill. ( #358 )
2022-01-27 10:39:18 +05:30
Ravin Perera
589199a1af
Passed unl stats to contract. ( #357 )
2022-01-26 18:51:01 +05:30
Chalith Desaman
150df0eabb
Specify environment variables to contract binary ( #355 )
2022-01-11 13:41:33 +05:30
Ravin Perera
c720a777ce
Control message to update peers. ( #351 )
2021-11-02 14:13:21 +05:30
Chalith Desaman
4a5c3554bd
Hotpocket version changes ( #336 )
2021-07-28 16:33:58 +05:30
Chalith Desaman
2093b2a61e
C contract library changes. ( #327 )
2021-06-25 14:19:54 +05:30
Ravin Perera
45492f7c7f
Added stage slice config to control stage time allocation. ( #310 )
2021-05-19 16:59:01 +05:30
Chalith Desaman
363116fc2a
Added user input max ledger seq offset limit config ( #256 )
...
- Added new config for max input ledger offset inside contract section.
- Updated implementation of getting and updating patch config inside node and c contracts.
- Skip inputs if max ledger offset exceeds, when handling user inputs and nup messages.
2021-02-24 09:19:36 +05:30
Ravin Perera
6b8d60a404
Separated lcl string usage to sequence no and hash. ( #251 )
2021-02-18 18:28:38 +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
4c4e109233
Contract process resource limits. ( #243 )
2021-02-15 16:36:10 +05:30
ravinsp
3c6e718245
Minor fix in C contract lib.
2021-02-15 14:50:22 +05:30
Ravin Perera
0937ca0bbe
Npl outputs round limit. ( #242 )
2021-02-15 14:50:03 +05:30
Ravin Perera
0de7983504
User outputs round limit. ( #241 )
...
Implemented user outputs round limit and upgraded the contract libraries to support the configs.
2021-02-15 14:23:47 +05:30
Chalith Desaman
cf02108576
Interface to read patch config from c contract lib. ( #223 )
2021-01-18 14:38:39 +05:30
Savinda Senevirathne
fa0c1e8130
Support config patch in c contract library. ( #219 )
2021-01-15 14:49:54 +05:30
Chalith Desaman
99c768360e
Contract hpargs revamp. ( #217 )
2021-01-11 14:28:01 +05:30
Ravin Perera
8dc20bdab0
Naming changes and reintroducing key prefix to contract libraries. ( #202 )
2020-12-23 19:23:46 +05:30
Ravin Perera
08f09a1e6a
Minor library improvements. ( #198 )
2020-12-21 11:56:04 +05:30
Ravin Perera
b2fd8ae4b5
Contract and client library improvements. ( #184 )
...
* Added tty check to contract libs.
* Javascript browser-native client.
* Removed hex encoding in user json outputs.
* Updated file contract for new contract library.
2020-12-05 09:08:24 +05:30
Ravin Perera
efbd775fa1
Refactored C contract lib interface. ( #175 )
2020-11-30 10:03:06 +05:30
Ravin Perera
79b55258de
Poll-based contract output reading. ( #172 )
2020-11-27 15:57:36 +05:30
Ravin Perera
d476f787a7
Introduced UNL update control message. ( #169 )
2020-11-26 22:26:12 +05:30
Ravin Perera
bb223b1e3a
JSON message parsing for contract control messages. ( #166 )
2020-11-26 09:31:39 +05:30
Ravin Perera
9c1f62dbde
Migrated user inputs from domain sockets to memfd. ( #159 )
2020-11-23 21:52:05 +05:30
Ravin Perera
beedfb2709
C contract library and NodeJS library improvements. ( #157 )
2020-11-20 10:48:57 +05:30
Ravin Perera
311d20aba6
HP smart contract nodejs library. ( #101 )
2020-07-20 13:38:08 +05:30