124 Commits

Author SHA1 Message Date
Alex Beregszaszi
9c3ff6d4b3 EVM-C: response is 20 bytes address to CREATE (and not 160 bytes) 2016-08-22 21:37:30 +01:00
Alex Beregszaszi
787644293c EVM-C: highlight CREATE in evm_call_fn 2016-08-22 21:37:30 +01:00
Alex Beregszaszi
2b46c72c39 EVM-C: trying to fix Doxygen for evm_update_fn 2016-08-22 21:37:30 +01:00
Paweł Bylica
70be53cf4d EVM-C: better names for functions supporting JITs
Rename evmjit_is_code_ready() to evm_get_code_status() and evmjit_compile() to evm_prepare_code().
2016-08-22 22:18:42 +02:00
Paweł Bylica
2b6773f128 EVM-C: Change evm_destroy_result() to evm_release_result_resources()
Be explicit how releasing execution result works. Also pass result by pointer.
2016-08-22 21:40:20 +02:00
Alex Beregszaszi
5c5c7087af EVM-C: use evm_variant::data for EVM_CODE_BY_ADDRESS so that Doxygen picks it up correctly 2016-08-22 12:06:15 +01:00
Alex Beregszaszi
d14fd8563f EVM-C: update description of evm_query_fn to match current implementation 2016-08-22 12:06:15 +01:00
Alex Beregszaszi
ce75278de7 EMV-C: include description for evm_update_fn 2016-08-22 11:42:07 +01:00
Alex Beregszaszi
d529efcf00 EVM-C: include struct keyword where types are not typedef'd 2016-08-22 11:42:07 +01: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
d26635abc2 EVM-C: get rid of evm_bytes_view type 2016-07-20 14:15:04 +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
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