Pages:
Author

Topic: Full RBF - page 2. (Read 3043 times)

legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
April 29, 2024, 02:25:30 AM
Foundry USA currently has access to approximately 28% of the hashrate. This means that it has 39% probability to successfully rewrite the entire previous block and mine another one on a row.
Somehow this probability is always larger than I'd expect intuitively. Your answer seems to be correct:
Image loading...

It is possible to publicly announce SHA-256 of the public key, and get it deeply confirmed, and announced everywhere. Then, if any mining pool will try to overwrite a valid block, there will be a strong, publicly-verifiable evidence, that they did it.

Because the solver can announce for example "OP_RIPEMD160 62e907b15cbf27d5425399ebf6f0fb50ebb88f18 OP_EQUALVERIFY OP_CHECKSIG", and get it deeply confirmed, without trusting anyone, and without touching the puzzle. And then, everyone can see, if the reward from the puzzle was first moved into "solverPubKey" or not.
Being the first to solve the puzzle is meaningless if someone else beats you to getting their transaction confirmed. Someone else could have solved the puzzle between the time you took to create this transaction, and broadcast the real one.
hero member
Activity: 813
Merit: 1944
April 28, 2024, 09:51:32 AM
Quote
Theoretically, it's worth the gamble, even though I haven't worked on the exact math behind it.
It is possible to publicly announce SHA-256 of the public key, and get it deeply confirmed, and announced everywhere. Then, if any mining pool will try to overwrite a valid block, there will be a strong, publicly-verifiable evidence, that they did it.

Because the solver can announce for example "OP_RIPEMD160 62e907b15cbf27d5425399ebf6f0fb50ebb88f18 OP_EQUALVERIFY OP_CHECKSIG", and get it deeply confirmed, without trusting anyone, and without touching the puzzle. And then, everyone can see, if the reward from the puzzle was first moved into "solverPubKey" or not.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
April 28, 2024, 09:20:01 AM
What would be the odds of a mining pool trying to replace the mined block and take the puzzle money for themselves?
Foundry USA currently has access to approximately 28% of the hashrate. This means that it has 39% probability to successfully rewrite the entire previous block and mine another one on a row. Therefore, they have two choices.

  • Either continue honestly, with 28% chance of mining the next block and earning 3.125 BTC, or
  • Gamble the hashpower of 2 blocks, with 39% chance of success, earning about 10 BTC.

Theoretically, it's worth the gamble, even though I haven't worked on the exact math behind it. However, in practice, destroying reputation like that is a suicide.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
April 27, 2024, 11:28:35 PM
-snip-
What would be the odds of a mining pool trying to replace the mined block and take the puzzle money for themselves? Normally, it's not worth the risk. But if the puzzle prize is large compared to the block reward, that balance may change.
The blockchain is publicly available, so if ever, that mining pool is risking their reputation for a couple more bitcoins.
vjudeu's reply to the linked topic in my previous post has a nice take on that matter: /index.php?topic=5492493.msg63955089#msg63955089

If that's a big mining pool that has a slight chance to do that, the odds that they'll do that is still low.
If a small solo miner who got no reputation to lose, they will need a tremendous luck to pull that off.
copper member
Activity: 821
Merit: 1992
Pawns are the soul of chess
April 27, 2024, 02:57:02 PM
Quote
But if the puzzle prize is large compared to the block reward, that balance may change.
The smallest puzzle on address 13zb1hQbWVsc2S7ZTZnP2G4undNNpdh5so has at the moment of writing 6.60056114 BTC. The basic block reward without fees is now 3.125 BTC. Which means, that if a block has no fees, then the easiest puzzle is worth more than the newly created coins from two blocks.
legendary
Activity: 3290
Merit: 16489
Thick-Skinned Gang Leader and Golden Feather 2021
April 27, 2024, 11:28:26 AM
There are actually a few topics here that already addresses that concern and the consensus is:
"it's not currently possible without the help of a trusted cooperating mining pool/solo miner".
What would be the odds of a mining pool trying to replace the mined block and take the puzzle money for themselves? Normally, it's not worth the risk. But if the puzzle prize is (much) large compared to the block reward, that balance may change.
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
April 26, 2024, 10:36:49 PM
Is there any particular reason for this?
Because in normal circumstances, this shouldn't be an issue if you're the sole owner of the private key.
Solved puzzle 66 or something?
its about this topic bitcoin puzzle
i saw people talk about things didn't know or hear about beore
Okay, as I thought.

