Bitcoin Forum
April 30, 2024, 05:53:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 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 ... 461 »
1241  Bitcoin / Electrum / Re: Electrum default coin selection on: May 30, 2021, 11:20:51 PM
Electrum old versions used to let the user choose between priority and privacy coin selection. When you select priority, Electrum will use the oldest utxos as inputs. Not sure why this feature was removed!
It was there when Bitcoin Core still considered transaction priority in their relaying and miners still mined free transaction. It was removed once Bitcoin Core removed the logic as well. Don't see much point in keeping this as spending coins in chronological order is quite detrimental to the user's privacy as well.

Might seem paradoxical since the client leaks so much privacy but it's better than them not doing anything about it.
1242  Bitcoin / Bitcoin Discussion / Re: Why do we insist on "Test Transactions"? on: May 29, 2021, 02:25:57 PM
This is one of the many reasons why people really do test transactions especially if you are dealing with new exchange or it is your first time to use such exchange. You want to use small amount of money just to see if their system is working, no bugs or any of that sort. Because even if it is your first time to use Binance for example, are you confident to send large amount of funds at the very first transaction? Knowing that their reputation is top-notch. Still, your worries may not be on their side, but more on your end, as you are thinking that you might make a simple mistake along the line. So if in case you made wrong move, at least only small amount is wasted. I guess, most of us went thru the same dilemma.
Sending to exchanges means that the principle that past experience doesn't determine your future experience applies. If anything occurs during your transaction, the onus is on Binance or whatever exchange you're using to solve it. There is pretty much nothing that could go wrong as long as you are sure you're sending to the correct address as shown. Even with less established exchanges, you never know if they'll pull a quick one on you after you send a larger amount.

If anything, sending it once and doing multiple checks is more ideal than sending it multiple, thus increasing the room for error as well as the fees.
1243  Bitcoin / Bitcoin Discussion / Re: What if Bitcoin had 1 minute block time and 1 minute difficulty retarget on: May 29, 2021, 11:49:58 AM
Their offered work isn't the same on these confirmations, I get it. But if the hash rate isn't “fairly” distributed then someone could offer more work in a certain time period and hence, more proof.
We're not concerned about the potential of someone executing an attack but rather how much resources is required to attack the chain.

Does re-organization differs from replacing previous blocks? If you had 30% of the hash rate, it'd be easier for you to re-organize the blocks in contrast with someone controlling the 10%.
Reorganizing is equivalent to replacing the blocks. Yes, you will. The distribution of the hashpower isn't the main point here though, distribution of the current hashrate gives you the potential of the majority to execute an attack but it doesn't take into account the cost. Distribution is thus independent of the game theory which is whether they will attack the chain, given the cost and benefit of it as well as the decisions of the other stakeholders.
1244  Bitcoin / Bitcoin Discussion / Re: What if Bitcoin had 1 minute block time and 1 minute difficulty retarget on: May 29, 2021, 11:17:40 AM
What is the average time for any given node to receive a newly mined block, though? If it is around 10 seconds as I used in my example above, then we are still looking at a greater than 9 fold increase in the number of stale blocks by reducing the block time to 1 minute. Sure, if we can speed up propagation through the network then this improves, but it still tends toward centralization because it gives larger miners who will receive blocks first a greater advantage than at present.
Back in 2017, the 50th percentile as mentioned by Bitcoinstats.com is ~2s but the 90th percentile will definitely take some time. It is to the best interest of the miners to be included as upper bound of 50th percentile. It is to the best interest of the miners to be as well connected to each other as possible, while centralization concerns are valid, it becomes less if the time it takes to propagate through the network is fairly quick and it isn't illogical to assume every miners will try to get the best possible connection.

Certain miners are more well connected than the rest as of now, either through zombie nodes or a similar implementation to FIBRE.

I don't think that reducing the block time is the correct approach to scaling anyway. Even if you drop it down to 1 minute, for example, then that is still too long for the "buying coffee" scenario, and thanks to the exponential distribution of blocks you will still see plenty of blocks which take >5 minutes to be found. You would need to wait just as long for the same amount of security as you do on the current chain, if not longer since more hash rate is being wasted mining stale blocks.
I don't disagree but that is assuming stales are still occurring on a regular basis. Since 10 minutes essentially represents 10 minute worth of PoW mining and thus a higher cost, doesn't it make sense for merchants to be still allowing 1 confirmations? The need for a 10 minute confirmation as a measure of security can be quite overblown at times; I find it sufficient for half or 10 times less of the current opportunity cost for something that costs $1.

