Misplaced Pages

SegWit

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

Segregated Witness , or SegWit , is the name used for an implemented soft fork change in the transaction format of Bitcoin .

#67932

38-482: The formal title " Segregated Witness (Consensus layer) " had Bitcoin Improvement Proposal number BIP141. The declared purpose was to prevent nonintentional bitcoin transaction malleability , allow optional data transmission, and to bypass certain protocol restrictions (such as the block size limit ) with a soft fork . Segregated Witness was activated on 24 August 2017. It was also intended to mitigate

76-469: A blockchain size limitation problem that reduces bitcoin transaction speed. It does this by splitting the transaction into two segments, removing the unlocking signature ("witness" data) from the original portion and appending it as a separate structure at the end. The original section would continue to hold the sender and receiver data, and the new "witness" structure would contain scripts and signatures. The original data segment would be counted normally, but

114-405: A cryptographic hash , such as the digital signature used to identify a cryptocurrency transaction. Transaction malleability is considered to be one of the largest ongoing threats to blockchain technology, as it can compromise financial transactions such as Bitcoin and other cryptocurrency transactions, and cause other issues in the network. The transaction malleability problem became known to

152-548: A "contingency plan" in case the bitcoin community chose to implement SegWit . The same month, the first software implementation was introduced under the name Bitcoin ABC during a conference. In July 2017, the mining pool ViaBTC suggested the name Bitcoin Cash for the fork. Additionally, Roger Ver and other expressed that adopting BIP 91 (which was intended to activate SegWit ) appeared to benefit those who viewed bitcoin primarily as

190-443: A "tag" system, allowing more transactions per block. This is not compatible with systems that do not upgrade. A transaction uses unused outputs from a previous transaction(s) known as unspent transaction outputs (UTXO). This results in a chain of related transactions linked by their transaction identifier. However, it is possible for someone to change (mutate) unconfirmed bitcoin transactions without making them invalid, which changes

228-487: A commodity and not under the jurisdiction of the SEC. In 2022, Colorado began accepting bitcoin, Bitcoin Cash, Ethereum, and Litecoin for state taxes and fee payments. New York's legislature introduced a bill that would establish "that state agencies are allowed to accept cryptocurrencies such as bitcoin, Ethereum , Litecoin , and Bitcoin Cash as payment." The bill is currently in the assembly committee . Gary Gensler ,

266-560: A common set of rules for the cryptocurrency. On 21 July 2017, bitcoin miners implemented a software upgrade known as Bitcoin Improvement Proposal (BIP) 91, which activated the Segregated Witness (SegWit) upgrade at block 477,120. SegWit was a contentious update as it enabled second-layer solutions on bitcoin, such as the Lightning Network . A group of bitcoin activists, developers, and China-based miners opposed

304-501: A contested hard fork where the project split into two cryptocurrencies: Bitcoin Cash and Bitcoin Satoshi Vision . In November 2020, there was a second contested hard fork where the leading node implementation, BitcoinABC, created BCHA (now dubbed "eCash" or "XEC"). In 2017 there were two factions of Bitcoin supporters: those that supported large blocks and those who preferred small blocks. The Bitcoin Cash faction favored

342-412: A digital investment rather than as means of everyday transactions. The Bitcoin Cash fork occurred on 1 August 2017, at block 478,559. Up to the previous block (478,558), the bitcoin and Bitcoin Cash blockchains were identical. This means that anyone who owned one bitcoin at the time of the fork automatically owned one unit of Bitcoin Cash. The technical difference between Bitcoin Cash and bitcoin at

380-440: A given time. Some sites work around this problem using "off-chain payments" conducting transactions without writing them to the blockchain, which involves various trade offs regarding trust and transaction finality. Others have proposed changes to bitcoin that would reform the block format in a backward-incompatible way. For example, FlexTrans (Flexible Transactions) would make transactions smaller by changing how they are described to