There are actually a few topics here that already addresses that concern and the consensus is:
"it's not currently possible without the help of a trusted cooperating mining pool/solo miner".

Here's to point you to one of the threads: solve key 66 67 Puzzle how to avoid double spends the tx?
AFAIK, there are other discussions that aren't in the first page or posted as a reply to other topics.
newbie
Activity: 17
Merit: 1
April 26, 2024, 04:46:22 AM
sometimes things confused me like in here block time is ~10min right?
It's "average" block time and not an absolute value.

That is based from the adjusted "difficulty" from the previous 2016 blocks (about 2 weeks).
The harder the difficulty, the harder it is to produce a hash lower than the "target".
So since mining is basically generation of pseudo-random hash, we will never know if miners get lucky enough to generate a valid hash in the next second or unlucky to generate it after an hour.

is it possible to have a transaction confirmed in few sec
by putting the higher fee on the time

by saying final i meant with no possibility to rteplace it with another one
Is there any particular reason for this?
Because in normal circumstances, this shouldn't be an issue if you're the sole owner of the private key.
Solved puzzle 66 or something?
its about this topic bitcoin puzzle
i saw people talk about things didn't know or hear about beore
like this double spend and RBF
https://bitcointalk.org/index.php?topic=1306983.0;topicseen
legendary
Activity: 2534
Merit: 6080
Self-proclaimed Genius
April 25, 2024, 11:30:44 PM
sometimes things confused me like in here block time is ~10min right?
It's "average" block time and not an absolute value.

That is based from the adjusted "difficulty" from the previous 2016 blocks (about 2 weeks).
The harder the difficulty, the harder it is to produce a hash lower than the "target".
So since mining is basically generation of pseudo-random hash, we will never know if miners get lucky enough to generate a valid hash in the next second or unlucky to generate it after an hour.

is it possible to have a transaction confirmed in few sec
by putting the higher fee on the time

by saying final i meant with no possibility to rteplace it with another one
Is there any particular reason for this?
Because in normal circumstances, this shouldn't be an issue if you're the sole owner of the private key.
Solved puzzle 66 or something?
newbie
Activity: 17
Merit: 1
April 25, 2024, 09:30:54 PM
is it possible to have a transaction confirmed in few sec
As mentioned by BlackHatCoiner above, if the fee you pay for your transaction is high enough, it will be confirmed in the next block and I just want to add that blocks are mined at the rate of 1 per ~ 10 minutes on average.

its very clear answer i get it

i see https://mempool.space/
next block found in 13min sometimes 19min and some times in 2min the next block mined
 Huh

higher fee +56 sat/vB


sometimes things confused me like in here block time is ~10min right?
legendary
Activity: 2380
Merit: 5213
April 25, 2024, 02:58:12 PM
is it possible to have a transaction confirmed in few sec
As mentioned by BlackHatCoiner above, if the fee you pay for your transaction is high enough, it will be confirmed in the next block and I just want to add that blocks are mined at the rate of 1 per ~ 10 minutes on average.
legendary
Activity: 1512
Merit: 4795
Leading Crypto Sports Betting & Casino Platform
April 25, 2024, 02:57:40 PM
which wallet you recommend that support RBF
These are some wallets that support opt-in RBF: Bitcoin open source wallets that support replace-by-fee (RBF)

If you are not a full node runner, I will advice you to use any of the wallets on the above link.

I have used Electrum, Sparrow and Bluewallet. They are reputed and open source.

If you are a full node runner, you can enable full RBF. Although, SPV wallets that look for nodes that support it should be able to double spend unconfirmed transaction with high fee also even if the transaction does not support opt-in RBF.

is it possible to have a transaction confirmed in few sec
by putting the higher fee on the time
What BlackHatCoiner meant is that a transaction that is not confirmed can be double spent.

A transaction can be confirmed within some seconds and it may take some minutes. It depends on the time you make the transaction, the fee rate that you used and the time the next block is mined.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
April 25, 2024, 02:51:15 PM
is it possible to have a transaction confirmed in few sec
The fastest that you can have it confirmed is in the next block, which can happen anytime. From the next second now to even two hours after. You will have to select the highest fee, though, which as we speak is 43 sat/vb (and use RBF in case that's become less than the highest).

by saying final i meant with no possibility to rteplace it with another one
Only if it's confirmed. If it's 0-conf, it can be double-spent with another 0-conf.
newbie
Activity: 17
Merit: 1
April 25, 2024, 02:45:37 PM
i want to send a transaction and make it final with RBF disabled
That is not possible, and it never was in the first place. When your transaction has 0 confirmations, it is by the protocol not final. If you're referring to the mempool policy rule before full RBF, then it is neither possible. Almost all nodes will have upgraded to Full RBF by now, and even if full RBF nodes are a tiny minority, it's enough to reach the mempool of the mining pools.
thank you for answering

is it possible to have a transaction confirmed in few sec
by putting the higher fee on the time

by saying final i meant with no possibility to rteplace it with another one
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
April 25, 2024, 02:34:36 PM
which wallet you recommend that support RBF
Unfortunately, that user is no longer with us. You can stick with any reputable wallet nowadays, and it supports double-spending with RBF.

i want to send a transaction and make it final with RBF disabled
That is not possible, and it never was in the first place. When your transaction has 0 confirmations, it is by the protocol not final. If you're referring to the mempool policy rule before full RBF, then it is neither possible. Almost all nodes will have upgraded to Full RBF by now, and even if full RBF nodes are a tiny minority, it's enough to reach the mempool of the mining pools.
newbie
Activity: 17
Merit: 1
April 25, 2024, 02:29:18 PM
The point there is to use a better wallet. Tongue Network rules are not bound or limited by third party developers failing to implement basic functions in their software. Being able to replace an unconfirmed transaction is an increasingly basic function of bitcoin. If your wallet does not allow you to do that, then find a better wallet which does.

which wallet you recommend that support RBF, i want to send a transaction and make it final with RBF disabled
how to do this?
even if the node is full RBF is this possible

in other word how to make a transaction final without any possibility to double spend it
legendary
Activity: 2268
Merit: 18711
July 28, 2023, 06:25:18 AM
-snip-
On an individual level for simple transactions, then no, there is no difference for you between opt in or full RBF.

The main reasons for full RBF are explained in one of the mailing list posts I linked in the OP: https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2021-June/019074.html

In short, full RBF eliminates a number of DoS attacks against multi-party transactions such as Lightning channels and coinjoins, therefore allowing further development of these technologies.
hero member
Activity: 882
Merit: 792
Watch Bitcoin Documentary - https://t.ly/v0Nim
July 28, 2023, 05:00:45 AM
If my wallet doesn't support RBF, there will be no option for me in software to increase the transaction fee. What's the point there?
The point there is to use a better wallet. Tongue Network rules are not bound or limited by third party developers failing to implement basic functions in their software. Being able to replace an unconfirmed transaction is an increasingly basic function of bitcoin. If your wallet does not allow you to do that, then find a better wallet which does.
If my wallet allows RBF and still it depends on me to use that option, then what's the point of full RBF over opt-in RBF?
Let's imagine we already have full RBF:
I download wallet X, it doesn't support RBF, so despite the fact that my transaction is marked as RBF enabled, I'm unable to use that option because of my bad wallet.
I download electrum, enable RBF and sign a RBF enabled transaction, I could use RBF yesterday and I can use it today, doesn't matter whether it's an opt-in option or not. If I want to use it, I can use it. It can probably benefit people who use Electrum but forgot to enable RBF but how common is that?
legendary
Activity: 2268
Merit: 18711
July 28, 2023, 04:56:20 AM
If my wallet doesn't support RBF, there will be no option for me in software to increase the transaction fee. What's the point there?
The point there is to use a better wallet. Tongue Network rules are not bound or limited by third party developers failing to implement basic functions in their software. Being able to replace an unconfirmed transaction is an increasingly basic function of bitcoin. If your wallet does not allow you to do that, then find a better wallet which does.

That sounds very logical! But kinda confusing for the nodes, wonder if it causes some kind of danger on network, something similar to double-spending.
The only danger is if you accept zero confirmation transactions. However, these have never really been safe to accept in the first place, but some businesses accepted that risk for the convenience they brought. Full RBF makes no difference to confirmed transactions.
hero member
Activity: 882
Merit: 792
Watch Bitcoin Documentary - https://t.ly/v0Nim
July 28, 2023, 04:45:59 AM
The TL;DR for anyone out of the loop is to implement a new setting for nodes, so that the node treats all unconfirmed transactions in its mempool as RBF enabled, regardless of whether or not that transactions signals for RBF. The default behavior (for now) will be to have this setting disabled, so the current opt-in RBF rules will apply, but nodes will be free to enable this setting and switch from opt-in RBF to full RBF if they choose.
If my transaction doesn't signals for RBF but nodes automatically convert it into RBF enabled transaction, how will I be able to use the RBF option? I mean, let's say that my wallet doesn't support RBF but as I understood, nodes mark all of them as RBF enabled. If my wallet doesn't support RBF, there will be no option for me in software to increase the transaction fee. What's the point there? Or did I misunderstood it?

However, it also essentially stops any business from accepting zero confirmation transactions for small values, since all transactions (even those opted out of RBF) could potentially be replaced using RBF.
From my personal experience, every service that accepts transactions with 0 confirmation expects from you to pay high fee, enough to get confirmed in few upcoming blocks. If the fee was not enough, I always had to wait at least for one confirmation. Or in case of casinos, I was able to play with deposited amount despite the fact that it had 0 confirmation but I was unable to withdraw them at least till 1, 3 or 6 confirmation.
So, I think that won't be a huge problem if companies aren't able to accept zero confirmation transactions. At least when I have used that option, that was always formal, I don't really know if your experience is different. You have probably used more bitcoin services than me.

Here's the way I see it:

Let's say Alice does not enable full RBF, but Bob does. Carol broadcasts a transaction which is not opted in to RBF, which propagates to both Alice and Bob's mempools. Carol then broadcasts a replacement transaction. Alice, running the old rules, rejects the replacement transaction as a double spend, while Bob, running the new rules, accepts the replacement transaction as an RBF. Alice therefore has the old transaction in her mempool, while Bob has the new transaction in his.

At some point, one of these two transactions will be mined in to a block. Which one is mined will depend on a variety of factors, such as how many nodes are running the old or the new rules, how much hashrate sees the original transaction or the new transaction, the fees both transactions pay, which miner is lucky enough to find the next block, and so on.

Once the next block is found, then all nodes, regardless of which rule set they are using, will be able to validate the transaction which was included in the block, and if necessary, remove the other one from their mempools. If the original transaction confirms, full RBF enabled nodes like Bob will eject the replacement, and if the replacement confirms, full RBF disabled nodes like Alice will eject the original.
That sounds very logical! But kinda confusing for the nodes, wonder if it causes some kind of danger on network, something similar to double-spending.
Pages:
Jump to: