Based on your description (having issues whereas syncing full node), I ponder in case your “unconfirmed transaction” is de facto unconfirmed? Is it already confirmed, or discarded (attributable to double-spending and many others)?
The primary downside: “caught” 0-confirmation transaction
Initially, replace-by-fee is there to cope with “low-fee caught transactions” downside, you’ll be capable of bump price with ease if the transaction had RBF enabled.
In case your caught transaction shouldn’t be so pressing, it’s possible you’ll simply look forward to the mempool to be cleared naturally, then your transaction will lastly be confirmed, because the mempool shouldn’t be so crowded (like outdated instances in 2017) these days.
Simply watch the final “Mempool measurement in MB” chart right here: https://core.jochen-hoenicke.de/queue/#24h
If you wish to “speed up” or “revert” this transaction, you have got two choices.
The primary choice: it’s possible you’ll contact a mining pool which gives “transaction accelerating (prioritising)” service, like Poolin or BTC.COM. Nonetheless, this feature will be costly, and, there will not be any refund.
The second choice: “double-spend” by your self with Electrum, which is often less expensive than transaction prioritising companies talked about above, however a bit sophisticated.
-
Discover out the earlier transaction(s) which the caught transaction is spending from. Chances are you’ll use the
getrawtransaction STUCK_TXID true
(changeSTUCK_TXID
with your individual caught transaction ID) command in debug console of Bitcoin Core, or simply question it on a web based block explorer like https://blockstream.information.Blockstream explorer exhibits earlier outpoints clearly, the place the outpoint is represented in
TXID(lengthy alphanumeric textual content string):INDEX(quantity)
format. For instance: this transaction spent 2 earlier transactions, which have TXIDs of00f5854cebdcd318edd325ab07e4157964f225a659302f3f5949ffe07020db4e
and6d4a34592200324f716a92d8d84db8c85bc97189610b1d4bee4fcb7d56713857
-
Copy uncooked transaction information of earlier transaction(s). Chances are you’ll merely double-click every transaction confirmed on Bitcoin Core GUI in flip, to seek out them by transaction ID, after which right-click ->
Copy uncooked transaction
.You might also use the
getrawtransaction PREVIOUS_TXID
command as a substitute, you could run this command individually on everyPREVIOUS_TXID
, if a number of earlier transactions had been spent. -
Create a brand new Electrum pockets on an offline machine, then select the
Import Bitcoin addresses or personal keys
choice. -
Import your personal keys to Electrum. The pockets will not sync, as a result of there is no web – that is nice, as a result of we do not need Electrum to fetch again the caught transaction.
-
Import the earlier transaction(s) by clicking
Instruments
menu ->Load transaction
->From textual content
. -
Click on the
View
menu ->Present Cash
to indicate theCash
tab. Then change to theCash
tab, choose all of them, and right-click ->Spend
.After all, in case you are positive about precisely which cash had been spent, you will not have to spend all accessible cash this time, which might cut back the price value a bit – however this example is comparatively uncommon. To maintain your self from off-by-one human errors, you’d higher simply spend all of them.
-
Now, you’re about to assemble a double-spending transaction which can ship these cash again to your individual pockets, or another handle(es) you need, by clicking
Preview
button. This time it’s best to select a better price price (sat/Byte), a minimum of larger than the caught transaction.By the way in which, it’s extremely advisable to allow replace-by-fee on this transaction, in case of additional fee-bumping.
-
Electrum is ready to present QR code of this double-spending transaction. Use one other on-line machine to scan it with Electrum, then it could possibly be despatched out. You might also attempt to ship it instantly after reconnecting the machine to Web.
If the caught transaction has not but expired on the Electrum server you’re utilizing, broadcasting the double-spending transaction may face some errors. Chances are you’ll attempt to broadcast it by different strategies, eg. block explorers, andsendrawtransaction
of Bitcoin Core.
The second downside: Bitcoin Core full node is painful to sync
First, the efficiency bottleneck often lies at frequent I/O operations on the chainstate
subdirectory, which shops the UTXO database, particularly the info listing was positioned on an HDD (which is meant to make the state of affairs worse if the HDD is SMR).
Second, presently, I am personally not in favor of pruning, as a result of virtually all historic transaction historical past (which is precisely what the large block chain comprises) is discarded, thus rescanning turns into restricted inside current blocks solely. Rescanning occurs in case you are importing keys/addresses/pockets.dat, or zapwallettxes
. Sooner or later, this downside is perhaps lastly relieved by some enhancements.
In case your pc has loads of accessible RAM, it’s possible you’ll allocate greater than 6GB (depends upon historic peak UTXO measurement) of RAM for the database cache (see the Choices
window) of Bitcoin Core. This tweak successfully removes the I/O bottleneck. (properly, you should still face this downside in case you are catching up from some date earlier than, it’s possible you’ll cat
(Linux/Mac) or kind
all information (use the *
wildcard) into /dev/null
(Linux/Mac) or nul
(Home windows) to drive the OS to learn them as soon as, then they could possibly be cached into the RAM)
When you’ve got each HDD and SSD, you may configure the blocksdir
parameter emigrate the large block chain to a cheap-but-slow HDD, whereas maintaining the frequently-accessed chainstate
and many others on a fast-but-expensive SSD.