418-507: A letter to the Commodities Futures Trading Commission (CFTC) outlining its proposal for monthly cash-settled futures contracts for Bitcoin Cash. On 1 April 2024, Coinbase Derivatives announced plans to introduce futures trading for Bitcoin Cash. On 5 July 2024, Mt. Gox announced that it began repayments of bitcoin and Bitcoin Cash to some of its creditors. On 10 September 2024, eToro settled with

SECTION 10

#1732773163068

456-428: A new block is influenced by a parameter called the mining difficulty. If the total amount of mining power increases, an increase of the mining difficulty can keep the block time roughly constant. Vice versa, if the mining power decreases, a decrease of the mining difficulty can keep the block time roughly constant. To keep the block generation time equal to ten minutes on average, Bitcoin Cash uses an algorithm adjusting

494-647: A split which created Bitcoin Cash . As of February 2018, SegWit transactions exceed 30%. Segregated Witness (BIP141) should not be confused with SegWit2x (SegWit2Mb). In May 2017, Digital Currency Group (not to be confused with the Digital Currency Initiative of the MIT Media Lab ) announced it had offered a proposal, referred to as SegWit2x ("the New York Agreement"), activating Segregated Witness at an 80% threshold of

532-712: A tweet in November 2017. The anonymous @Bitcoin account on X endorsed Bitcoin Cash in 2018. The account was later briefly suspended by Twitter, possibly related to a "flood" of reports claiming "spam, hate speech, or price pumping" and brigading by some users calling on others to report it as a "fake @Bitcoin account." It was later reinstated. Emin Gün Sirer , a professor at Cornell, stated that Bitcoin Cash primarily focused on everyday use (largely through "grassroots, organic," merchant onboarding/adoption) whereas bitcoin had an "enormous focus on price, an enormous focus on

570-412: A very long time, slowing down the whole system. Therefore, a block size limit of 1 MB was introduced. The current bitcoin blockchain design is regarded as having two shortcomings. A new block is added to the chain at random intervals averaging, by design, ten minutes ( proof of work causes this delay). Together with the limit on block-size, this limits the number of transactions that can be processed in

608-699: Is confirmed. For example, it is possible for a hacker to fool computer systems into erroneously sending multiple transactions by manipulating the TX ID of a bitcoin transaction. Bitcoin Cash Bitcoin Cash (also referred to as Bcash ) is a cryptocurrency that is a fork of bitcoin . Launched in 2017, Bitcoin Cash is considered an altcoin or spin-off of bitcoin . In November 2018, Bitcoin Cash further split into two separate cryptocurrencies: Bitcoin Cash (BCH) and Bitcoin Satoshi Vision (BSV). Since its inception, bitcoin users maintained

646-404: Is variously described as a spin-off, a strand, a product of a hard fork, an offshoot, a clone, a second version, or an altcoin . On 1 August 2017, Bitcoin Cash began trading at approximately $ 240, while bitcoin was priced around $ 2,700. On 20 December 2017, Bitcoin Cash reached an intraday high of $ 4,355.62. However, by 23 August 2018, its price had declined by 88% to $ 519.12. In 2018,

684-411: The "witness" segment would, in effect, be counted as a quarter of its real size. Bitcoin is a cryptocurrency , a form of currency using cryptography to keep transactions secure. A collection of bitcoin transactions prefaced by a block header, protected by proof of work, and recorded on a network of computers is called a "block". All blocks are tied together sequentially by using a cryptographic hash on

722-583: The 'store of value' narrative". Bitcoin Cash trades on digital currency exchanges using the Bitcoin Cash name and the BCH currency code for the cryptocurrency. On 26 March 2018, OKEx removed all Bitcoin Cash trading pairs except for BCH/BTC, BCH/ ETH and BCH/ USDT due to "inadequate liquidity". As of May 2018 , daily transaction numbers for Bitcoin Cash were about one-tenth of those of bitcoin. Coinbase listed Bitcoin Cash on 19 December 2017 and

