dkbit98 (OP)
Legendary
Offline
Activity: 2338
Merit: 7396
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 06:12:44 PM Last edit: March 30, 2021, 07:47:33 PM by dkbit98 |
|
When you send Bitcoin from your wallet to some other address it needs some time for transaction confirmation in the blockchain, and after confirmation it's impossible to cancel any transaction and they are irreversible. It would be wise to double check and make sure you are sending correct amount of coins to the right address before clicking send button, and make sure you used correct fee for transaction. If transaction is unconfirmed and you made some mistake or used lower fee than you may still be able to cancel your Bitcoin transaction. How to cancel unconfirmed Bitcoin transaction?
There are few ways you can use to cancel and replace your transaction and for that purpose you should use wallets like Electrum and enable RBF option before sending your transaction. Replace-By-Fee (RBF)RBF means that you will pay higher fees to get transaction confirmed faster by replacing your transaction with new one. Open your Electrum (or other wallet supporting RBF), go to Tools-Preferences-Transactions, make sure you enable and check option Use Replace-By-Fee, and now your transactions are flagged as replaceable until confirmed. You will now be able to replace your original transaction with new one with higher transaction fee, if you right click on your unconfirmed transaction and click option Increase Fee![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FVpoBhor.png&t=665&c=QC1kJMuNwdZ6nw) Double spend with higher fee
Double spending with higher fee works in similar way but you are sending transaction to yourself with a higher transaction fee. In Electrum wallet you can go to your unconfirmed transaction and right click will give you option Cancel (double-spend) Child Pays For Parent (CPFP)
This is mostly used by miners when receiver pays the higher fee by incentivizing miners and you can enable it in Electrum with right clicking on your unconfirmed transaction and click option Child Pays For Parent. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FkqAZCby.jpg&t=665&c=R51KpEUSMsbYZQ) Wallets supporting RBF Replace-By-Fee:More information about RBF can be found on Bitcoin Core website
|
|
|
|
bitmover
Legendary
Offline
Activity: 2408
Merit: 6190
Crypto Swap Exchange🈺
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 06:28:51 PM |
|
Nice post.
This is a nice representation of why it is risky to accept an unconfirmed transaction, specially for high values.
An unconfirmed transaction is basically a promise: it may be confirmed or not.
If you are dealing with a scammer, he can just send you a transaction with a low fee and you pay him. After he receives what he wants, he can just use any of these methods to "revert" the transaction to an address he controls.
|
|
|
|
Charles-Tim
Legendary
Offline
Activity: 1652
Merit: 5087
Leading Crypto Sports Betting & Casino Platform
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 06:40:39 PM |
|
This is a nice article by the OP. If someone is having a stuck transaction, replace-by-fee can be used, which is even more advisable for not to spend more on fee, but like it is said above, people should make sure the replace-by-fee is 'ON' on the wallet used (, like electrum wallet) before making the transaction
About child-pays-for -parent (CPFP), bitcoin users needs to really know the reason why a transaction can support CPFP, because not all transactions can support CPFP.
For example, if address A send to address B, if there is no change address in the transaction, that means CPFP can not be used by wallet A that has the address A. But, the address that wallet A transfer bitcoin to and yet unconfirmed (address B), can be used. In this case, all wallet B needs is to generate another address from his wallet (wallet B), or maybe he wants to send bitcoin to another address entirely, he just only need to make use of coin control to make sure he spend the unconfirmed bitcoin, or included some certain amount of the unconfirmed bitcoin in his transaction, but he will need to almost pay as twice as normal fee that will cover fee for both child and parent transactions.
|
..Stake.com.. | | | ▄████████████████████████████████████▄ ██ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ██ ▄████▄ ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██ ██████ ██ ██████████ ██ ██ ██████████ ██ ▀██▀ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██████ ██ █████ ███ ██████ ██ ████▄ ██ ██ █████ ███ ████ ████ █████ ███ ████████ ██ ████ ████ ██████████ ████ ████ ████▀ ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██ ██ ▀▀▀▀▀▀▀▀▀▀ ██ ▀█████████▀ ▄████████████▄ ▀█████████▀ ▄▄▄▄▄▄▄▄▄▄▄▄███ ██ ██ ███▄▄▄▄▄▄▄▄▄▄▄▄ ██████████████████████████████████████████ | | | | | | ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▀▄ █▀▀█▀▄▄ █ █▀█ █ ▐ ▐▌ █ ▄██▄ █ ▌ █ █ ▄██████▄ █ ▌ ▐▌ █ ██████████ █ ▐ █ █ ▐██████████▌ █ ▐ ▐▌ █ ▀▀██████▀▀ █ ▌ █ █ ▄▄▄██▄▄▄ █ ▌▐▌ █ █▐ █ █ █▐▐▌ █ █▐█ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█ | | | | | | ▄▄█████████▄▄ ▄██▀▀▀▀█████▀▀▀▀██▄ ▄█▀ ▐█▌ ▀█▄ ██ ▐█▌ ██ ████▄ ▄█████▄ ▄████ ████████▄███████████▄████████ ███▀ █████████████ ▀███ ██ ███████████ ██ ▀█▄ █████████ ▄█▀ ▀█▄ ▄██▀▀▀▀▀▀▀██▄ ▄▄▄█▀ ▀███████ ███████▀ ▀█████▄ ▄█████▀ ▀▀▀███▄▄▄███▀▀▀ | | | ..PLAY NOW.. |
|
|
|
dkbit98 (OP)
Legendary
Offline
Activity: 2338
Merit: 7396
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 07:15:36 PM |
|
An unconfirmed transaction is basically a promise: it may be confirmed or not.
Most services are not accepting unconfirmed transactions if they have rbf flags, and regular users should always wait for minimum one confirmation before they engage in any exchange with sender. I like using RBF option when I want to pay smallest possible fee and I am not in a hurry but I want to have the option to bump it up whenever I want.
|
|
|
|
hosseinimr93
Legendary
Offline
Activity: 2506
Merit: 5573
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 07:27:49 PM |
|
When you send Bitcoin from your wallet to some other address it needs some time for transaction confirmation by nodes in the blockchain,.........
Just a small correction: Transactions are not confirmed by nodes. They are confirmed by miners. Nodes only verify blocks.
|
|
|
|
seoincorporation
Legendary
Offline
Activity: 3262
Merit: 3066
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 08:42:05 PM |
|
Nice post, but i'm not sure that 'cancel' is the right word... With your method, you are replacing a transaction with a new one, and the old transaction will never confirm. But the problem about this comes when the transaction confirms really fast, is about luck but it happens sometimes. And once the transaction is confirmed there is no step back.
Some months ago I create a thread talking about how the RBF could be more effective than the transactions accelerator.
|
|
|
|
Upgrade00
Legendary
Offline
Activity: 2142
Merit: 2292
Playgram - The Telegram Casino
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 08:48:44 PM |
|
But the problem about this comes when the transaction confirms really fast, is about luck but it happens sometimes. And once the transaction is confirmed there is no step back.
Fast transaction confirmation is not really about luck, but it depends on the feerate paid and also the state of the network when the transaction was broadcasted, in such situations where the transaction gets confirmed quickly, it's almost impossible to reverse. (If you're the recipient for larger transactions, it's better to wait for 3 or 6 confirmations). You're right that a transaction cannot be canceled, but can only be replaced, however, in the context it is used, it essentially means the initial transaction would be overridden by one with a higher fee (if it's not confirmed yet)
|
|
|
|
▄▄███████▄▄███████ ▄███████████████▄▄▄▄▄ ▄████████████████████▀░ ▄█████████████████████▄░ ▄█████████▀▀████████████▄ ██████████████▀▀█████████ █████████████████████████ ██████████████▄▄█████████ ▀█████████▄▄████████████▀ ▀█████████████████████▀░ ▀████████████████████▄░ ▀███████████████▀▀▀▀▀ ▀▀███████▀▀███████ | ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ Playgram.io ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ | ▄▄▄░░ ▀▄ █ █ █ █ █ █ █ ▄▀ ▀▀▀░░
| │ | ▄▄▄███████▄▄▄ ▄▄███████████████▄▄ ▄███████████████████▄ ▄██████████████▀▀█████▄ ▄██████████▀▀███▄██▐████▄ ██████▀▀████▄▄▀▀█████████ ████▄▄███▄██▀█████▐██████ ██████████▀██████████████ ▀███████▌▐██▄████▐██████▀ ▀███████▄▄███▄████████▀ ▀███████████████████▀ ▀▀███████████████▀▀ ▀▀▀███████▀▀▀ | | │ | ██████▄▄███████▄▄████████ ███▄███████████████▄░░▀█▀ ███████████░█████████░░█ ░█████▀██▄▄░▄▄██▀█████░█ █████▄░▄███▄███▄░▄██████ ████████████████████████ ████████████████████████ ██░▄▄▄░██░▄▄▄░██░▄▄▄░███ ██░░░█░██░░░█░██░░░█░████ ██░░█░░██░░█░░██░░█░░████ ██▄▄▄▄▄██▄▄▄▄▄██▄▄▄▄▄████ ███████████████████████ ███████████████████████ | | │ | ► | |
|
|
|
bitmover
Legendary
Offline
Activity: 2408
Merit: 6190
Crypto Swap Exchange🈺
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 10:03:07 PM |
|
When you send Bitcoin from your wallet to some other address it needs some time for transaction confirmation by nodes in the blockchain,.........
Just a small correction: Transactions are not confirmed by nodes. They are confirmed by miners. Nodes only verify blocks. Nodes not only verify blocks, they also verify/validate transactions that go into the mempool and at every block. Transactions are validated by all nodes. The network more decentralized than it looks like at first. source: Mastering bitcoin Transaction Outputs and Inputs ( https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch06.asciidoc#transaction-outputs-and-inputs) The fundamental building block of a bitcoin transaction is a transaction output. Transaction outputs are indivisible chunks of bitcoin currency, recorded on the blockchain, and recognized as valid by the entire network. Bitcoin full nodes track all available and spendable outputs, known as unspent transaction outputs, or UTXO. The collection of all UTXO is known as the UTXO set and currently numbers in the millions of UTXO. ... It’s not just Alice’s wallet that needs to retrieve UTXO referenced in the inputs. Once this transaction is broadcast to the network, every validating node will also need to retrieve the UTXO referenced in the transaction inputs in order to validate the transaction.
|
|
|
|
hosseinimr93
Legendary
Offline
Activity: 2506
Merit: 5573
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 10:18:02 PM Last edit: March 30, 2021, 10:33:33 PM by hosseinimr93 |
|
Fast transaction confirmation is not really about luck,
It depends on luck as well. Even if you pay a very high fee, you may have to wait hours for the next block to be found. The next block may be found in a few seconds, or it may not be found even after an hour.
Nodes not only verify blocks, they also verify/validate transactions that go into the mempool and at every block. Transactions are validated by all nodes. The network more decentralized than it looks like at first.
Not all nodes validate transactions. Transactions are validated only by full nodes.
|
|
|
|
Charles-Tim
Legendary
Offline
Activity: 1652
Merit: 5087
Leading Crypto Sports Betting & Casino Platform
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 10:41:26 PM |
|
Nodes not only verify blocks, they also verify/validate transactions that go into the mempool and at every block. Transactions are validated by all nodes. The network more decentralized than it looks like at first.
Blocks are mined and transactions are confirmed by miners, miners are also the first to verify/validate transactions as miners run a full node. The block and transactions verified by a miner will be passed on to another full node which will also verify the block and transactions and pass it on to another full node and so on. Also, only nodes that has the full blockchain which are called full node are the ones that can continue to verify block mined and transactions confirmed by miners. Nodes that do not have the full blockchain can not verify transactions.
|
..Stake.com.. | | | ▄████████████████████████████████████▄ ██ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ██ ▄████▄ ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██ ██████ ██ ██████████ ██ ██ ██████████ ██ ▀██▀ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██████ ██ █████ ███ ██████ ██ ████▄ ██ ██ █████ ███ ████ ████ █████ ███ ████████ ██ ████ ████ ██████████ ████ ████ ████▀ ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██ ██ ▀▀▀▀▀▀▀▀▀▀ ██ ▀█████████▀ ▄████████████▄ ▀█████████▀ ▄▄▄▄▄▄▄▄▄▄▄▄███ ██ ██ ███▄▄▄▄▄▄▄▄▄▄▄▄ ██████████████████████████████████████████ | | | | | | ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▀▄ █▀▀█▀▄▄ █ █▀█ █ ▐ ▐▌ █ ▄██▄ █ ▌ █ █ ▄██████▄ █ ▌ ▐▌ █ ██████████ █ ▐ █ █ ▐██████████▌ █ ▐ ▐▌ █ ▀▀██████▀▀ █ ▌ █ █ ▄▄▄██▄▄▄ █ ▌▐▌ █ █▐ █ █ █▐▐▌ █ █▐█ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█ | | | | | | ▄▄█████████▄▄ ▄██▀▀▀▀█████▀▀▀▀██▄ ▄█▀ ▐█▌ ▀█▄ ██ ▐█▌ ██ ████▄ ▄█████▄ ▄████ ████████▄███████████▄████████ ███▀ █████████████ ▀███ ██ ███████████ ██ ▀█▄ █████████ ▄█▀ ▀█▄ ▄██▀▀▀▀▀▀▀██▄ ▄▄▄█▀ ▀███████ ███████▀ ▀█████▄ ▄█████▀ ▀▀▀███▄▄▄███▀▀▀ | | | ..PLAY NOW.. |
|
|
|
bitmover
Legendary
Offline
Activity: 2408
Merit: 6190
Crypto Swap Exchange🈺
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 10:52:55 PM |
|
Nodes not only verify blocks, they also verify/validate transactions that go into the mempool and at every block. Transactions are validated by all nodes. The network more decentralized than it looks like at first.
Not all nodes validate transactions. Transactions are validated only by full nodes. Well, and what is a full node? A full node doesn't have to mine. A bitcoin wallet application that runs as a full-node client actually contains a copy of every unspent output from every transaction in the blockchain. This allows a wallet to construct transaction inputs as well as quickly verify incoming transactions as having correct inputs. And what isn't a full node? A "lightweight" clients, such as basically any wallet (electrum for example) However, because a full-node client takes up a lot of disk space, most user wallets run "lightweight" clients that track only the user’s own unspent outputs. MOre here: https://medium.com/avado-node/what-is-a-blockchain-node-334dc90a0ca0Andreas Antonopoulos, a well-known Bitcoin evangelist, explains it even better and in more detail, than I could, so perhaps I’ll let him speak instead: “A node is a computer that is participating in the global peer-to-peer Bitcoin network. They propagate transactions and blocks everywhere. Full nodes act independently as authoritative verifiers. Onion routing. Double-spending protection. Levels of isolation for untrustworthy nodes. Why would you run one? To be in control of your money — your keys, your money. You don’t trust anyone else to tell you what the truth is, you cross-check every claim yourself. Be part of the revolution in money. #RunYourOwnNode” https://www.youtube.com/watch?v=fNk7nYxTOyQ Mining is not even mentioned. Full nodes don't have to mine. They have a different role to play in the network: decentralization.
|
|
|
|
seoincorporation
Legendary
Offline
Activity: 3262
Merit: 3066
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 10:59:25 PM |
|
But the problem about this comes when the transaction confirms really fast, is about luck but it happens sometimes. And once the transaction is confirmed there is no step back.
Fast transaction confirmation is not really about luck, but it depends on the feerate paid and also the state of the network when the transaction was broadcasted, in such situations where the transaction gets confirmed quickly, it's almost impossible to reverse. (If you're the recipient for larger transactions, it's better to wait for 3 or 6 confirmations). You're right that a transaction cannot be canceled, but can only be replaced, however, in the context it is used, it essentially means the initial transaction would be overridden by one with a higher fee (if it's not confirmed yet) i say it's about luck because sometimes we have 3 blocks in less than 5 minutes, and sometimes we have to wait like 40 minutes for a block. In theory, bitcoin have transactions every 10 minutes, but that's in theory, isn't a constant, and for me is about luck to see a new block.
|
|
|
|
Charles-Tim
Legendary
Offline
Activity: 1652
Merit: 5087
Leading Crypto Sports Betting & Casino Platform
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 11:47:29 PM |
|
Nodes not only verify blocks, they also verify/validate transactions that go into the mempool and at every block. Transactions are validated by all nodes. The network more decentralized than it looks like at first.
Not all nodes validate transactions. Transactions are validated only by full nodes. Well, and what is a full node? A full node doesn't have to mine... Not all full nodes have to mine, full nodes are nodes that have the full blockchain, example of such nodes are Bitcoin Core, full blockchain node and solo mining node, all has the full blockchain and they can validate blocks and transactions and relay it to other nodes for further verification. But still, only full nodes can validate transactions, and yet not all nodes are full nodes, which means not all nodes can validate transactions. Example of nodes that do not have the full blockchain (that are not full nodes) and can not validate blocks and transactions are lightweight wallet and mining nodes (not solo mining nodes) that relay block and transactions mined to full nodes. Try to check this very well, you are getting something not right, that hosseinimr93 post that I quoted along is absolutely correct, because only full nodes validate blocks and transactions, but not all nodes are full nodes.
|
..Stake.com.. | | | ▄████████████████████████████████████▄ ██ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ██ ▄████▄ ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██ ██████ ██ ██████████ ██ ██ ██████████ ██ ▀██▀ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██████ ██ █████ ███ ██████ ██ ████▄ ██ ██ █████ ███ ████ ████ █████ ███ ████████ ██ ████ ████ ██████████ ████ ████ ████▀ ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██ ██ ▀▀▀▀▀▀▀▀▀▀ ██ ▀█████████▀ ▄████████████▄ ▀█████████▀ ▄▄▄▄▄▄▄▄▄▄▄▄███ ██ ██ ███▄▄▄▄▄▄▄▄▄▄▄▄ ██████████████████████████████████████████ | | | | | | ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▀▄ █▀▀█▀▄▄ █ █▀█ █ ▐ ▐▌ █ ▄██▄ █ ▌ █ █ ▄██████▄ █ ▌ ▐▌ █ ██████████ █ ▐ █ █ ▐██████████▌ █ ▐ ▐▌ █ ▀▀██████▀▀ █ ▌ █ █ ▄▄▄██▄▄▄ █ ▌▐▌ █ █▐ █ █ █▐▐▌ █ █▐█ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█ | | | | | | ▄▄█████████▄▄ ▄██▀▀▀▀█████▀▀▀▀██▄ ▄█▀ ▐█▌ ▀█▄ ██ ▐█▌ ██ ████▄ ▄█████▄ ▄████ ████████▄███████████▄████████ ███▀ █████████████ ▀███ ██ ███████████ ██ ▀█▄ █████████ ▄█▀ ▀█▄ ▄██▀▀▀▀▀▀▀██▄ ▄▄▄█▀ ▀███████ ███████▀ ▀█████▄ ▄█████▀ ▀▀▀███▄▄▄███▀▀▀ | | | ..PLAY NOW.. |
|
|
|
Oceat
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 30, 2021, 11:59:03 PM |
|
Good thread, OP very informative and I hope this will guide more newbies who are just starting to use new wallets such as electrum. I've rarely use RBF before but when the market starting to get congested due to massive traders when Bitcoin hits a new ATH last month it took me long enough to wait for my transaction to get at least one confirmation from the miners. And also they can use mempool.space as a reference for what transaction they have to pay before sending.
|
3996
|
|
|
bitmover
Legendary
Offline
Activity: 2408
Merit: 6190
Crypto Swap Exchange🈺
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 31, 2021, 12:06:09 AM Last edit: March 31, 2021, 12:38:07 AM by bitmover |
|
Try to check this very well, you are getting something not right, that hosseinimr93 post that I quoted along is absolutely correct, because only full nodes validate blocks and transactions, but not all nodes are full nodes.
I guess you are not getting something as well... he said that nodes do not verify transactions and only miners verify them. That's not correct. Then I explained that full node verify transactions, and they are not miners. The discussion was about that, not about node x full node validation. Saying that a full node is not a node makes no sense to me... But yes, not all nodes verify transactions, only full nodes do. Transactions are not confirmed by nodes. They are confirmed by miners. Nodes only verify blocks.
|
|
|
|
hosseinimr93
Legendary
Offline
Activity: 2506
Merit: 5573
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 31, 2021, 12:19:58 AM Last edit: March 31, 2021, 07:25:20 AM by hosseinimr93 |
|
I guess you are not getting something as well... he said that nodes do not verify transactions and only miners verify them. That's not correct. Then I explained that full node verify transactions, and they are not miners.
I didn't say nodes don't verify transactions. I said that nodes don't confirm transactions. I didn't say only miners verify transactions. I said that only miners confirm transactions. "Verify" is different from "confirm".
|
|
|
|
SquirrelJulietGarden
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 31, 2021, 01:18:51 AM |
|
Nodes not only verify blocks, they also verify/validate transactions that go into the mempool and at every block. Transactions are validated by all nodes. The network more decentralized than it looks like at first.
Antonopoulos describes more about bitcoin nodes in Chapter 8 of Mastering Bitcoin. Miners can have their own full nodes or just SPV nodes/ lightweight nodes and they have to rely on the pools they are participate in to mine bitcoin for data of the full blockchain. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fwww.oreilly.com%2Flibrary%2Fview%2Fmastering-bitcoin%2F9781491902639%2Fimages%2Fmsbt_0601.png&t=665&c=_xwiqiFbkbUe8A) All nodes include the routing function to participate in the network and might include other functionality. All nodes validate and propagate transactions and blocks, and discover and maintain connections to peers. In the full-node example in A bitcoin network node with all four functions: wallet, miner, full blockchain database, and network routing, the routing function is indicated by a circle named "Network Routing Node" or with the letter "N."
Some nodes, called full nodes, also maintain a complete and up-to-date copy of the blockchain. Full nodes can autonomously and authoritatively verify any transaction without external reference. Some nodes maintain only a subset of the blockchain and verify transactions using a method called simplified payment verification, or SPV. These nodes are known as SPV nodes or lightweight nodes. In the full-node example in the figure, the full-node blockchain database function is indicated by a circle called "Full Blockchain" or the letter "B." In The extended bitcoin network showing various node types, gateways, and protocols, SPV nodes are drawn without the "B" circle, showing that they do not have a full copy of the blockchain.
Mining nodes compete to create new blocks by running specialized hardware to solve the Proof-of-Work algorithm. Some mining nodes are also full nodes, maintaining a full copy of the blockchain, while others are lightweight nodes participating in pool mining and depending on a pool server to maintain a full node. The mining function is shown in the full node as a circle called "Miner" or the letter "M."
User wallets might be part of a full node, as is usually the case with desktop bitcoin clients. Increasingly, many user wallets, especially those running on resource-constrained devices such as smartphones, are SPV nodes. The wallet function is shown in A bitcoin network node with all four functions: wallet, miner, full blockchain database, and network routing as a circle called "Wallet" or the letter "W."
In addition to the main node types on the bitcoin P2P protocol, there are servers and nodes running other protocols, such as specialized mining pool protocols and lightweight client-access protocols.
Different types of nodes on the extended bitcoin network shows the most common node types on the extended bitcoin network.
Electrum wallet has a document for Replace-by-Fee My transaction has been unconfirmed for a long time. What can I do?If you have made a transaction that is unconfirmed, you can: - Wait for a long time. Eventually, your transaction will either be confirmed or cancelled. This might take several days.
- Increase the transaction fee. This is only possible for “replaceable” transactions. To create this type of transaction, you must have checked “Replaceable” on the send tab before sending the transaction. If you’re not seeing the “Replaceable” option on the send tab go to Tools menu > Preferences > Fees tab and set “Propose Replace-By-Fee” to “Always”. Transactions that are replaceable have the word “Replaceable” in the date column on the history tab. To increase the fee of a replaceable transaction right click on its entry on the history tab and choose “Increase Fee”. Set an appropriate fee and click on “OK”. A window will popup with the unsigned transaction. Click on “Sign” and then “Broadcast”.
- Create a “Child Pays for Parent” transaction. A CPFP is a new transaction that pays a high fee in order to compensate for the small fee of its parent transaction. It can be done by the recipient of the funds, or by the sender, if the transaction has a change output. To create a CPFP transaction right click on the unconfirmed transaction on the history tab and choose “Child pays for parent”. Set an appropriate fee and click on “OK”. A window will popup with the unsigned transaction. Click on “Sign” and then “Broadcast”.
|
| | | | | | | ███▄▀██▄▄ ░░▄████▄▀████ ▄▄▄ ░░████▄▄▄▄░░█▀▀ ███ ██████▄▄▀█▌ ░▄░░███▀████ ░▐█░░███░██▄▄ ░░▄▀░████▄▄▄▀█ ░█░▄███▀████ ▐█ ▀▄▄███▀▄██▄ ░░▄██▌░░██▀ ░▐█▀████ ▀██ ░░█▌██████ ▀▀██▄ ░░▀███ | | ▄▄██▀▄███ ▄▄▄████▀▄████▄░░ ▀▀█░░▄▄▄▄████░░ ▐█▀▄▄█████████ ████▀███░░▄░ ▄▄██░███░░█▌░ █▀▄▄▄████░▀▄░░ █▌████▀███▄░█░ ▄██▄▀███▄▄▀ ▀██░░▐██▄░░ ██▀████▀█▌░ ▄██▀▀██████▐█░░ ███▀░░ | | | | |
|
|
|
Charles-Tim
Legendary
Offline
Activity: 1652
Merit: 5087
Leading Crypto Sports Betting & Casino Platform
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 31, 2021, 07:35:49 AM Last edit: March 31, 2021, 07:46:33 AM by Charles-Tim |
|
<...> Transactions are not confirmed by nodes. They are confirmed by miners. Nodes only verify blocks.
I think it should be like this: Transactions are not confirmed by nodes. They are confirmed by miners. Nodes only verify blocks and transactions.Full nodes does not necessarily need to have the whole four nodes (wallet, full blockchain, mining and routing), a full node can just have two of the nodes, but it will has the full blockchain as the other node. Even the node necessary for solo miners (just as an example) do not contain wallet node. I am not implying that you are not right, but just for clearer view about full node. So far nodes contain full blockchain, it is called full nodes, and used to verify blocks and trrasactions.
|
..Stake.com.. | | | ▄████████████████████████████████████▄ ██ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ██ ▄████▄ ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██ ██████ ██ ██████████ ██ ██ ██████████ ██ ▀██▀ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██████ ██ █████ ███ ██████ ██ ████▄ ██ ██ █████ ███ ████ ████ █████ ███ ████████ ██ ████ ████ ██████████ ████ ████ ████▀ ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██ ██ ▀▀▀▀▀▀▀▀▀▀ ██ ▀█████████▀ ▄████████████▄ ▀█████████▀ ▄▄▄▄▄▄▄▄▄▄▄▄███ ██ ██ ███▄▄▄▄▄▄▄▄▄▄▄▄ ██████████████████████████████████████████ | | | | | | ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▀▄ █▀▀█▀▄▄ █ █▀█ █ ▐ ▐▌ █ ▄██▄ █ ▌ █ █ ▄██████▄ █ ▌ ▐▌ █ ██████████ █ ▐ █ █ ▐██████████▌ █ ▐ ▐▌ █ ▀▀██████▀▀ █ ▌ █ █ ▄▄▄██▄▄▄ █ ▌▐▌ █ █▐ █ █ █▐▐▌ █ █▐█ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█ | | | | | | ▄▄█████████▄▄ ▄██▀▀▀▀█████▀▀▀▀██▄ ▄█▀ ▐█▌ ▀█▄ ██ ▐█▌ ██ ████▄ ▄█████▄ ▄████ ████████▄███████████▄████████ ███▀ █████████████ ▀███ ██ ███████████ ██ ▀█▄ █████████ ▄█▀ ▀█▄ ▄██▀▀▀▀▀▀▀██▄ ▄▄▄█▀ ▀███████ ███████▀ ▀█████▄ ▄█████▀ ▀▀▀███▄▄▄███▀▀▀ | | | ..PLAY NOW.. |
|
|
|
o_e_l_e_o
In memoriam
Legendary
Offline
Activity: 2268
Merit: 18697
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 31, 2021, 08:27:19 AM |
|
About child-pays-for -parent (CPFP), bitcoin users needs to really know the reason why a transaction can support CPFP, because not all transactions can support CPFP. Any transaction can be included in a CPFP transaction. It is not like RBF where the transaction must be marked as opted-in before it being made. Any unconfirmed output can be included as an input in a new transaction with or without additional inputs and used to make a CPFP transaction. As you say, it might be that the person who made the first transaction cannot make a CPFP since all the outputs from the first transaction are to other people and there is no change output, but that does not mean the transaction itself does not support CPFP. CPFP also doesn't fit in the topic of "cancelling" a transaction. Only RBF allows you to change the outputs of an unconfirmed transaction and reroute the coins back to yourself. CPFP only allows you to speed up an unconfirmed transaction.
|
|
|
|
Charles-Tim
Legendary
Offline
Activity: 1652
Merit: 5087
Leading Crypto Sports Betting & Casino Platform
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
March 31, 2021, 09:20:55 AM |
|
Any transaction can be included in a CPFP transaction. It is not like RBF where the transaction must be marked as opted-in before it being made. Any unconfirmed output can be included as an input in a new transaction with or without additional inputs and used to make a CPFP transaction. As you say, it might be that the person who made the first transaction cannot make a CPFP since all the outputs from the first transaction are to other people and there is no change output, but that does not mean the transaction itself does not support CPFP.
I get the point now, thanks. Although, there are some situations the sender can not be able to use CPFP due to not having change address in previous transaction, but this should not be considered that not all situation is a transaction not supporting CPFP because CPFP can still be used by the receiver so far he can spend unconfirmed transaction. You are absolutely correct.
|
..Stake.com.. | | | ▄████████████████████████████████████▄ ██ ▄▄▄▄▄▄▄▄▄▄ ▄▄▄▄▄▄▄▄▄▄ ██ ▄████▄ ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██ ██████ ██ ██████████ ██ ██ ██████████ ██ ▀██▀ ██ ██ ██ ██████ ██ ██ ██ ██ ██ ██ ██████ ██ █████ ███ ██████ ██ ████▄ ██ ██ █████ ███ ████ ████ █████ ███ ████████ ██ ████ ████ ██████████ ████ ████ ████▀ ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██ ██ ▀▀▀▀▀▀▀▀▀▀ ██ ▀█████████▀ ▄████████████▄ ▀█████████▀ ▄▄▄▄▄▄▄▄▄▄▄▄███ ██ ██ ███▄▄▄▄▄▄▄▄▄▄▄▄ ██████████████████████████████████████████ | | | | | | ▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄ █ ▄▀▄ █▀▀█▀▄▄ █ █▀█ █ ▐ ▐▌ █ ▄██▄ █ ▌ █ █ ▄██████▄ █ ▌ ▐▌ █ ██████████ █ ▐ █ █ ▐██████████▌ █ ▐ ▐▌ █ ▀▀██████▀▀ █ ▌ █ █ ▄▄▄██▄▄▄ █ ▌▐▌ █ █▐ █ █ █▐▐▌ █ █▐█ ▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█ | | | | | | ▄▄█████████▄▄ ▄██▀▀▀▀█████▀▀▀▀██▄ ▄█▀ ▐█▌ ▀█▄ ██ ▐█▌ ██ ████▄ ▄█████▄ ▄████ ████████▄███████████▄████████ ███▀ █████████████ ▀███ ██ ███████████ ██ ▀█▄ █████████ ▄█▀ ▀█▄ ▄██▀▀▀▀▀▀▀██▄ ▄▄▄█▀ ▀███████ ███████▀ ▀█████▄ ▄█████▀ ▀▀▀███▄▄▄███▀▀▀ | | | ..PLAY NOW.. |
|
|
|
|