From bf0afffa378fa338dcd25ca42c9f22e95f6da69a Mon Sep 17 00:00:00 2001 From: dagurval Date: Thu, 6 Feb 2020 19:21:15 +0100 Subject: [PATCH] Update transaction-ordering.md --- protocol/blockchain/block/transaction-ordering.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/protocol/blockchain/block/transaction-ordering.md b/protocol/blockchain/block/transaction-ordering.md index 5def7f9..9e1ae13 100644 --- a/protocol/blockchain/block/transaction-ordering.md +++ b/protocol/blockchain/block/transaction-ordering.md @@ -7,13 +7,16 @@ For historic blocks, see [Topological Transaction Ordering](#legacy-transaction- ## Canonical Transaction Ordering -With canonical transaction ordering (CTOR), the Transactions after the Coinbase Transaction are required to be sorted in lexicographical order by Transaction Hash. -New Blocks will not be accepted by the network unless they follow this constraint. -CTOR went into effect at 1542300000 unix time (November 15, 2018 4:40:00 PM GMT). +With canonical transaction ordering (CTOR), the transactions after the coinbase transaction are required to be sorted in lexicographical order by transaction hash. The transaction hash is interpreted as little endian during sort. CTOR was scheduled to activate at median-time-past time 1542300000 and activated at block height 556766 (inclusive) on mainnet. +After activation, blocks that do not follow this constraint will be rejected by the network. + +CTOR is also sometimes referred to as LTOR (lexicographical transaction ordering). See [HF20181115](/protocol/forks/HF20181115) for more information on this change. ## Topological Transaction Ordering With topological transaction ordering, Transactions after the Coinbase Transaction were required to abide by the following constraint: if a transaction B spends outputs created by transaction A, transaction B must appear after transaction A in the block. -Otherwise, transactions could appear in any order. \ No newline at end of file +Otherwise, transactions could appear in any order. + +Before CTOR activated (block height < 556766) this was the required transaction order.