Bitcoin Forum
May 14, 2024, 11:47:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: When Unmined Transactions Mempool Expire do Their Child also expire?  (Read 135 times)
BicameralMind (OP)
Newbie
*
Offline Offline

Activity: 5
Merit: 8


View Profile
April 01, 2019, 08:55:30 PM
Merited by LoyceV (2), Coding Enthusiast (1)
 #1

Quick question, that I'm having trouble finding in the official documentation. What happens to the child transactions when their parents expire in the mempool? For example say you three un-mined transactions in the mempool. TxC spends the outputs of TxA and TxB:

Transaction A <-----_------ Transaction C    
Transaction B <----/

Now let's say Transaction A is evicted from the mempool for being around too long without getting mined. Is Bitcoin Core "smart" enough to realize that Transaction C is now unspendable? I.e. will it evict it along with A, right away? (Thus unlocking Transaction B to be spent somewhere else?) Or will it wait for Transaction C to stick around the full 72 hours?

1715687246
Hero Member
*
Offline Offline

Posts: 1715687246

View Profile Personal Message (Offline)

Ignore
1715687246
Reply with quote  #2

1715687246
Report to moderator
1715687246
Hero Member
*
Offline Offline

Posts: 1715687246

View Profile Personal Message (Offline)

Ignore
1715687246
Reply with quote  #2

1715687246
Report to moderator
1715687246
Hero Member
*
Offline Offline

Posts: 1715687246

View Profile Personal Message (Offline)

Ignore
1715687246
Reply with quote  #2

1715687246
Report to moderator
According to NIST and ECRYPT II, the cryptographic algorithms used in Bitcoin are expected to be strong until at least 2030. (After that, it will not be too difficult to transition to different algorithms.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715687246
Hero Member
*
Offline Offline

Posts: 1715687246

View Profile Personal Message (Offline)

Ignore
1715687246
Reply with quote  #2

1715687246
Report to moderator
1715687246
Hero Member
*
Offline Offline

Posts: 1715687246

View Profile Personal Message (Offline)

Ignore
1715687246
Reply with quote  #2

1715687246
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5604


Self-proclaimed Genius


View Profile
April 02, 2019, 01:51:04 AM
Merited by Jet Cash (2)
 #2

If it's just the mempool, the user can always re-spend the output from his broadcasted transaction by deleting his own mempool (-zapwallettxes).
(There no general "mempool", individual nodes have its own mempool and the amount of transactions can be different)

This makes inputs from Transaction B spendable as long as the TX B was dropped from the owner's node, but Tx C will never get confirmed for being invalid.

Other nodes may keep both TX C and B in their mempool since Bitcoin transactions have no "expiration" limit.
It will expire in 14 days by default, but some may have set a higher value [-mempoolexpiry=8765 (1 Year)].

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
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!