If it ever happens once, it'll be a strong evidence of what is secure and what's not. I consider that response really casual, no offense. I'm personally fine with one confirmation, but if I ever wanted to transact huge amounts, I wouldn't risk it. Recently, the chain was reorganized because two miners mined the same block at the same time. The transactions on the abandoned block are now invalid.
Transactions are not invalid after getting mined in a stale block. In fact, large proportion of the transactions are probably included in both the blocks and thus no matter which fork prevails, your transaction has already been included in the chain. Stale blocks are not a very serious security risk, if the transactions pay enough fees,  then there is a high probability of them being included in both the blocks. It does make it easier for someone to double spend if merchants starting accepting 1-2 confirmations if stale are very prone, which makes it a risk and people can probably exploit it without much effort.


Something must go wrong. This site calculates the equivalent time of 6 Bitcoin confirmations compared with other cryptocurrencies, based on their offered work. Correct me if I'm wrong, but the offered work refrains from security. Isn't the distribution of the hash rate that matters?
No. The cost of re-organizing the blocks is what matters. It doesn't exactly matter if I have 60% of the hashrate, I can easily do a 51% attack but there is no incentives as it is far more expensive than to just mine as an honest entity.
1245  Bitcoin / Hardware wallets / Re: Hardware Wallet protection on a online computer on: May 29, 2021, 09:26:37 AM
It is very possible hackers can steal Trezor and able to access the seed phrase, this vulnerability has been discovered by Krakn like two or three years ago. But the use of passphrase to extent the seed will help for such hackers not to be able to access the cryptocurrencies because salting process in which additional words (passphrase) are used lead to generation of different keys entirely which will make it impossible for hakerd to get through to steal your funds.

There are some uncommon hardware wallets, example is the Coolwallet S that do not support passphrase and yet such physical attack can lead to access to its passphrase, this will only make hackers to steal such wallet to get through by knowing the wallet seed phrase and have access to the keys generated by the wallet. That is why it is good not to use uncommon hardware wallet.
Secure element is designed to never leak the seeds or to at least make it inherently difficult and/or expensive to access it. Passphrase is used as an additional security measure against attackers if that layer of defense is broken, plausible deniability as well but using a passphrase is not desirable in all situations; not being covered by checksum, forgetting it, etc. AFAIK, CoolWallet has a secure element which makes it that much harder to extract the seeds in the first place.
1246  Bitcoin / Bitcoin Discussion / Re: What if Bitcoin had 1 minute block time and 1 minute difficulty retarget on: May 29, 2021, 09:05:55 AM
But we still have stale blocks with a frequency of somewhere around 0.1% with a block time of 10 minutes. Decreasing that to 1 minute would increase the number of stale blocks exponentially.

The probability of finding a block in time x is given by the equation 1 - e(-x/y), where y is the expected block time. If we take x = 10 and y = 600, then the chances of finding a block with 10 seconds currently is around 1.65%. If you drop the block time to a minute and make y = 60, then that chance increases to 15.35%. That's a huge increase in stale blocks and a huge increase in wasted hash power.
The fork occurs if two different miners were to broadcast their own blocks and the propagation makes it such that different miners are working on different chain and one of the block gets continued. So assuming that, the time it takes for a block to propagate becomes a factor. If the blocks were to be propagated quicker than X, then the chance of a stale block occurring lowers significantly as well. That is assuming two different miners don't mine the blocks at the same time.

Now, there are implementations such as FIBRE which supposedly reduces latency to the range of milliseconds among miners who runs the node. It is unfortunately deprecated now so I can't find any stats on it. If we were to use it in conjunction with FIBRE, then there shouldn't be a very significant increase in the stale. Of course, there is a limit at which stale blocks becomes far more prominent but I'm sure that 10 minutes at 2MB is still quite conservative given the conditions that we have today.

Besides, it is to the miners interest to attempt to reduce their latency as well. I've not really seen a whole lot of stale blocks involving well known miners so much nowadays. It is almost always between a larger mining pool and some miner that didn't tag their own block. I wouldn't be surprised if the larger miners are far more interconnected than the rest of the network using some form of direct connection.

