• Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions
Sunday, March 26, 2023
No Result
View All Result
AltCoin 247
  • Home
  • Cryptocurrency
  • Bitcoin
  • DEFI
  • Regulation
  • Litecoin
  • Dogecoin
  • Altcoin
  • Home
  • Cryptocurrency
  • Bitcoin
  • DEFI
  • Regulation
  • Litecoin
  • Dogecoin
  • Altcoin
No Result
View All Result
AltCoin 247
No Result
View All Result
Home Bitcoin

bitcoin core – walletnotify on 0.22 not triggered when transaction is removed from mempool because of a conflict

by altcoin247
September 13, 2022
in Bitcoin
0
transactions – how does the blockchain addresses relate to the blockchain WIF?


The 0.20.1 changelog states that

-walletnotify notifications are now sent for wallet transactions that are removed from the mempool because they conflict with a new block

I tested this by creating a double-spend transaction on testnet. First I created and broadcasted a low fee tx, to an address in my Bitcoin Core wallet. Then broadcasted a higher fee tx, from the same input and with the same amount, to an address somewhere else.
After the first broadcast, walletnotify is triggered correctly.
However after I broadcast the second one, the conflict doesn’t trigger walletnotify.

I verified with bitcoin-cli -rpcwallet="" getrawmempool that the first transaction wasn’t listed. I also verified on a block explorer that the first transaction wasn’t valid anymore.

In the debug.log I see entries relating to the conflict:

[default wallet] Transaction xxxtx2 (in block xxxblock1) conflicts with wallet transaction xxxtx1 (both spend xxxhash1:1)
[default wallet] Transaction xxxtx2 (in block xxxblock1) conflicts with wallet transaction xxxtx1 (both spend xxxhash2:0)

Why isn’t walletnotify triggered by such conflicts?
Any other way to be notified about every conflict? (I’m thinking debug.log scanning)

I looked a bit through the source code, found CWallet::transactionRemovedFromMempool and MemPoolRemovalReason as being relevant, but I’m unable to find an answer.

Running Bitcoin Core version 0.22 on Linux.



Source_link

altcoin247

altcoin247

Next Post
Crypto News Digest by U.Today

Crypto News Digest by U.Today

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended

SEC Charges Genesis and Gemini — Winklevoss Says Regulator’s Lawsuit Is ‘Super Lame’ – Regulation Bitcoin News

SEC Charges Genesis and Gemini — Winklevoss Says Regulator’s Lawsuit Is ‘Super Lame’ – Regulation Bitcoin News

2 months ago
New York Regulator Reportedly Stops Paxos From Issuing BUSD, but is it Just FUD?

New York Regulator Reportedly Stops Paxos From Issuing BUSD, but is it Just FUD?

1 month ago

Popular News

  • As Pound Crumbles, a Third of UK Citizens Now Own Cryptocurrency

    As Pound Crumbles, a Third of UK Citizens Now Own Cryptocurrency

    0 shares
    Share 0 Tweet 0
  • How Crypto Exchange Can Revolutionize Businesses

    0 shares
    Share 0 Tweet 0
  • Das Blockmagazin ist da! – Der Altcoinspekulant

    0 shares
    Share 0 Tweet 0
  • Dogecoin (DOGE) Price Prediction 2025-2030: What does 2023 have in store for DOGE traders?

    0 shares
    Share 0 Tweet 0
  • How Does Uniglo (GLO) Manage To Have A 35% Price Spike Unlike Fantom (FTM) And Dogecoin (DOGE)?

    0 shares
    Share 0 Tweet 0
AltCoin 247

Welcome to Altcoin247 The goal of Altcoin247 is to give you the absolute best news sources for any topic! Our topics are carefully curated and constantly updated as we know the web moves fast so we try to as well.

Category

  • Altcoin
  • Bitcoin
  • Cryptocurrency
  • DEFI
  • Dogecoin
  • Litecoin
  • Regulation

Site Links

  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions

Recent Posts

  • I asked ChatGPT Cardano’s price prediction, and this is the figure it gave me
  • Blockchain really is the answer to the current banking saga

Copyright © 2022 Altcoin247.net | All Rights Reserved.

No Result
View All Result
  • Home
  • Cryptocurrency
  • Bitcoin
  • DEFI
  • Regulation
  • Litecoin
  • Dogecoin
  • Altcoin

Copyright © 2022 Altcoin247.net | All Rights Reserved.

What Are Cookies
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept All”, you consent to the use of ALL the cookies. However, you may visit "Cookie Settings" to provide a controlled consent.
Cookie SettingsAccept All
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT