Bitcoin Forum
April 30, 2024, 08:00:44 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 114 115 116 ... 461 »
1301  Bitcoin / Development & Technical Discussion / Re: BTC Needs A Privacy Layer on: May 21, 2021, 05:08:02 PM
Great post.

Are there any other options outside of just staying off of exchanges/avoid KYC.  Any resources or articles to better protect your privacy while using BTC?
Use Tor, use mixers, use Bitcoin Core. Important to note that your privacy leak may or may not be related with Bitcoin.



No such thing as anonymity in Bitcoin, even if the users were to be careful with their activities, it would be the best to assume that Bitcoin is pseudonymous at best. There are far too many possible privacy leaks with users even if they were careful enough; potential spy nodes on the network, possible leaks through mixers with their heuristics, etc. Bitcoin was never really designed to provide anonymity from the start and all the current implementation only helps to maintain the privacy of the user.

As mentioned, CoinJoin, mixers all helps with the privacy. Confidential transactions has been proposed as well, which helps with privacy but at the expense of higher resource requirements.
1302  Bitcoin / Development & Technical Discussion / Re: Misunderstanding the nonce on: May 21, 2021, 03:31:20 PM
I wonder if there is a standard way for storing the nonce values since it sounds like that there are pools that are using nonce+timestamp and nonce+coinbase script (or maybe even all three), and having different formats for storing the nonce used at the same time will cause a headache for people trying to scrape the nonce information.
Yes, actually. The position of the nonce is defined in the block header, specifically the last 4 bytes of it. That isn't changed, no matter how the miner decides to change the parameter. Miners have to change the timestamp from time to time, or at least another parameter else the nonce will overflow.

Note that changing a parameter within the block header doesn't make that a nonce. It is just a way for the miner to vary the block header in order to produce a different hash.
1303  Bitcoin / Development & Technical Discussion / Re: Misunderstanding the nonce on: May 21, 2021, 01:28:39 PM
There are a lot of variables which can be changed within the block for a completely new block hash. Look at your block header, if you can change anything within that, you're able to hash a completely new string and thus counts as an attempt to get the block header that meets the target.

Other than nonce, timestamp, miners can also choose to rearrange the transactions within the block, changing something within your Coinbase scriptsig, etc. As long as the way you change your block header doesn't invalidate the entire block. Overt ASICBoost uses the versionbit and thus that is why some blocks has a strange version bit, also a way to change the block header but this is an optimization for certain ASICs.
1304  Bitcoin / Development & Technical Discussion / Re: Is there any benefit of using more than 100 dice rolls to generate a seed? on: May 21, 2021, 12:44:59 PM
How do you count each dice result?
If you count the dice values as it is (base 6), it'll have 2.58 entropy per roll. Using SHA256 ensures that the result will be always 256 bits, regardless of how many dice rolls is used. I assume OP is talking about ColdCard's way of generating it, which is what I've mentioned.

I think using the method I've mentioned requires far less effort.
1305  Bitcoin / Electrum / Re: Electrum Legacy address on: May 21, 2021, 12:27:34 PM
It's not any more difficult to sign a message with a segwit address, but it can be difficult to verify the signature.  There is no standard for segwit signatures, so software clients that allow you sign a message with a segwit address have implemented their own.  It's been my experience that a message signed in Electrum with a segwit address can only be verified by Electrum.

Bitcoin core allows messages to be signed only with a legacy address, or at least that's how V0.21.0 worked.  I haven't tried to sign a message with a segwit address using V0.21.1, but there's nothing in the change log that suggest this has been changed.  
Actually, you can sign a message using the private key.

Use signmessagewithprivkey and Bitcoin Core will directly sign a message with the private key provided and thus would be a workaround for the problem. The signature validates with Electrum as well as the way it uses the signed message is the same. Note that this is only a workaround and it doesn't mean that Bitcoin Core will validate any signatures from segwit addresses, nested or bc1.
1306  Bitcoin / Development & Technical Discussion / Re: Is there any benefit of using more than 100 dice rolls to generate a seed? on: May 21, 2021, 01:55:27 AM
ah so if this is used with a coldcard, there is no point in doing more than 100 rolls since it uses sha256?
The 100 rolls provides 258 bits of entropy. Anything above 128 bits is secure enough, Bitcoin addresses uses 128bits as well.

It is not that there isn't any point adding more dice rolls. 24 words seed should have 256 bits of entropy but 128 bits is enough as well, a SHA256 hash will stretch it. I'd say anything between 128bits and 256 bits is enough. Hashing using SHA256 will not result in any security over 256 bits for your seeds.
1307  Bitcoin / Development & Technical Discussion / Re: Is there any benefit of using more than 100 dice rolls to generate a seed? on: May 20, 2021, 10:54:58 PM
thanks.  How many rolls is recommended? 100 is needed for 256 bits but does it make sense to use more in case of poor dice etc...? is too many rolls ever bad? I don't think so. does it make sense to do 200 rolls?
If represented in 1-6, at least 50 for 12 words.

It's not terrible to get more results but Bitcoin keys are only 128bits in security so 256 bits is already quite a lot and there is some leeway for biasness as well. If you're using SHA256 as a hash function for the entropy, keep in mind that the resultant entropy won't be more than 256 bits, even if you roll it 200 times with a perfectly fair dice.
1308  Bitcoin / Development & Technical Discussion / Re: Is there any benefit of using more than 100 dice rolls to generate a seed? on: May 20, 2021, 10:28:08 PM
I think if you roll the dice properly and don't just drop them and are consistent in the way that you read them, then there is no loss of entropy.
Even with cheap dice, they seem fair enough   https://youtu.be/mPiUoVeMsEk
It needs to be perfectly random for the theoretical entropy to be reached. Many cheap dices are biased due to the imbalance in CG or having faces that are not perfectly flat. It is just nitpicking in most cases given it provides 256bits of entropy so there is some redundancy.
you said that the entropy must be multiples of 32 so does that mean for more security you will need 32/log2(6) rolls to make a difference to security. i.e 12 rolls?
It is stated in the BIP actually. The requirement is actually for if you are using the raw entropy to generate a seed, then yeah. If you're using some kind of stretching, ie SHA256, then you don't need it to be in the multiples as the result will always be 256 bits, or 24 words.
1309  Bitcoin / Development & Technical Discussion / Re: Is there any benefit of using more than 100 dice rolls to generate a seed? on: May 20, 2021, 04:56:32 PM
Doing a hundred dice rolls is also going to be very tedious and cause a lot of fatigue from the sheer amount of time it takes, which discourages people from rolling dice more often. Plus, there is an involved procedure to turn those 256-bit entropy into a private key. It's not simply just dice rolls to hex number conversion, you also must manually construct the private key WIF.
Since OP says that he wants to generate a seed, you only actually need to obtain an entropy that is sufficiently random (256bits) once, keep it secure and after which just use it to generate your addresses. This is also known as BIP32 and loads of people actually use dice rolling as a source of entropy. BIP39 is just another way to encode it into a string of mnemonics (quite simple actually) and use it for BIP32 derivation afterwards.

It's important to note that due to the many variables associated with this; the way you throw the dice, the kind of dice, etc. The resultant entropy can very well be under 256bits due to some degree of predictability associated with it. If you're paranoid that the RNG isn't working correctly (perfectly valid, happened before), then this can be a way to guarantee "sufficient" entropy.
1310  Bitcoin / Bitcoin Discussion / Re: Mixing your Bitcoin might become illegal in the future on: May 20, 2021, 04:22:19 PM
It's possible to "counterattack" malicious actors on centralized exchanges and centralized wallet providers, because of the single point of failure (in this case, a middleman). However, we cannot say the same about decentralized counterparts. If most people begin using non-custodial mixers and decentralized exchanges, governments will have a hard time trying to enforce the rule of law. That's largely because a decentralized system is not tied to a single jurisdiction. I'd imagine how disastrous everything will be once criminals learn how to efficiently use non-custodial mixers. Governments will have no choice but to declare crypto "illegal" as their efforts become in vain.
CoinJoin? Governments are requesting exchanges and services to blacklist coins that were involved in CoinJoin transactions. CoinJoin mixes your coins by obscurity but it doesn't necessarily break the link between them. Unfortunately, if you want any adoption, you NEED exchanges which are registered. Decentralized exchange unfortunately doesn't always sit well with people; P2P OTC trades are not as secure as it seems. Some would rather give up their privacy than to risk their funds.

