Bitcoin Forum
September 09, 2025, 07:23:25 PM *
News: Latest Bitcoin Core release: 29.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Way to understanding that transaction has been canceled in Bitcoin Core  (Read 143 times)
l0_ola (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 1


View Profile WWW
March 04, 2021, 12:33:07 AM
 #1

I have sent a transaction with fee 1 sat/byte at the 02/03/21, it was not shown in the mempool for a long time and about 2-3 weeks ago blockchain explorers (blockchair, atomic etc) were found it. And it was not confirmed in the February of course. So some days ago the transaction has disappeared from blockchain explorers again, but my Bitcoin core is still trying resubmit it.

Code:
2021-03-04T00:07:26Z [default wallet] Submitting wtx 791XXXXXXXXXXXXXXXXXXXXXXXXXXXXx2a to mempool for relay
2021-03-04T00:07:26Z [default wallet] ResendWalletTransactions: resubmit 1 unconfirmed transactions

Today I have checked addresses that sent btc in the transaction and the addresses have funds they have before the transaction. I have check addresses from blockchain explorers, in Bitcoin Core I can only ask getreceivedbyaddress.

So, I don't understand is my transaction was canceled and  what is balance Bitcoin Core show now, with the transaction funds or without?

Is it possible to cancel transaction in Bitcoin Core (Linux, without GUI)?
BitMaxz
Legendary
*
Offline Offline

Activity: 3738
Merit: 3410


My PC.broke :(


View Profile WWW
March 04, 2021, 02:33:00 AM
 #2

If you want to cancel a transaction from Bitcoin core there is a way to remove those unconfirmed transactions but I don't know if it will work if it still on the mempool.
Anyway, you can try it and once it's successful you can able to make a new transaction.

Since the -zapwallettxes was removed on the latest version of Bitcoin core you can try this method below.

- Open Bitcoin core
- Go to window>console
- Now type this command

Code:
abandontransaction "YourTXID"

Once it's done you can able to respent or make a new transaction.

Or if you are running with Bitcoin-cli(Without GUI)then the command must be this

Code:
bitcoin-cli abandontransaction "YourTXID"

.
 betpanda.io 
 
ANONYMOUS & INSTANT
.......ONLINE CASINO.......
▄███████████████████████▄
█████████████████████████
█████████████████████████
████████▀▀▀▀▀▀███████████
████▀▀▀█░▀▀░░░░░░▄███████
████░▄▄█▄▄▀█▄░░░█▄░▄█████
████▀██▀░▄█▀░░░█▀░░██████
██████░░▄▀░░░░▐░░░▐█▄████
██████▄▄█░▀▀░░░█▄▄▄██████
█████████████████████████
█████████████████████████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀░░░▀██████████
█████████░░░░░░░█████████
███████░░░░░░░░░███████
████████░░░░░░░░░████████
█████████▄░░░░░▄█████████
███████▀▀▀█▄▄▄█▀▀▀███████
██████░░░░▄░▄░▄░░░░██████
██████░░░░█▀█▀█░░░░██████
██████░░░░░░░░░░░░░██████
█████████████████████████
▀███████████████████████▀
▄███████████████████████▄
█████████████████████████
██████████▀▀▀▀▀▀█████████
███████▀▀░░░░░░░░░███████
██████░░░░░░░░░░░░▀█████
██████░░░░░░░░░░░░░░▀████
██████▄░░░░░░▄▄░░░░░░████
████▀▀▀▀▀░░░█░░█░░░░░████
████░▀░▀░░░░░▀▀░░░░░█████
████░▀░▀▄░░░░░░▄▄▄▄██████
█████░▀░█████████████████
█████████████████████████
▀███████████████████████▀
.
SLOT GAMES
....SPORTS....
LIVE CASINO
▄░░▄█▄░░▄
▀█▀░▄▀▄░▀█▀
▄▄▄▄▄▄▄▄▄▄▄   
█████████████
█░░░░░░░░░░░█
█████████████

▄▀▄██▀▄▄▄▄▄███▄▀▄
▄▀▄█████▄██▄▀▄
▄▀▄▐▐▌▐▐▌▄▀▄
▄▀▄█▀██▀█▄▀▄
▄▀▄█████▀▄████▄▀▄
▀▄▀▄▀█████▀▄▀▄▀
▀▀▀▄█▀█▄▀▄▀▀

Regional Sponsor of the
Argentina National Team
l0_ola (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 1


View Profile WWW
March 04, 2021, 03:12:00 AM
 #3

If you want to cancel a transaction from Bitcoin core there is a way to remove those unconfirmed transactions but I don't know if it will work if it still on the mempool.
Anyway, you can try it and once it's successful you can able to make a new transaction.

Since the -zapwallettxes was removed on the latest version of Bitcoin core you can try this method below.

- Open Bitcoin core
- Go to window>console
- Now type this command

Code:
abandontransaction "YourTXID"

Once it's done you can able to respent or make a new transaction.

Or if you are running with Bitcoin-cli(Without GUI)then the command must be this

Code:
bitcoin-cli abandontransaction "YourTXID"
thanks a lot, funds was back to the wallet. So now it is necessary to create a new transaction with the same inputs of the failed transaction, I think right?
ranochigo
Legendary
*
Offline Offline

Activity: 3178
Merit: 4506



View Profile
March 04, 2021, 03:42:48 AM
 #4

thanks a lot, funds was back to the wallet. So now it is necessary to create a new transaction with the same inputs of the failed transaction, I think right?
Correct. My node's minfee sets it at roughly 5sat/vbyte.
Code:
{
  "loaded": true,
  "size": 53578,
  "bytes": 78121044,
  "usage": 280737632,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00005346,
  "minrelaytxfee": 0.00001000,
  "unbroadcastcount": 0
}

You'll probably have to create a new transaction spending at least 5sat/vbyte for it to be relayed by the nodes.

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
NotATether
Legendary
*
Offline Offline

Activity: 2086
Merit: 8905


Search? Try talksearch.io


View Profile WWW
March 04, 2021, 04:02:58 AM
 #5

thanks a lot, funds was back to the wallet. So now it is necessary to create a new transaction with the same inputs of the failed transaction, I think right?
Correct. My node's minfee sets it at roughly 5sat/vbyte.
Code:
{
  "loaded": true,
  "size": 53578,
  "bytes": 78121044,
  "usage": 280737632,
  "maxmempool": 300000000,
  "mempoolminfee": 0.00005346,
  "minrelaytxfee": 0.00001000,
  "unbroadcastcount": 0
}

You'll probably have to create a new transaction spending at least 5sat/vbyte for it to be relayed by the nodes.

My apologies for going off-topic but which RPC command gives you this listing? On a stock 0.21.0 I can get a "relaytxfee" field (which says 1 sat/vbyte by the way) if I use getnetworkinfo but that's the closest I could get.

██
██
██
██
██
██
██
██
██
██
██
██
██
... LIVECASINO.io    Play Live Games with up to 20% cashback!...██
██
██
██
██
██
██
██
██
██
██
██
██
nc50lc
Legendary
*
Offline Offline

Activity: 2898
Merit: 7568


Self-proclaimed Genius


View Profile
March 04, 2021, 04:13:20 AM
Merited by ranochigo (1)
 #6

-snip-
My apologies for going off-topic but which RPC command gives you this listing? On a stock 0.21.0 I can get a "relaytxfee" field (which says 1 sat/vbyte by the way) if I use getnetworkinfo but that's the closest I could get.
He's currently offline, but I believe the command with that result is getmempoolinfo.

ranochigo
Legendary
*
Offline Offline

Activity: 3178
Merit: 4506



View Profile
March 04, 2021, 05:20:58 AM
 #7

He's currently offline, but I believe the command with that result is getmempoolinfo.
Correct. If you want a quick reference, here's the data from my node: http://163.172.57.208/getmempoolinfo.txt.

░░░░▄▄████████████▄
▄████████████████▀
▄████████████████▀▄█▄
▄██████▀▀░░▄███▀▄████▄
▄██████▀░░░▄███▀▀██████▄
██████▀░░▄████▄░░░▀██████
██████░░▀▀▀▀▄▄▄▄░░██████
██████▄░░░▀████▀░░▄██████
▀██████▄▄███▀░░░▄██████▀
▀████▀▄████░░▄▄███████▀
▀█▀▄████████████████▀
▄████████████████▀
▀████████████▀▀░░░░
 
 CCECASH 
 
    ANN THREAD    
 
      TUTORIAL      
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!