For the record, I don't think 1 minute block would be well supported and might cut too close to the threshold but I find that we could perhaps explore the possibility of capacity increase in Bitcoin either with larger block sizes or block intervals.
1247  Economy / Service Discussion / Re: Bitcoin double spend on: May 29, 2021, 08:53:48 AM
I think that when the developers started implementing RBF, they used a very misleading word as a verb to this procedure. Double spending is prevented using a peer-to-peer network as the whitepaper says, but they chose that phrase as the proper one for RBF. Maybe a better formulation would be re-broadcasting or broadplacing?
Double spending is impossible in Bitcoin if and only if you're looking at the blockchain alone; a single chain cannot have two of the same inputs being spent twice. You can however, choose to spend an input that has been spent before and is currently in the mempool. Technically, by being able to broadcast a transaction which spends the same inputs as another in the mempool is regarded as double spending it, though obviously the other gets kicked out.

This is not an accelerator as some of the users here are claiming. This is a site to broadcast two competing transactions by broadcasting a conflicting transaction after the other. This site isn't intended to help users to use RBF to unstuck your transaction but rather to help users intentionally replace a current transaction with their own. You can do so with any wallet that support RBF.

1248  Bitcoin / Bitcoin Discussion / Re: Why do we insist on "Test Transactions"? on: May 29, 2021, 08:44:19 AM
Correct me if I'm wrong, but in such a case you would have no problems sending coins to such an address, and the problem would only be manifested when you tried to spend the coins on that address. The vast majority of people who make a test transaction simple wait for the coins to show up in their wallet before sending the rest of their stack, and so a test transaction achieves nothing in this case.
Yes. That is correct. You need to spend funds from that address. I'm under the impression that OP meant sending and spending. Nothing is achieved by just sending a small amount.

Again, how many people making a test transaction even know what the r value is, let alone how to check if it has been reused? If anything, making a test transaction from one address to another before making a main transaction between the same two addresses puts you at risk of the sending wallet reusing the same r value with the same private key, someone being able to deduce that and double spend your main transaction before it confirms (highly unlikely, I know, but possible).

I have never once made a test transaction and I have never once lost any coins. Care and due diligence in your wallet selection and transaction details are all that is required.
It is honestly better than nothing. There are loads of bots which monitors the network for any r value reuse. If they detect any, then they will attempt to push a competing transaction and thus stealing your funds. That has been the case for quite a couple of years... Especially since that Blockchain.info and those Android wallet vulnerability.

I would probably recommend people to use more well known wallets, but if they can't then it would be a good idea to check if it works in the first place. Using a wallet that isn't well tested is a security risk nonetheless.
1249  Bitcoin / Bitcoin Discussion / Re: Why do we insist on "Test Transactions"? on: May 29, 2021, 07:15:31 AM
However, I have always been perplexed by this notion given the near perfect track record of the blockchain itself. Why would you need to do a test transaction when you know if you are sending to the correct address, the funds will get there safely?
The protocol itself might be working fine, totally understandable but you can't say the same for the wallet client.

The address has a checksum and can be valid. However, the problem lies if the client somehow generates a nonstandard address. For example, if your wallet client uses a non-compressed public key to generate a Bech32 address, the network considers it nonstandard. You need a miner to be willing to manually include it in a block that they mine. Or, worse off, if the transaction is valid but the developers accidentally makes the transaction reuse the r value. The latter is quite unavoidable and can happen after several iterations of the wallet but it is a good way to tell if the wallet is suitable from your first try.

It should not happen with most wallets, provided that the developers are competent at the very least.
1250  Bitcoin / Electrum / Re: Electrum default coin selection on: May 29, 2021, 04:20:51 AM
You can manually choose what you want to spend on the coins tab if you want to reduce the fee but how about if you are going to spend them all in the future?

You still have many outputs so you will still pay a huge fee in the future if you are going to spend them all in one transaction.

They set Electrum to merge all UTXO by default and sent it to address destination and change address but if you don't want to pay a large fee always make a transaction when the network is not congested.
It isn't always an option for users to only use Electrum when the network is not congested. Users have to actively use coin control to change their outputs. Consolidation transactions should only be done when it is not congested but normal transactions should not be treated as consolidation transactions. It is unnecessary and incurs too much fees.

In normal usage as intended, the user won't run into such issues. Electrum tries to get their users to use different addresses from each transactions. This makes it such that each bucket only has 1 UTXO as the address is only used once. Hence, the transaction would end up being the most efficient. If the user reuses their addresses, this won't hold true and the user has to adjust it manually.
1251  Bitcoin / Electrum / Re: Electrum default coin selection on: May 28, 2021, 04:54:06 PM
The way Electrum functions is that it primarily tries to group the UTXOs into "buckets" with each bucket containing UTXOs associated with the same address. If any coins is being spent from a specific bucket (or address) in this case, then Electrum attempts to spend all of the UTXOs that are grouped into the same bucket as a way of consolidating and avoiding privacy leakage. A second bucket or more buckets would be selected if and only if a single bucket cannot fulfill your requirement. You have to manually select the inputs to spend via coin chooser if you want to spend specific inputs or avoid spending all of them.

