Merge pull request #106 from ethereum/antidos

Support for Anti DoS hard forks
This commit is contained in:
Paweł Bylica 2016-11-24 16:28:01 +01:00 committed by GitHub
commit 915da0b984
1 changed files with 4 additions and 2 deletions

View File

@ -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
};