Bitcoin Forum
May 17, 2024, 01:50:52 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 [112] 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 ... 463 »
2221  Bitcoin / Bitcoin Discussion / Re: Why kids born in 2140 don`t get a chance to mine rewards? on: January 23, 2021, 02:08:12 PM
You never provided a logical answer.
I'm pretty sure I did quite a few times till I put you on my ignore list. Well, including that one time you compared a transaction fees to a tax, not sure what you were implying. Now that you say, perhaps I should supplement the answer above.
But why don`t they get a chance to earn block rewards?
As compared to the fiat system that you adore, Bitcoin does not have a steady or increasing inflation but rather it has a decreasing inflation. This means that Bitcoin will have a fixed supply cap and will not exceed the maximum limit as documented in the protocol, well unless you fork it for an altcoin. The primary function of a block reward is to distribute the coins fairly. If the currency has a fixed supply cap, there is no way you can achieve that without the block rewards being zero or negligible throughout it's lifespan. It does not matter if they get a chance to earn block rewards or not. The difficulty system ensures that the difficulty of mining a block is proportional to the cost of mining that block.

Having a steady/constant inflation would undoubtedly devalue the price of Bitcoins and the miner's would probably get compensated to the same effect if they're mining solely for the transaction fees in the future. If you don't see the block rewards and the transaction fees as a compensation for the miner's expenses to mine Bitcoins, then you probably won't accept most of the reasoning. Appreciate the reply though, hope we can finally have some constructive discussion.
2222  Bitcoin / Bitcoin Discussion / Re: Why kids born in 2140 don`t get a chance to mine rewards? on: January 23, 2021, 01:43:04 PM
I'm not sure why would you spend all your time trying to undermine Bitcoin when there is obviously loads of altcoins that does exactly what you envision, lifetime inflation, free from riding the coattails of fiat, whatever. There's probably an altcoin that is suitable for you. It's meaningless to try to entertain you when you obviously won't accept any logical answers. If you think Bitcoin should act like fiat, go use fiat.

If you don't believe me or don't get it, I don't have time to try to convince you, sorry.
2223  Other / MultiBit / Re: From Multibit 0.5.18 to Electrum on: January 23, 2021, 01:29:24 PM
So i think i try to export them to Electrum.
But what is an absolute safe way to do this for an absolute beginner?
Do you have the private keys? (5..., K... or L...)?

If you do, download and verify[1] Electrum from Electrum.org. Install it and start the Electrum. You should be greeted with this:


Press Next> Create A New Seed> Segwit and you should see a 12 word sentence. Copy that down and keep it safe, it's your only way to retrieve your funds if something happens to your Electrum Client. After you verify, enter a password (or not), you should be greeted with an empty wallet. Next, go to Wallet>Private Keys>Sweep and enter it this way:



Press Sweep, adjust the fees accordingly, Press Finalize, Sign and finally Broadcast.


[1] https://bitcointalk.org/index.php?topic=5240594.0
2224  Bitcoin / Bitcoin Discussion / Re: Error message in Bitcoin core on: January 23, 2021, 12:59:01 PM
how do I determine the optimal change I should use when creating the transaction?
Calculate the fees that you require.
- Assuming Bech32 (bc1...) transaction
A typical bech32 transaction should be roughly 110 vbytes, assuming 1 input and 1 output. Add the size of your OP_return message as well, that'll be roughly 190vbytes, give or take. Your fees should not be below 190 satoshi, if you want a confirmation anytime soon you would probably be looking at ~ 2290vbytes , deduct the transaction fees from the inputs and you would be left with the change that you should have. If it's below 294 satoshis, you should probably just omit it completely.

That being said, please do not craft the raw transaction yourself if you're not familiar with what you're doing. If you want, using a utility like Coinb.in to craft it and validate using your Bitcoin Core client would probably be more suitable. If you're just looking to experiment with it, either use regtest or Testnet.
2225  Bitcoin / Bitcoin Discussion / Re: Error message in Bitcoin core on: January 23, 2021, 12:06:36 PM
Is one of your outputs is below 546 or 294 satoshis. If that's the case, you have to omit that output or use less funds as your fees.
2226  Bitcoin / Bitcoin Technical Support / Re: I want to know more about child pay for parent on: January 23, 2021, 10:48:51 AM
1. Supposing I have 0.0002btc, I sent the whole 0.0002btc to wallet B with low fee, if wallet A receive 0.001btc later. Wallet A can not do child pay for parent because no bitcoin to change address because all the bitcoin (0.0002btc) were sent.
Correct.
2. But if wallet A has 0.00002btc, sent 0.000019btc with low fee, wallet A change address will receive 0.00001btc. Later wallet a receive 0.01btc from another wallet, because of the 0.00001btc received by wallet A change address, wallet A can do child pay for parent?
Correct. As long as you control at least one of the outputs in that unconfirmed transaction. The amount is a bit wrong as the change should be 0.000001BTC and that's a dust but it's not a problem since most wallets will not include a dust output.
2227  Bitcoin / Bitcoin Technical Support / Re: I want to know more about child pay for parent on: January 23, 2021, 10:32:24 AM
Thanks for the answer, I now know that if the change address is not having sufficient bitcoin amount, I can not do child pay for parent.
You can. Just make sure that your wallet includes at least one of the outputs from that specific transaction, and you'll be able to do CPFP even if you spend the other confirmed output as well.
2228  Bitcoin / Bitcoin Technical Support / Re: I want to know more about child pay for parent on: January 23, 2021, 10:14:56 AM
Child pay for parent involves two transactions.

The parent transaction is unconfirmed.

A -> B
   -> C   Fees: 1 sat/vbyte 142 bytes

B is the address that you're sending to and C is the address that you control which is the change address. Unfortunately, your fee rate is too low and it remains unconfirmed.

Since you have the ability to spend output C, you can create a transaction which spends it with a larger than proportionate fee (say 20sat/vbyte).
Child transaction:

C -> D Fees: 20 sat/vbyte 299 bytes

Total fees: 142sat+ 5980sat
Fee rate: 13.8sat/vbyte

If you combine both of the size and fees together to get the fee rates, it should be fairly high.  If the combined fee/size is sufficiently high, miners are incentivized to mine both of your transaction so as to obtain the transaction fees for both.

To answer your question: Depends. As illustrated, miners are incentivized with CPFP only if you're spending an output from the unconfirmed transaction so they would confirm both to collect all the fees. CPFP requires you to include at least one output from the unconfirmed transaction. If possible, enable opt-in RBF.
 

CPFP is not the most ideal method to bump fee. Spending C entails the fact that you also have to pay for the cost to spend that output and thus incurs an additional fee ontop of your current fees. In comparison, Replace-By-Fee is better as you can just replace the original transaction with a higher fee rate for it to be confirmed. There are cases where CPFP is useful, if you're not the sender and/or if you didn't enable RBF.
2229  Bitcoin / Bitcoin Discussion / Re: Storing data on Bitcoin blockchain? on: January 23, 2021, 10:10:51 AM
On a protocol level, there is OP_return, an opcode which allows you to store about ~80 bytes of data as an output. You can encode arbitrary data with it to burn coins or to place messages. Go to any recent blocks and you'll see that the Coinbase transaction (which has the block reward) has an OP_return that indicates the merkle root of the witness tree.

There is no limits that's defined on a protocol level but you can only have one of such output and it has to be less than 80 bytes unless you're able to find a miner to help you and put it in their block. Anything greater than 80bytes is considered non-standard and will not be relayed by the nodes. It's inherently expensive to store huge data on Bitcoin's blockchain, blockchain bloat is a serious concern.
2230  Bitcoin / Bitcoin Technical Support / Re: Question about competing blocks on: January 23, 2021, 09:11:08 AM
Logically, if on the node hasn't seen a transaction on the stale chain, it would also be pushed from the stale block into the mempool, unless it is a non-standard transaction.

If a node is well connected, then it would probably be able to see both of the blocks (albeit only validating the entire block for the first block received) as the block header would be relayed.
2231  Bitcoin / Bitcoin Discussion / Re: Another attempt to manipulate the market on: January 23, 2021, 06:52:02 AM
No one in the right mind accepts a $22 million with 1 confirmation when there's obviously a competing fork alongside it. I'll say 6 confirmations at least and at that point, trying to outpace the entire network would just be burning money. This is NOT a double spend attempt in any malicious manner, conflicting transactions were mined in two competing forks and one of the chain eventually won. There was no evidence that this could have been planned, either forks would have won easily.

I'd say that the news headline took some random responses on Twitter and threw it on their headline to either buy some cheap Bitcoins or to get more traffic. Depends on which you believe.
2232  Bitcoin / Development & Technical Discussion / Re: How does the difficulty adjust so precisely? on: January 23, 2021, 06:28:51 AM
It is using blocks 30240 to 32255 inclusive, which are 2016 blocks (32255-30240+1=2016).
Why do you include 30240 though? The time taken for that block can't be considered because it only takes into account the timestamp that that block has but not the block prior to that to give the code a representation of the time to generate that specific block, and thus wouldn't actually include the time taken for that block right? Am I missing something?

If we're going by the logic to calculate time intervals of 2016 blocks and if we want to consider block 30240, wouldn't we include 30239 as well?
2233  Bitcoin / Development & Technical Discussion / Re: How does the difficulty adjust so precisely? on: January 23, 2021, 06:06:07 AM
Are you sure it is 2015? I've seen this elsewhere too but the code is saying something else.
-snip-
The test code is here[1], I'm not very well versed in cpp but from my limited understanding, the underlying logic is to calculate the time taken to generate the previous 2015 blocks (and by extension the time interval within the 2015 blocks) because the time taken to generate the #0 block is not accounted for or else the code would overlap into the block prior to the #0 block to also account for the time taken for it. Please do correct me if I'm wrong, but that's what I understood when I skimmed through it previously. It's the off-by-one error, after a brief search and I can't find any remedy done for it.


[1] https://github.com/bitcoin/bitcoin/blob/4a540683ec40393d6369da1a9e02e45614db936d/src/test/pow_tests.cpp#L14
2234  Bitcoin / Development & Technical Discussion / Re: How does the difficulty adjust so precisely? on: January 23, 2021, 04:49:38 AM
So is the adjustment, I guess basically what amounts to a max value the hash can be, more granular than just adding another zero? Like instead of an increased difficulty changing it needing to start with "0000" to "00000" it goes from "0000" to "00005" or whatever on an increased difficulty adjustment? I feel like this wasn't actually answered yet in this discussion. And how does the calculated difficulty (expected time / actual time) play into this...I'm assuming that difficulty adjustment factor is just multiplied to the previous max allowable hash value to get an increase or decrease in difficulty. The way this is always described - "add a zero to increase difficulty" - clearly isn't the way it actual works so if someone could clear this up that'd be great.
Difficulty is just a representation of the target. Each block header has a target and it is represent in bits. The current target is 170da8a1 or 0000000000000000000da8a10000000000000000000000000000000000000000 in hexadecimal. For a block to be valid, the hash of the block header must be lower than or equals to the current target. For the current difficulty, you'll just use the maximum target/current target which will result in 00000000FFFF0000000000000000000000000000000000000000000000000000 / 0000000000000000000da8a10000000000000000000000000000000000000000 , equals to approximately 20607418304385.63 which is the current difficulty.

Now, since difficulty is a function of target, you can do it in reverse to obtain the next difficulty. When calculating the next difficulty, you'll be taking the expected time/actual time of the last 2015 blocks. Let's take for example the previous difficulty adjustment which was on 9 Jan 2021. The average block time was about 9 minutes and 2 seconds. The expected difficulty increment would be 600/542 which is roughly 10.7% increment. If you were to convert the new target from the new difficulty (18,599,593,048,299 x ~1.107), you would be using 00000000FFFF0000000000000000000000000000000000000000000000000000 / 20607418304385.63 which would give you a target of 0000000000000000000da8a10000000000000000000000000000000000000000.

You can actually just calculate the target without a conversion to the difficulty but I wanted to show how they're linked. Given that the network attempts to keep the block interval at an average of 10 minutes, the difficulty adjustment is based on the deviation from the expected time and uses it to calculate the difficulty increase, or the decrease in the target. They have an inverse relationship.
2235  Bitcoin / Development & Technical Discussion / Re: Is 1 confirmation enough for Bitcoin transactions? on: January 22, 2021, 01:23:07 PM
The chances of something like this happening is all about timing. We have to consider that there is some time between when the user broadcasts the second transaction (the double spend/RBF with higher fee) and it propagates to reach the mining pool's node and for them to put that new one in their block and mine the new one. Even though we are talking about seconds here but it is perfectly possible.
Might have been intentionally mined by SlushPool. There's apparently another RBFed transaction prior to the transaction that was included in the F2Pool's block. It seems highly unlikely that the delay was so significant and that SlushPool didn't see the other transaction as well[1]. I don't think SlushPool has a way to PushTx but it's still quite weird.

[1] https://twitter.com/BitMEXResearch/status/1352256363704037377/photo/1
2236  Bitcoin / Development & Technical Discussion / Re: Damaged paper wallet - Help!! on: January 22, 2021, 01:16:19 PM
My next question - isn't the odds are (a little) better due to the known position of the 8 characters, the known public key, and that it was generated with SHA1 and probably dictionary phrase? 

Is there a tool out there that I can test possible phrases and position the known characters?
I don't think SHA1 was used for your brainwallet, that was the signature for the webpage itself and has nothing to do with your brainwallet. A small change in your brainwallet phrase will have an avalanche effect in your resultant WIF private key, having knowledge of that can possibly help you to verify if the key is correct but won't help you to reduce the time if you were to bruteforce using the phrase.

If it's a dictionary phrase, I would expect it to be wiped by now. I'm not exactly sure how Bitaddress used to generate them but I presume they are not salted.
2237  Bitcoin / Bitcoin Technical Support / Re: If i send someone btc, can they see what kind of wallet i use? on: January 22, 2021, 06:21:12 AM
So in other words, i probably can send btc from a blockchain wallet and still claim that i have used electrum? There is no way to be 100% sure that im using a blockchain wallet right?
Yes, Blockchain.com actually do have a lot of features missing so that could leave some clues but it won't be concrete. Though I'm not sure why that would be an issue at all. I don't use Blockchain.com wallet as the features that it has pales in comparison to Electrum. Consider switching to Electrum nonetheless.
2238  Bitcoin / Bitcoin Technical Support / Re: If i send someone btc, can they see what kind of wallet i use? on: January 22, 2021, 05:36:36 AM
Looking at the raw transaction, no. You'd have to probably do an indepth analysis of the spending behaviour. There could be some behaviours that could give clues to what kind of wallet it is. It's by no means accurate though. For example, a transaction without opt-in RBF and with a legacy address could be a Blockchain.com wallet but it could also be someone intentionally disabling opt-in RBF or just spending from an old Bitcoin Core client.

You can also spend Segwit inputs together with P2SH(3...) or P2PKH(1...) inputs on most wallets so a transaction won't be indicative of what kind of wallet it is primarily.
2239  Bitcoin / Bitcoin Discussion / Re: BTC double spend microtransaction on: January 22, 2021, 04:09:47 AM
There is no double spend, this is RBF
It's not exactly a RBF either. RBF would've pushed the 1 sat/byte transaction out of the mempool. There were two other RBF transactions that replaced the 1sat/byte transaction. In a scenario where RBF is in play, either of the subsequent transactions would've been more likely to be included in a block. It's either that SlushPool doesn't include RBF transactions, the subsequent transactions had poor propagation or the user used some utility to directly push it to Slush.

The subsequent transactions were propagated well due to RBF but that won't account for why the 1 sat/byte transaction got in. Anyways, it's just a typical case of the media capitalizing on this. There's a reason why exchanges requires more than one confirmation, this would've been malicious if either of the transaction wasn't broadcasted beforehand but that's not the case.
2240  Bitcoin / Electrum / Re: URGENT! How can I safely send bitcoins from my phone? on: January 22, 2021, 04:04:25 AM
-snip-
Have you tried signing it with Electrum? Might be just a problem with mine but it won't sign and shows it as signed already.

I don't think CoinB.in would be the best idea. Using Electrum to script raw unsigned transaction is much more convenient as it displays the size of the transaction beforehand for a more accurate fee. Using the master public key in place of individual addresses would help the user to spend all the funds if needed. It also doesn't have a QR code plugin to encode QR codes.
Pages: « 1 ... 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 [112] 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 ... 463 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!