Commit Graph

872 Commits

Author SHA1 Message Date
Paweł Bylica 62ccafd8b2 Merge pull request #70: Implement full EVM-C interface 2016-08-17 19:27:24 +02:00
Paweł Bylica a4bb85250d EVM-C: allow correct symbol exporting
This is a bit strange but MSVC requires dllexport spec to be applied to some (not all) function declarations. So the evm.h header will now use EXPORT macro for that if that macro is defined by the implementation.
2016-07-29 13:14:12 +02:00
Paweł Bylica 2f68fdf592 EVM-C: improve enums
Explicitly enumarate enum members to be easier to use by langugaes not supporting C enums (like Python ctypes module).
2016-07-29 12:07:11 +02:00
Paweł Bylica 0fea9c9094 EVM-C: Move evm_mode param directly to evm_execute() 2016-07-28 12:45:01 +02:00
Paweł Bylica ae3d37d361 EVM-C: Use unsigned char (uint8_t) to reference arrays of bytes 2016-07-26 14:00:59 +02:00
Paweł Bylica 180fa2b23e Extend EVM-C with code compilation support suitable for jits 2016-07-26 13:31:04 +02:00
Paweł Bylica 801a38f6a4 Merge pull request #67: Use EVM-C callbacks functions
Merge remote-tracking branch 'origin/evmc' into develop.
2016-07-26 13:29:23 +02:00
Paweł Bylica d26635abc2 EVM-C: get rid of evm_bytes_view type 2016-07-20 14:15:04 +02:00
Paweł Bylica 8684f22c43 Fix build of CAPI example 2016-07-20 13:31:09 +02:00
Paweł Bylica a7bfe3d201 Implement CREATE using evm_call() function form EVM-C API 2016-07-15 16:40:34 +02:00
Paweł Bylica 9869772ad7 EVM-C: use EVM_EXCEPTION constant as a call failure indicator 2016-07-15 14:37:06 +02:00
Paweł Bylica f92ce99a5a Simplify evm_call_fn of EVM-C and fix C ABI calls 2016-07-15 14:21:02 +02:00
Paweł Bylica c83060626f Implement calls using evm_call() function form EVM-C API 2016-07-14 16:56:16 +02:00
Paweł Bylica 4198c0d503 EVM-C: Pass logs using evm_update() function 2016-07-05 13:18:36 +02:00
Paweł Bylica 4d0fd3e24e EVM-C: Register selfdestruction by evm_update()
This allows simplifying the return structure.
2016-07-05 00:55:04 +02:00
Paweł Bylica c7d4a57a90 EVM-C: Change store_storage() to update() function
Change store_storage() function to more generic update() function for modifying a contract state. The update() function is going to be used also for logs and selfdesctruction.
2016-07-05 00:03:25 +02:00
Paweł Bylica 7db0430bd8 EVM-C: Add forgotten blockhash query. 2016-07-04 18:34:03 +02:00
Paweł Bylica eab17398a6 Merge pull request #55: EVM-C: C interface to EVM
The draft of the EVM-C -- C interface to Ethereum Virtual Machine.
2016-06-24 12:53:14 +02:00
Paweł Bylica 565faa0b40 docs: Add doxygen config to produce documentation of EVM-C 2016-06-24 11:41:10 +02:00
Paweł Bylica 57afb98d2c Example usage of EVM-C 2016-06-24 11:40:06 +02:00
Paweł Bylica 945b2f54ad EVM-C: C interface to EVM
The draft of the EVM-C -- C interface to Ethereum Virtual Machine.
2016-06-24 11:35:33 +02:00
Paweł Bylica 651685f1e4 Create LICENSE.md 2015-01-29 15:35:34 +01:00