From 632105eae34a7369eb9bf52c9fdf65f6916616e0 Mon Sep 17 00:00:00 2001 From: Josh Swihart Date: Thu, 31 May 2018 07:38:17 +0200 Subject: [PATCH] Syncing _posts/2018-05-31-transaction-expiry.md from WordPress at https://blog.z.cash (Zcash Blog) - wpghs --- _posts/2018-05-31-transaction-expiry.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 _posts/2018-05-31-transaction-expiry.md diff --git a/_posts/2018-05-31-transaction-expiry.md b/_posts/2018-05-31-transaction-expiry.md new file mode 100644 index 0000000..f3290f4 --- /dev/null +++ b/_posts/2018-05-31-transaction-expiry.md @@ -0,0 +1,17 @@ +--- +ID: 3183 +post_title: Transaction Expiry +author: Jay Graber +post_excerpt: "" +layout: post +permalink: https://blog.z.cash/transaction-expiry/ +published: true +post_date: 2018-05-31 05:38:09 +--- +The Overwinter network upgrade will include a new feature called ‘Transaction Expiry.’ This will allow transactions in the mempool to expire after a given number of blocks, effectively timing out transactions that are unlikely to be mined and confirmed. All transactions, shielded and transparent, will now have an expiryHeight field that specifies the last block height in which that transaction can be mined. + +When a user submits a transaction to the network, it will persist in the mempool for 20 blocks (approximately 50 minutes). If it has not been mined after that period, it is no longer valid and will be evicted from all mempools. The value will return to the sender’s wallet. For security, zero confirmation transactions should never be assumed to be final and nor the funds spendable. + +Transaction expiry provides senders certainty about their transactions. Implemented as a consensus rule, this is an alternative to other solutions like replace-by-fee which lets users replace an unconfirmed transaction with one that has a higher fee, or a mempool expiry option which drops transactions from the mempool on a local basis but does not stop their propagation through the network. + +Refer to the transaction expiry ZIP (Zcash Improvement Proposal) for more information and the UX guidelines for advice on integrating transaction expiry into your Zcash service or application. \ No newline at end of file