Nonetheless, I believe there may be no need to worry about mixers becoming "illegal" in the future. There are many ways to achieve privacy outside the scope of governments and other third parties. This is possible because of the decentralized and open-source nature of crypto/Blockchain. If it were centralized, it would've been easier for governments to enforce the rule of law. I bet non-custodial mixers and privacy-oriented cryptocurrencies will rise like skyrocket once centralized mixing services come to an end. Of course, most people don't care about their privacy since they've got nothing to hide. But for businesses, privacy is crucial to protect sensitive information from prying eyes. Time will tell us the fate of privacy in Bitcoin as it becomes more popular in the mainstream world. Just my thoughts Grin
They don't need to ban mixers to spy on their citizen. There are tons of ways to do so without and if they're smart, they would bring blockchain analysis into the picture and let the mixers continue running. Centralized mixers can survive, they just need to operate in a jurisdiction which respects their privacy or operate off-shore.
1311  Bitcoin / Development & Technical Discussion / Re: Is there any benefit of using more than 100 dice rolls to generate a seed? on: May 20, 2021, 12:52:22 PM
Is additional entropy beyond 256 bits discarded or is there any added benefit? I know it would be minimal, but want to know the technicalities.
Not discarded. By BIP39, the seed must have an entropy in multiples of 32 so there is no limit to how many you have to use. After all, the mnemonic is passed through a KDF for the actual seed to be used so the length actually isn't limited. Your addresses only has 128 bits of security so people would probably look to compromise the individual addresses instead of seeds, they're much faster to generate.
Also:  the 24th word is a checksum. What would happen if I used a 24th word that was not a valid checksum? Would it not be possible or would addresses not have a valid private key etc...?
Nothing happens. You won't generate any invalid addresses.

As said, it passes through the KDF so the checksum only serves to provide a check for typo.
1312  Bitcoin / Electrum / Re: Electrum Legacy address on: May 20, 2021, 11:50:03 AM
The only reason I can think of for somebody wanting to use a legacy address would be for message signing. There is no benefit to using this type of address. If you want an address that is compatible with services that don't support bech32 withdrawals you can just use a wrapped Segwit address.
There really isn't any reason.

Unfortunately, Electrum never supported nested Segwit addresses. A workaround would be to generate a BIP39 seed and import it into Electrum. That introduces too many points of failure and I generally recommend against it. If you want compatibility and also Segwit benefits (to a smaller extent), then you should use another wallet instead of using the workaround.
1313  Bitcoin / Development & Technical Discussion / Re: Why exactly is Bitcoin clinging to PoW? on: May 20, 2021, 11:45:22 AM
Even if someone found a more efficient way to secure the network same like with PoW, I don't understand why we'd want that. The system works fine this way and the miners become more and more efficient, if we see this situation morally.

Wouldn't this be a hard fork?
It is. I would argue that it becomes an altcoin. The foundation of Bitcoin has mostly been left unchanged and it probably should be, barring any vulnerabilities of some sort. The game theoretic model of PoW is basically as good as it gets; giving up resources for the security of the network.

If you're finding another scheme that can secure the network in the same way, then the miners that we have today will be out of the equation. That is not going to sit well with them in the first place. Perhaps we should change PoW, if such a great scheme comes about but the fact that you're never going to get any significant consensus with so much conflict of interest makes it hard for us to agree to a change. I wouldn't bother, PoW is fine as it is. People needs to start attacking actual climate change contributors for it or just go and penalize miners with carbon tax. That's all.
1314  Economy / Exchanges / Re: Does this mean I have missing Bitcoin? on: May 20, 2021, 07:20:17 AM
If I deposited $1000 into my ByBit account, it would say my wallet balance is $1000. If I exchanged $500 of the initial deposit to Ether and then sent the remaining $500 in Bitcoin to another wallet, would that cause the Wallet balance to still say $500? Because the Ether didn’t go through the Blockchain? Just thinking out loud.. maybe someone who knows this stuff could chime in, because that might explain the “difference”.
Yes. On your account, it might be $500, as you didn't wiithdraw the $500 in Ether. However, the funds in that deposit address can be 0 still.

