Bitcoin Forum
May 02, 2024, 09:33:12 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How important is the witness data?  (Read 112 times)
Mia Chloe (OP)
Sr. Member
****
Offline Offline

Activity: 336
Merit: 493


Math + Code = Blockchain 😁


View Profile
September 29, 2023, 08:02:23 PM
 #1

In SEGWIT transactions the witness data is excluded which makes the transaction occupy a smaller block space however in the legacy address the witness and script data are included increasing block space and transaction fees.my point here is how important is the witness data ? Is it less important that excluding it using SEGWIT will have insignificant effect on the transactions?

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
MΞTAWIN  THE FIRST WEB3 CASINO██████
██
██
██
██
██
██
██

██

██

██

██

██████
.
 PLAY NOW 
██████
██
██
██
██
██
██
██

██

██

██

██

██████
1714685592
Hero Member
*
Offline Offline

Posts: 1714685592

View Profile Personal Message (Offline)

Ignore
1714685592
Reply with quote  #2

1714685592
Report to moderator
1714685592
Hero Member
*
Offline Offline

Posts: 1714685592

View Profile Personal Message (Offline)

Ignore
1714685592
Reply with quote  #2

1714685592
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714685592
Hero Member
*
Offline Offline

Posts: 1714685592

View Profile Personal Message (Offline)

Ignore
1714685592
Reply with quote  #2

1714685592
Report to moderator
1714685592
Hero Member
*
Offline Offline

Posts: 1714685592

View Profile Personal Message (Offline)

Ignore
1714685592
Reply with quote  #2

1714685592
Report to moderator
un_rank
Hero Member
*****
Offline Offline

Activity: 714
Merit: 684


- Jay -


View Profile WWW
September 29, 2023, 08:12:04 PM
Last edit: September 30, 2023, 07:32:15 AM by un_rank
Merited by pooya87 (4), ABCbits (2), _act_ (2), Zaguru12 (1)
 #2

In segwit, witness data is not excluded. Segwit stands for Segregated Witness, which by definition means that the witness data is segregated into parts.

A legacy address which has no witness data weighs more cause the non witness data takes up 4 times the amount of weight units that witness data takes up per byte.

- Jay -

██████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
██████████████████████
.SHUFFLE.COM..███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
█████████████████████
████████████████████
██████████████████████
████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
██████████████████████
██████████████████████
██████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
███████████████████████
.
...Next Generation Crypto Casino...
Zaguru12
Hero Member
*****
Offline Offline

Activity: 686
Merit: 867



View Profile
September 29, 2023, 08:16:30 PM
 #3

The witness data is more like the data holding the signature required to unlock the bitcoin. But to correct your statement it is not removed totally from transaction but rather it is separated from it and moved separately with the transaction. Is importance is it is needed to unlock the transaction.

The bitcoin block was actually 1MB which it is still the size but what the segwit soft fork changes was the way unit used to store this transactions which was byte and it migrated it to virtual byte. The regular byte is weighs 4 weight unit and the vbyte weigh just 1 weight unit. Now the the transaction fee is calculated base on sats/vbytes and this is where the reduction in the fees comes from. Not that the block size is increased in MB

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
letteredhub
Full Member
***
Offline Offline

Activity: 518
Merit: 202

My privacy, my right.


View Profile
September 29, 2023, 09:12:14 PM
 #4

In SEGWIT transactions the witness data is excluded which makes the transaction occupy a smaller block space however in the legacy address the witness and script data are included increasing block space and transaction fees.my point here is how important is the witness data ? Is it less important that excluding it using SEGWIT will have insignificant effect on the transactions?
Simply put' the witness data is important for the purpose of the security of the transaction made.

However people uses SegWit because;

- It's important in reducing block size.

- And the importance of the segregation also is for efficient use of the block space . And,

- Faster  transaction and cost effective.
Zaguru12
Hero Member
*****
Offline Offline

Activity: 686
Merit: 867



View Profile
September 29, 2023, 11:17:41 PM
 #5

Simply put' the witness data is important for the purpose of the security of the transaction made.

However people uses SegWit because;

- It's important in reducing block size.

- And the importance of the segregation also is for efficient use of the block space . And,

- Faster  transaction and cost effective.

This isn’t all, in fact the biggest upgrade done by a Segwit is the elimination of transaction malleability which has caused developers problems since a single transaction can have two different valid TXID. But the separation of this witness data has helped solved that, paving way for upgrades like taproot. So Malleability is regarded the biggest thing Segwit solved

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5581


Self-proclaimed Genius


View Profile
September 30, 2023, 04:19:07 AM
Merited by ABCbits (1), Zaguru12 (1)
 #6

In SEGWIT transactions the witness data is excluded which makes the transaction occupy a smaller block space however in the legacy address the witness and script data are included increasing block space and transaction fees.my point here is how important is the witness data ? Is it less important that excluding it using SEGWIT will have insignificant effect on the transactions?
It's only excluded by nodes that don't support the soft-fork, Bitcoin nodes that upgraded has it in their blockchain, just "Segregated".
So the answer to your question is: it's not important to pre-SegWit nodes since they read SegWit outputs as something else which doesn't require the witness data.
Read "Backward Compatibility": BIP-0141

The regular byte is weighs 4 weight unit and the vbyte weigh just 1 weight unit.
It seems like you know meant "non-witness" and "witness" data.

Because you've used the term "vbyte" for "witness",
the sentence became incorrect since a transaction with 200 vByte would've been 200 Weight Units if it's true.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
pooya87
Legendary
*
Offline Offline

Activity: 3444
Merit: 10530



View Profile
September 30, 2023, 04:50:21 AM
Merited by Zaguru12 (1)
 #7

But to correct your statement it is not removed totally from transaction but rather it is separated from it and moved separately with the transaction.
Witness is not "separated" at all, it is still part of the transaction and like any other field (like version, locktime, etc.) it is stored and transferred as part of the transaction.

Quote
The bitcoin block was actually 1MB which it is still the size
Max block size hasn't been 1 MB ever since the SegWit soft fork in 2017.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!