MultiversX Tracker is Live!

What is -vbparams argument and what its the difference with -testactivationheight on Bitcoin functional tests?

Bitcoin Stack Exchange

Bitcoin News / Bitcoin Stack Exchange 190 Views

-testactivationheight is defined here.

argsman.AddArg("-testactivationname@height.", "Set the activation height of 'name' (segwit, bip34, dersig, cltv, csv). (regtest-only)", ArgsManager::ALLOW_ANY | ArgsManager::DEBUG_ONLY, OptionsCategory::DEBUG_TEST);

-vbparams is defined here.

argsman.AddArg("-vbparams=deployment:start:end[:min_activation_height]", "Use given start/end times and min_activation_height for specified version bits deployment (regtest-only)", ArgsManager::ALLOW_ANY | ArgsManager::DEBUG_ONLY, OptionsCategory::CHAINPARAMS);

-testactivationheight is setting the name (segwit, bip34, dersig, cltv, csv) of the soft fork and the activation height (on regtest) for each soft fork. It is not testing the deployment of a particular soft fork (miner signaling etc, how a soft fork can get activated), just the block heights at which soft forks activate.

-vbparams is setting the start, end and min_activation_height of a deployment (on regtest). It is testing the deployment of a particular soft fork rather than just setting the activation height for various soft forks.


Get BONUS $200 for FREE!

You can get bonuses upto $100 FREE BONUS when you:
πŸ’° Install these recommended apps:
πŸ’² SocialGood - 100% Crypto Back on Everyday Shopping
πŸ’² xPortal - The DeFi For The Next Billion
πŸ’² CryptoTab Browser - Lightweight, fast, and ready to mine!
πŸ’° Register on these recommended exchanges:
🟑 Binance🟑 Bitfinex🟑 Bitmart🟑 Bittrex🟑 Bitget
🟑 CoinEx🟑 Crypto.com🟑 Gate.io🟑 Huobi🟑 Kucoin.



Comments