Bitcoin, UASF and Skin in the Game

What Does BIP-148 Actually Do?

// BIP148 mandatory segwit signalling.
int64_t nMedianTimePast = pindex->GetMedianTimePast();
if ( (nMedianTimePast >= 1501545600) && // Tue 01 Aug 2017 00:00:00 UTC
(nMedianTimePast <= 1510704000) && // Wed 15 Nov 2017 00:00:00 UTC
(!IsWitnessLockedIn(pindex->pprev, chainparams.GetConsensus()) && // Segwit is not locked in
!IsWitnessEnabled(pindex->pprev, chainparams.GetConsensus())) ) // and is not active.
{
bool fVersionBits = (pindex->nVersion & VERSIONBITS_TOP_MASK) == VERSIONBITS_TOP_BITS;
bool fSegbit = (pindex->nVersion & VersionBitsMask(chainparams.GetConsensus(), Consensus::DEPLOYMENT_SEGWIT)) != 0;
if (!(fVersionBits && fSegbit)) {
return state.DoS(0, error("ConnectBlock(): relayed block must signal for segwit, please upgrade"), REJECT_INVALID, "bad-no-segwit");
}
}
  1. The block has to be found between the dates August 1, 2017 and November 15, 2017. August 1, 2017 is the date chosen by BIP-148 for block rejection. November 15, 2017 is when the current Segwit proposal expires.
  2. Segwit is not already on the network
  3. Block is not signaling Segwit.

How will this affect the network?

Who can make this happen?

What does this mean for me?

So why is it called “user-activated”?

What does supporting BIP-148 mean, anyway?

Users and BIP-148

Exchanges and BIP-148

Wallets and BIP-148

Merchants and BIP-148

Miners and BIP-148

Skin in the game

Conclusion

--

--

--

Bitcoin Educator, Developer and Entrepreneur. Book: https://amzn.to/2RSlnTb PGP Fingerprint: C1D7 97BE 7D10 5291 228C D70C FAA6 17E3 2679 E455

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

QTUM Chosen for Initial Release of KeyFi & Unbound Tech Security Platform

Why I as a beginner opted to invest in Nano cryptocurrency

A futuristic green raise arrow chart with abstract technology background

The Darkpool platform launched Cola token the world’s first decentralized lending project Cola

Exosama: Next Level

Collateral Pay Marketplace — Launch

XT.COM Will Launch SNACK、USDT、TRX、XT Staking on New Coin Staking

A Beginner’s Guide to Day Trading Cryptocurrency

Despite the weeks of sluggish trade, curious people are still willing to join the crypto game.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jimmy Song

Jimmy Song

Bitcoin Educator, Developer and Entrepreneur. Book: https://amzn.to/2RSlnTb PGP Fingerprint: C1D7 97BE 7D10 5291 228C D70C FAA6 17E3 2679 E455

More from Medium

Bountie Hunter — Get Access to Handpicked Crypto Gaming Projects

Cellframe nodes: How does it work! Your FAQs answered.

Mobie Network in 2022 | 3..2..1…

Nottingham Upgrade Fixes Previously Undetected V1 Inflation Bug