With your example, all of the inputs are grouped into the same bucket as they are all associated with the same address and also all confirmed. Electrum thus selects to spend that bucket and it has to spend all of the UTXOs.

Electrum tries to maximize the user's privacy in this case. There isn't anyway to disable this kind of coin selection AFAIK. Interesting to note that other than this, Electrum also tries to only spend coins from the same bucket or select buckets which would produce the change that has the closest value to the recipient amount.
1252  Bitcoin / Development & Technical Discussion / Re: About vanity address generation through a pool on: May 28, 2021, 12:58:15 PM
I may haven't understood it well, but does this “private and public key addition” have the same security as a normal address?
Yes.
Also, if we assume that k1 + k2 = k3, why would pk1 + pk2 = pk3? (where k = private key and pk = public key)
ECDSA is associative. Remember that G + G = 2G, this is the same concept. (G being generator point).

(2K + 4K)G = 6KG

6KG being your ECDSA public key.

2K + 4K = 6K

K3 being your ECDSA private key.
Isn't there a simpler way to achieve this by multi-sig? You'll generate two private keys and compute their public keys. You'll keep secret your k1 and give to the pool the k2 and the pk1. Then the pool can brute force your 2-of-2 multi-sig address without knowing k1. It can work for segwit addresses, not sure for legacy.
You don't give the pool your private keys. Multisig requires two keys that has no relation.
1253  Bitcoin / Bitcoin Discussion / Re: There are not even 21M BTCs, I'd say max.17M BTCs available at a given time on: May 28, 2021, 11:53:36 AM
Models are not perfect and many factors in models will be changed.
Yup.

There's no methodology. It's completely assumable. In a way, it does make sense, but as said by tranthidung, I guess that people will be aware of their keys and protect them in the distant future.
I'm referring to the article that you've linked, which references the research paper for the value.

Based on our own methodology used in prior research, we were able to relate the difference in Calculated Market Capitalization and Price to lost coins. We can estimate that since 2010, about 4% of the Available Supply of bitcoin has been lost each year. This puts the current Available Supply at about 13.9 million coins, well below the 18.3 million Total Supply figure publicized. This means that about 28% of all bitcoins have been Irretrievably Lost.
1254  Bitcoin / Bitcoin Discussion / Re: There are not even 21M BTCs, I'd say max.17M BTCs available at a given time on: May 28, 2021, 10:48:01 AM
A study shows that it does, actually, decrease. Specifically Timothy Peterson claims that 1,500 bitcoins are lost each day, meaning that on average the supply decreases with around 400 bitcoins every day. Since the genesis block, around 4% of the available supply of bitcoins has been lost each year. Lots of years later, when the block rewards some thousands of satoshis, this loss may be seen more clearly.

I can't really find the methodology other than the mention of relating the price and the economic mechanisms doesn't always hold true for something as volatile as Bitcoin where economic decisions are not always as rational as they seem. The paper isn't peer reviewed as well, I'll take that with a pinch of salt. Modelling rate based on historical figures doesn't make any sense either.
1255  Bitcoin / Development & Technical Discussion / Re: Block explorers oligopoly. on: May 28, 2021, 09:32:41 AM
I suggest you use Coinbase sometime, sending and receiving automatically gives you a link to a block explorer so you can monitor the transactions. Anyone with any sense always verify the block explorer transaction matches theirs.
Because users do have to have an final arbiter in transaction disputes, and the block explorers are that arbiter.
The fact that you're using Coinbase pretty much means that your privacy is already compromised. You don't need a block explorer if they're not concerned about transactions that doesn't involve them.

Even if you do, then I can't fathom why using Tor isn't an option. If you are able to search each addresses individually with different Tor routing, then there isn't an issue right?

Exactly and their is no incentive for me to use my money and resources to give them a free node. 
You're picking at one of the least significant issues out there. The node count is fairly high, even if you only count listening nodes. Why should nodes be compensated? You're running a node and the benefits lies primarily on the user using it, the positive externality is small if you consider the number of nodes out there right now.

By having to pay the thousands of nodes something, you're either making Bitcoin more expensive or Bitcoin to be less secure. What 'little' code update do you propose?
1256  Bitcoin / Electrum / Re: Will old Electrum versions work after taproot ? on: May 28, 2021, 09:23:28 AM
If it's just a watch-only wallet I don't see why an outdated version would be less secure than the latest, if we know that such crypto wallet does not contain private keys? Is there anything that could affect broadcasting transactions from a cold wallet in terms of security?
No. If you concern is only about broadcasting transaction, that is why the airgap exists. Your private key doesn't touch the online computer.

