device/trezor: env-configurable ports

This commit is contained in:
Dusan Klinec 2019-04-03 23:58:34 +02:00
parent c97a1f79d6
commit 41901b8deb
No known key found for this signature in database
GPG key ID: 6337E118CCBCE103
3 changed files with 54 additions and 22 deletions

View file

@ -138,7 +138,7 @@ int main(int argc, char* argv[])
// Bootstrapping common chain & accounts
const uint8_t initial_hf = (uint8_t)get_env_long("TEST_MIN_HF", 11);
const uint8_t max_hf = (uint8_t)get_env_long("TEST_MAX_HF", 11);
MINFO("Test versions " << MONERO_RELEASE_NAME << "' (v" << MONERO_VERSION_FULL);
MINFO("Test versions " << MONERO_RELEASE_NAME << "' (v" << MONERO_VERSION_FULL << ")");
MINFO("Testing hardforks [" << (int)initial_hf << ", " << (int)max_hf << "]");
cryptonote::core core_obj(nullptr);