diff --git a/libconsensus b/libconsensus index cc576f29a..5033d9f12 160000 --- a/libconsensus +++ b/libconsensus @@ -1 +1 @@ -Subproject commit cc576f29aa6f229c3a3c1453d2a7c41e33036d15 +Subproject commit 5033d9f12637f7e559b4f466c96a3938bdb2da44 diff --git a/libethereum/ValidationSchemes.cpp b/libethereum/ValidationSchemes.cpp index e6b493e7e..b5c3bb815 100644 --- a/libethereum/ValidationSchemes.cpp +++ b/libethereum/ValidationSchemes.cpp @@ -223,7 +223,12 @@ void validateConfigJson( js::mObject const& _obj ) { { "archiveMode", { { js::bool_type }, JsonFieldPresence::Optional } }, { "syncFromCatchup", { { js::bool_type }, JsonFieldPresence::Optional } }, { "testSignatures", { { js::bool_type }, JsonFieldPresence::Optional } }, - { "wallets", { { js::obj_type }, JsonFieldPresence::Optional } } } ); + { "wallets", { { js::obj_type }, JsonFieldPresence::Optional } }, + { "catchupTimeoutSec", { { js::int_type }, JsonFieldPresence::Optional } }, + { "syncNodeCatchupTimeoutSec", { { js::int_type }, JsonFieldPresence::Optional } }, + { "readJsonHeaderTimeoutSec", { { js::int_type }, JsonFieldPresence::Optional } }, + { "syncNodeReadJsonHeaderTimeoutSec", + { { js::int_type }, JsonFieldPresence::Optional } } } ); std::string keyShareName = ""; try {