The most prominent one is the HTML phishing which poses a security risk at the very least. Versions in the earlier 3.X are intentionally DOSed to try to prevent them from connecting to any servers.

For the JSON RPC attack, I'm guessing if it doesn't have any authentication, then someone can use CORS to call your RPC and get your xpubs as well. Even if there isn't any attacks that are of concern right now, there are outdated modules within Electrum which could allow for exploits as well. Nonetheless, the potential headaches from anything happening with your Electrum or your computer really makes updating a no brainer. There is a plethora of ways to compromise someone's security, directly getting the private key is just one of them.
1257  Bitcoin / Bitcoin Discussion / Re: What if Bitcoin had 1 minute block time and 1 minute difficulty retarget on: May 28, 2021, 04:47:02 AM
Decreased block time and/or bigger blocks requires more bandwidth and processing power. You then make it less profitable for smaller miners to continue mining, and centralize the hash rate to larger miners.
Mining is already fairly centralized and smaller miners tend to just use a pool for it. It isn't as feasible to be running your own server at home, hosting it in a data center with greater bandwidth and latency is better. Bandwidth requirement does not increase for the mining farm itself then.
You also cause increased forks and stale blocks. With the block time being so short, then the chance of two miners mining a block at the same height increases dramatically, as does the chance of both these chains being extended. You therefore increase the risk of double spends, as well as significantly increase the amount of wasted hashrate in the mining process.
Given the fact that connections has increased so much and that the bandwidth has improved as well, doesn't the argument weakens? Miners almost always attempts to connect to each other directly to avoid stale blocks. The lesser hops there are, the lesser chance of stale blocks. The situation of having more stales is less prominent than when Bitcoin didn't have these many optimizations.

Probability increases assuming the blocks has to propagate through several hops though, which is how most forks are formed nowadays, with at least one of the pool being less known. But wouldn't it make sense for some compromise as well?
And because of all of that, your security is much worse. 1 new confirmation is nowhere near as secure as 1 old confirmation. Double spends are common. Much of the hashrate is wasted, making 51% attacks by the few remaining large miners much easier.
Depends on the probability of fork occurance. Wouldn't it be more secure primarily because it takes more work to get a confirmation with a 10 minute rather than a 1 minute block interval?
1258  Bitcoin / Electrum / Re: Will old Electrum versions work after taproot ? on: May 28, 2021, 03:09:49 AM
Taproot is implemented with a soft fork. Legacy and normal Segwit is still supported.

There's quite a few security risks with Electrum 3.X and I really can't recommend anyone to be keep using it. Though it is a watch-only wallet, I still consider it more secure to be using one that is newer. Are you still able to connect to any server with 3.0.X?
1259  Bitcoin / Development & Technical Discussion / Re: Block explorers oligopoly. on: May 28, 2021, 01:26:49 AM
No but the IRS can by cross-linking data of any address you ever sent or received from.
Ever use your Email with a bitcoin transfer, they got you, ever ordered a package or service they got you.
Ever use a Major Exchange, they got you.
Which is why I would never think anything on a public blockchain is private.
If you don't make the Blockchain public, then there is no transparency.

Bitcoin is designed as such and the user has to proactively ensure that they're able to break the link or use privacy preserving techniques (mixers, Tor, etc). The responsibility to preserve privacy should lie primarily on the user themselves. Whatever currency that you're using can only do so much to try to preserve the user's privacy. Bitcoin was designed to try to preserve privacy by pseudonymity and that is achieved. Mixers and CoinJoin helps to break the link, which makes whatever links that IRS or the government has established pretty useless. Bitcoin or any other currency can't really help if you're going to associate your transactions to your own identity by sending mail to your own address.

I'm not really sure why we need to incentivise people to run a full node. Full nodes primarily benefits the user that is using it.
1260  Bitcoin / Bitcoin Discussion / Re: There are not even 21M BTCs, I'd say max.17M BTCs available at a given time on: May 28, 2021, 12:33:22 AM
The supply does not decrease. It increases approximately every 10 minutes until it nearly reaches 21 million. The supply only decreases when the amount lost exceeds the production, which is unlikely to happen until the subsidy goes to 0.
Sorry. I meant rate of increase in supply.

That is for the general trend at least. It is impossible to accurately measure the coins that were lost.
Pages: « 1 ... 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 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 ... 461 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!