mirror of https://github.com/status-im/evmc.git
Merge pull request #106 from ethereum/antidos
Support for Anti DoS hard forks
This commit is contained in:
commit
915da0b984
|
@ -365,10 +365,12 @@ typedef int (*evm_set_option_fn)(struct evm_instance* evm,
|
|||
|
||||
|
||||
/// EVM compatibility mode aka chain mode.
|
||||
/// TODO: Can you suggest better name?
|
||||
/// The names for the last two hard forks come from Python implementation.
|
||||
enum evm_mode {
|
||||
EVM_FRONTIER = 0,
|
||||
EVM_HOMESTEAD = 1
|
||||
EVM_HOMESTEAD = 1,
|
||||
EVM_ANTI_DOS = 2,
|
||||
EVM_CLEARING = 3
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue