0

What is the difference between segregated witness (segwit) and canonical transaction ordering (CTOR) ?

3

TTOR (Topological Transaction Ordering) is used by Bitcoin and pre-CTOR Bitcoin Cash. In TTOR, there might be multiple possible ways to sort transactions. The only requirement is, chain of transactions should be sorted by time and the coinbase transaction must be the first.

Let's say there are A, B and C transactions, and assume that there's no coinbase transaction. A and B are usual transactions, but C spends at least one output of B. The possible orderings are:

A B C
B A C
B C A

Amaclin is right, SegWit didn't change anything related to them.

  • Do you think the CTOR ordering is more efficient then TTOR ordering ? Are there any downsides ? – laizess Nov 24 '18 at 9:00
  • 1
    It was needed, because Graphene, which is an enhanced Compact Blocks, requires any ordering algorithm that had no more than one way to order. CTOR was chosen and analyzed here. A critique can be found here. – MCCCS Nov 24 '18 at 9:15
  • You're welcome! :) – MCCCS Nov 24 '18 at 10:47
0

These things are not related to each other at all. So, talking about differences between them is nonsense.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.