760-696: The Bitcoin Cash maximum block size was raised from 8MB to 32MB. In 2018 Bitcoin Core developer Cory Fields found a bug in the Bitcoin ABC software that would have allowed an attacker to create a block causing a chain split. Fields notified the development team about it, and the bug was fixed. As of 2024, over 40 major businesses accept Bitcoin Cash in Antigua and Barbuda . United States regulators have stated that Bitcoin Cash should be supervised as

798-699: The Bitcoin community in 2011. In February 2014, Japanese Bitcoin exchange Mt. Gox revealed that they had been targeted by an exploit in Bitcoin protocol called "Transaction Malleability". At the time, Mt. Gox was the world's largest bitcoin exchange, handling approximately 70% of all bitcoin transactions. The company reportedly lost hundreds of millions of dollars worth of Bitcoin due to this bug. After failing to attract enough investors to offset its losses, Mt. Gox suspended withdrawals, and closed its website. The company soon filed for bankruptcy with CEO Mark Karpelès resigning. Shortly after Mt. Gox's announcement, it

SECTION 20

#1732773163068

836-483: The Coinbase platform experienced price abnormalities that led to an insider trading investigation. As of 2018, Bitcoin Cash payments are supported by payment service providers such as BitPay . Both Robinhood and Revolut added support for Bitcoin Cash. As of 2021, PayPal has allowed users to buy, sell, hold, and checkout with Bitcoin Cash, bitcoin, ethereum, and litecoin, although PayPal users were not given

874-447: The SEC agreeing to pay fines for operating as an unregistered trading platform. As a result of this settlement, only bitcoin, Ethereum, and Bitcoin Cash will continue to be traded on the platform. Bitcoin Cash uses a proof-of-work algorithm to timestamp every new block. It can be described as a partial inversion of a hash function. Bitcoin Cash targets a new block to be generated every ten minutes on average. The time needed to calculate

912-506: The Segwit part of the agreement before the 1 August 2017 UASF , thereby attempting to avoid the risk of a hard fork for the bitcoin network. On 8 November 2017, the developers of SegWit2x announced that the hard fork planned for around 16 November 2017 was canceled due to a lack of consensus. Transaction malleability problem The transaction malleability problem is a vulnerability in blockchain which can be exploited by altering

950-812: The ability to transfer cryptocurrency outside of PayPal's system. In 2022, PayPal enabled the sending Bitcoin Cash off app to users' own wallets/outside services. Venmo also began supporting the cryptocurrency. In 2023, Venmo also enabled support for transferring Bitcoin Cash off platform. As of 2021, the Dallas Mavericks accept Bitcoin Cash for payments. In 2021, Grayscale filed for its Bitcoin Cash Trust (ticker: BCHG) to become SEC-reporting. Separately, Grayscale's Digital Large Cap (GDLC) fund includes Bitcoin Cash in its composition. In June 2023, EDX Markets listed bitcoin, Ethereum, Bitcoin Cash, and Litecoin. On 7 March 2024, Coinbase submitted

988-476: The current chairperson of the SEC, stated in 2018 that Bitcoin Cash does not "appear to trigger the Howey Test ." Gensler also stated in a 2018 speech "over 70% of the crypto market is bitcoin, Ether, Litecoin, Bitcoin Cash. Why did I name those four? They're not securities." However, in his official capacity, neither Gensler nor the SEC have assumed these positions. In November 2018, Bitcoin Cash experienced

1026-453: The mining difficulty parameter. This algorithm is called the difficulty adjustment algorithm (DAA) . Originally, both bitcoin and Bitcoin Cash used the same difficulty adjustment algorithm, adjusting the mining difficulty parameter every 2016 blocks. Since 1 August 2017, Bitcoin Cash also used an addition to the DAA, called an Emergency Difficulty Adjustment (EDA) algorithm. EDA was used alongside

1064-470: The original DAA and it was designed to decrease the mining difficulty of Bitcoin Cash by 20%, if the time difference between 6 successive blocks was greater than 12 hours. EDA adjustments caused instabilities in mining difficulty of the Bitcoin Cash system, resulting in Bitcoin Cash being thousands of blocks ahead of bitcoin. To address the problem with stability, a change of the Bitcoin Cash DAA

