Bitcoin Forum
October 05, 2024, 08:18:34 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: "SegWit moves the signatures out of the transactions", where?  (Read 356 times)
I Am Hero (OP)
Member
**
Offline Offline

Activity: 81
Merit: 10


View Profile
April 20, 2017, 02:33:30 AM
 #1

i read that they say "SegWit moves the signatures out of the transactions".

so does this mean there will be another block that contains the signatures and another to contain the remaining part of the transaction?

Buying Bitcoin like a Boss
Michael Syrett
Newbie
*
Offline Offline

Activity: 21
Merit: 0


View Profile
April 20, 2017, 02:51:24 AM
 #2

I think it moves on its own chain. Next to the blockchain like one lane over.
achow101
Staff
Legendary
*
Offline Offline

Activity: 3514
Merit: 6842


Just writing some code


View Profile WWW
April 20, 2017, 02:52:38 AM
 #3

No, this statement is a very simple abstraction of what segwit does but is actually completely false.

In transactions that spend segwit outputs, segwit changes the transaction format to include a new field known as txwitness. txwitness comes after the outputs and before the nlocktime. This is the transaction format and it goes in blocks as is. For segwit nodes, they will receive blocks and transactions with transactions that spend segwit outputs serialized with the segwit transaction format. With non-segwit nodes, they will get blocks and transactions in the normal transaction serialization format (i.e. no txwitness and other marker bytes for segwit).

There is no extra block for the txwitnesses, they go in the transaction that they belong to.

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!