The deposit address doesn't belong to you; it is just an address that is associated with your account and any deposits would be credited to your ByBit account. Any exchanges within the site is reflected on the backend and in your account. The funds in that address does not matter to you as it is under their control and they can do whatever they want with it; consolidating it or sending it to another address. What is important is that your deposits are all credited correctly, the balance of your deposit address does not necessary matter as the balance on that is often different from your own account on that site.
1315  Economy / Exchanges / Re: Does this mean I have missing Bitcoin? on: May 20, 2021, 04:40:06 AM
Check your transaction history on the site. Has everything been credited correctly?

The thing with most services is that anything done to the account may not necessarily reflect a transaction to or from your address. For example, if I choose to sell Bitcoins on an exchange, the funds in that address may not be moved immediately but it is regarded as sold on the exchange and that my account balance is now in fiat instead of Bitcoins. The balance on the address is not reflective of your current balance in your account.
1316  Bitcoin / Bitcoin Technical Support / Re: Any security/privacy implications using one seed for testnet and mainnet on: May 20, 2021, 03:03:31 AM
That depends on the wallet... and the way it is deriving addresses... theoretically (according to the registered coin types in SLIP0132), Bitcoin mainnet should be using the "coin" value of "0":
m/44'/0'/0'
m/49'/0'/0'
m/84'/0'/0'

whereas... Bitcoin testnet should be using "coin" value of "1":
m/44'/1'/0'
m/49'/1'/0'
m/84'/1'/0'


So, the account extended xpubs etc, should be different for each network... even when they are generated from the same seed.
Thanks. I overlooked this.
1317  Bitcoin / Bitcoin Technical Support / Re: Any security/privacy implications using one seed for testnet and mainnet on: May 19, 2021, 04:41:01 PM
Why?
Generally forgetfulness, amnesia or just any other thing that can affect your memory, the list goes on.

I definitely wouldn't take the risk and blame myself later on for forgetting a seed phrase. Just having a physical copy of it and keeping it safe would be fine for most.
1318  Bitcoin / Bitcoin Technical Support / Re: Any security/privacy implications using one seed for testnet and mainnet on: May 19, 2021, 04:19:00 PM
Side channel attacks shouldn't be your main concern, secp256k1 libraries has mitigations against most of that so you'll be mostly safe. Problem would be with malware or some $5 wrench attack.

Privacy concern would be that it would be obvious which testnet addresses and mainnet addresses belongs to each other, public keys would be the same. I wouldn't do so though, leads to unnecessary confusion as well and perhaps leads to unnecessary risks depending on what you're doing with your testnet. It's really not difficult to use two separate seeds and it's quite dangerous for people to be memorizing seeds.
1319  Bitcoin / Electrum / Re: Electrum+EPS+Trezor - All connected but zero balance? on: May 19, 2021, 03:57:27 PM
Besides the fact that you'll have to re-index the block chain every time you create a new wallet, is there any other downsides of EPS? I personally find it very efficient if you don't want to require third-party servers.
Rescan, not reindex.

EPS is okay for most uses as it just serves as a data source for Electrum clients, so there really isn't anything to criticize there. If you need your personal server which is easier to setup and has lower resource requirements, then this is it.
Is there another software you would recommend? Just seen EPS talked about the most but open to other suggestions
ElectrumX is the most common implementation used by Electrum servers.
1320  Bitcoin / Wallet software / Re: Exodus security question on: May 19, 2021, 02:54:42 PM
Voluntarily locking your own coins with time as a parameter doesn't affect security in the slightest. It depends on how you generate and handle the keys for that.

If you want something to lock your coins for a long time, don't use nLockTime or any mechanism like that and pre-generate a transaction. It is not ideal for that as you cannot change anything in the transaction. Instead, use OP_CLTV and include it in a scripthash address. You'll be able to "unlock" and spend the funds after a specified period of time provided that you have the required key to unlock it.
Pages: « 1 ... 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 114 115 116 ... 461 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!