1102-501: The previous block and storing its output in the next. This forms a blockchain . Each block contains information about who sends and receives a given unit of bitcoin (a transaction), as well as the signature(s) that approves each transaction. Originally, there was no limit to the size of blocks. However, this allowed malicious actors to make up fake "block" data that was very long as a form of denial-of-service attack (DoS attack). These fake blocks would be detected, but doing so would take

1140-426: The proposed SegWit upgrades designed to increase bitcoin's capacity ; these stakeholders pushed forward alternative plans which would increase the block size limit to eight megabytes through a hard fork . Supporters of a block size increase were more committed to an on-chain medium of exchange function. In June 2017, hardware manufacturer Bitmain described a proposed hard fork with an increased block size as

1178-454: The rest of the transaction data, so that the transaction ID is no longer malleable. The activation window for the SegWit upgrade started at Midnight 15 November 2016 UTC, and would run until Midnight 15 November 2017 UTC. SegWit would only be activated once at least 95% of miners signaled readiness for the upgrade across a target adjustment period of 2016 blocks. On 9 August 2017 a milestone

SegWit - Misplaced Pages Continue

1216-420: The time of the fork is that Bitcoin Cash supports larger block sizes. This allows the Bitcoin Cash blockchain to process more transactions per second compared to bitcoin. Bitcoin Cash was the first of the bitcoin forks , wherein software development teams modified bitcoin's code and released coins with "bitcoin" in their names, effectively creating "money out of thin air." In relation to bitcoin , Bitcoin Cash

1254-531: The total bitcoin hash rate, signaling at bit 4; and activating a 2 MB block size limit within six months with support in excess of 80% of the total bitcoin hash rate. As of mid-2017, although the SegWit2x proposal had support in excess of 90% of the hashrate, however, the SegWit2x proposal has been controversial in that work on the project is limited to an invitation only group of developers. In mid-July 2017, it became apparent that miners supported implementation of

1292-486: The transaction's identifier, making child transactions invalid (i.e., link between transactions are broken). The signature data called the witness would be separated from the Merkle tree record of who is sending or receiving the bitcoins. The witness data is moved to the end, and each byte of it would only count as one quarter of a "unit". It also addresses signature malleability, by serializing signatures separately from

1330-496: The use of its currency as a medium of exchange for commerce, while the bitcoin-supporting faction viewed Bitcoin's primary use as that of a store of value . Bitcoin Cash is sometimes also referred to as Bcash. Bitcoin Cash detractors call the cryptocurrency "Bcash", "Btrash", or "a scam", while its supporters maintain that "it is the pure form of Bitcoin". Gavin Andresen , a former lead Bitcoin developer endorsed Bitcoin Cash in

1368-435: Was reached when 100% of miners between blocks 477,792 to 479,807 signaled support for SegWit, which meant the SegWit upgrade was "locked in" and would be fully activated roughly two weeks later at the start of the following target adjustment period. Segregated Witness was then activated on 24 August 2017 at block height 481,824. The bitcoin price rose almost 50% in the week following SegWit's activation. On 21 July 2017, bitcoin

1406-453: Was revealed that Silk Road 2.0 had lost $ 2.7 million worth of Bitcoin due to an unknown hacker who exploited transaction malleability. A 2014 study published by Christian Decker and Roger Wattenhofer found that no major transaction malleability exploitations had occurred prior to the MT. Gox attack. Transaction malleability can be used to alter the unique ID of a monetary transaction before it

1444-488: Was trading at $ 2,748, up 52% from 14 July 2017's $ 1,835. SegWit alleviates the scaling problem in two ways: Initially, most bitcoin transactions have not been able to use the upgrade. In the first week of October, the proportion of network transactions using SegWit rose from 7% to 10%, indicating an increase in use rate. A small group of mostly China-based bitcoin miners, that were unhappy with bitcoin's proposed SegWit improvement plans, pushed forward alternative plans for

#67932