Bitcoin Forum
May 30, 2024, 06:11:17 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 ... 463 »
1641  Bitcoin / Development & Technical Discussion / Re: WTF? 922 minutes since last block was mined. on: April 08, 2021, 06:59:59 AM
Txs. Where do you look at the data? I was only using this web. Just in case this happens again.
Any blockexplorers (blockchair.com or Blockstream.info) will show you the blocks as well as the transactions.
1642  Bitcoin / Development & Technical Discussion / Re: WTF? 922 minutes since last block was mined. on: April 08, 2021, 06:42:20 AM
Looks like an error. The last block was mined over 10 minutes ago and there was never a gap that big. In fact, the chances of that happening is actually astronomically small barring any changes in hashrate.
1643  Bitcoin / Development & Technical Discussion / Re: Crazy pow power reduction idea on: April 08, 2021, 04:59:11 AM
I do think that the idea *could* be possible but the problem is with reaching the consensus for the variables that you've added. The network's time can deviate between node to node by quite a bit and it is difficult to synchronize all of them without a reference to a central server. Transactions aren't relayed instantaneously and there can be a delay between the nodes seeing it.

As for the benefits, I fail to see how this would increase the security at all. Given that you don't have to mine for 8 minutes, this makes it such that all of the work is done within the 2 minutes which would be much lower than the 10 minutes of continuous hashing that we have right now. It wouldn't bring older ASICs back into the game as the profitability would remain roughly constant; think of it as Bitcoin having to decrease the difficulty retarget to make 2 minute blocks. Standby power could still be fairly massive and would be much more inefficient than continuous hashing.
1644  Economy / Speculation / Re: Someone just bought 12000 Bitcoin on coinbase wonder why? on: April 07, 2021, 05:45:04 PM
Coinbase outflows are not indicative of any trading activities as they're totally independent of that. If you're talking about trading Bitcoins, you should look at the trading volume

Outflows can only tell you the amount of Bitcoins that were transferred out of the exchange. Sounds like some people can't really read the text on the graph.
1645  Bitcoin / Bitcoin Discussion / Re: 652 Ukrainian officials declare holding a total of 46,351 BTC on: April 07, 2021, 04:30:31 PM
North Korea and other nations with financial sanctions can run their bitcoin mining rigs. They will do it in secret but they don't lose anything when mining bitcoin. No data or article is available about this tactic but I think some are applying it.
I doubt it would really be worth it for them. Financial sanctions can be unforgiving for certain countries but Bitcoin mining would hardly contribute anything to their GDP. It would be tough to mine Bitcoins when your country doesn't even have a stable supply of electricity and your focus is on developing nuclear weapons. Training people for cybercrime is far more lucrative like what some of their APTs are doing.

If these figures are true, then Ukrainians may be one of the largest holders of cryptocurrency in the world. Imagine this. If the few hundreds of officials are holding such a massive amount (0.3% of the circulating supply), then the remainder of the population should be holding at least 10x or 20x of that number. So we can confidentially say that Ukrainians own 3% to 6% of the circulating supply of BTC. This is a massive number and may be higher than the same from other countries such as India and Taiwan.
Probably not. You're ignoring the fact that most of the expendable wealth are concentrated in those with power and the normal citizen probably wouldn't even use Bitcoin. It is not an accurate way to estimate Bitcoin's usage in a specific country.
1646  Bitcoin / Development & Technical Discussion / Re: Why is it necessary to mine the genesis block? on: April 07, 2021, 04:19:43 PM
It really does skip the validation checks for genesis block, at least for mainnet and signet, and I'm sure that's how testnet works too. mainnet signet
Yeah. In the earlier versions, the validation logic doesn't exclude the genesis block or at least that is my understanding of the code.

Do review the codes and let me know if I'm missing something.
1647  Bitcoin / Bitcoin Technical Support / Re: A basic question about how a Node finds a block on: April 07, 2021, 03:22:07 PM
A node doesn't find a block, miners do but miners can be using a node as a source for the information and to propagate their blocks.

Generally, mining involves double hashing the block headers to find a hash the satisfies the target. The block header contains a few elements (block version, previous block hash,  merkle root hash, nonce, timestamp, target, etc) and they are concatenated together to form a string which is then hashed twice, SHA256(SHA256(Blockheader)). The miners will determine the coinbase transaction as well as the transactions that they wish to include and create the merkle root. Afterwards, they'll hash it to form the hash of the block header and check if it satisfies the target. If it doesn't they will increment the nonce/extranonce and try again until they're able to generate a block header hash that meets the target.


Transactions that are included in a block are determined prior to the hashing, they cannot be added after the block is found.

The nonce is an arbitrary variable that is changed in order to be able to generate a different hash every time. It doesn't have to be determined as the user.

The miners are always mining, when a new block is found and propagated, they will reassemble a set of transactions (as some of the transactions may have already been included in the block) and change the previous block hash as well. Bitcoin mining is not a puzzle, despite what people make it out to be.
1648  Bitcoin / Electrum / Re: Offline seed and wallet-backup on: April 07, 2021, 02:47:07 PM
1) It'll defeat the purpose. If you're looking for an airgapped setup, then you should never connect it to the internet or expose yourself to unnecessary attack vectors. Just use PSBT feature on Electrum to transfer the transactions back and forth using either a QR code or USB drive.

2) Your seeds are already backed up by writing it on a physical medium. The backup version doesn't matter, unless you're modifying details (labels, transaction description, etc) in between the backups and you're looking to still access them in the future.
1649  Bitcoin / Development & Technical Discussion / Re: Why is it necessary to mine the genesis block? on: April 07, 2021, 02:10:03 PM
What do you mean by saying "valid"? How is a valid block defined? Every other block requires PoW to ensure that the majority of the computational power goes to the current chain and to prevent double-spending.
A valid block has to have at least a target above the minimum value as stated or a difficulty of 1. If it has zero difficulty, it is invalid.  

What exactly do you prove once you mine a genesis block? That you can achieve it with difficulty=1? As I said, you'd do that after to maintain the longest chain. What difference would it make if Satoshi had picked the first hash with nonce=1? There's nothing to be proved in the genesis block.
Probably nothing. I'm not sure whether Core skips the checks for a valid block when it comes to the genesis block. I'm not too familiar with the codes for Bitcoin Core but I'm pretty sure I've read somewhere that the genesis block still has to have sufficient PoW and was validated as per normal for at least in the first few release. Perhaps someone can add on to this.
1650  Bitcoin / Development & Technical Discussion / Re: Why is it necessary to mine the genesis block? on: April 07, 2021, 01:44:15 PM
The genesis block is still a valid block and thus still have a valid PoW. The difficulty has to be at a minimum of 1 or a target of 0x00000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff.
1651  Bitcoin / Electrum / Re: Electrum Wallet Backup on: April 07, 2021, 11:56:09 AM
Interesting but I can't find it in the source code. I could only trace encryption back to the pw_encode() method that does what I said above and it seems to only get private keys (eg. an imported key or when it reads the key from wallet to sign a message). Can't find where the wallet file itself is being encrypted though.
This script outlines the process it takes to check for the version and the keys used for decryption;  HW wallet's xpubs or the user's password[1].

[1] https://github.com/spesmilo/electrum/blob/d86138a1a5a144b5adc32ef8bd1ff7afd860927d/electrum/storage.py#L118
1652  Bitcoin / Bitcoin Technical Support / Re: 0 incoming connections on: April 07, 2021, 11:27:02 AM
I can't tell what the problem is unless I take a look at your code. Did you modify the checkpoints as well as the minimum PoW?
1653  Bitcoin / Bitcoin Technical Support / Re: Problems syncing this morning : invalid block, please help on: April 07, 2021, 09:43:50 AM
only thing i can think of is that i have BTC core on ext usb 3.1 SSD drive (at that time it was not SSD tho). this one is faster now.
Without any information about what went wrong when Bitcoin Core invalidated it, it'll be hard to pinpoint the problem especially if your hardware is doing fine.

However, I'll consider USB external drives far less reliable than SATA ones. The controllers that I've had for my drives were not exactly the best though they were fairly expensive and well known. Bitcoin Core tends to magnify the problems associated with them due to the nature of the program and how it interacts with the disk. Assuming that your data directory is on the external SSD.
1654  Bitcoin / Electrum / Re: Electrum Wallet Backup on: April 07, 2021, 05:25:12 AM
That code is for encrypting and decrypting messages using ECIES which uses a smaller size AES (128 version) and has nothing to do with wallet file encryption.

The wallet file is actually encrypted using AES-256 and the double SHA256 hash of the password that the user enters. The code is found here: https://github.com/spesmilo/electrum/blob/22e6fe09c17724cd75763306470fa46a7bb7c4e8/electrum/crypto.py#L110-L125
Electrum encrypts the private keys and seeds differently from the wallet file. The seeds and private keys are encrypted with AES-256-CBC but the wallet file uses ECIES which allows it to be written and encrypted without the need for the passphrase to be entered again.

https://github.com/spesmilo/electrum/blob/1b763b4a3c6a456c6b944c7cd7493a7ec1a54a12/RELEASE-NOTES#L841
1655  Bitcoin / Bitcoin Discussion / Re: What are rebuttals to argument that China could mine empty blocks to kill BTC? on: April 07, 2021, 02:11:54 AM

What do they get from mining empty blocks?

It wouldn't make sense that they spend lots of energy and then don't get anything from it. It will just make them spend money on electricity bills all for nothing. This is why 51% attack wouldn't be possible because there is no incentive in doing it while they can earn more in mining the right way and then earn.
The game theory works economically where the actor cares about his financial profit. However, if you're going to factor in state actors, they're more likely to have non-economic related incentives which can't be measured in monetary terms.

The potential profits from 51% Bitcoin is not a factor for a state actors in furthering their agenda. Given how high their GDP is, the attack would probably be a pocket change. However, they're still bound to the limitation that I've mentioned.
1656  Bitcoin / Electrum / Re: I try send btc and the electrum and he close on: April 06, 2021, 11:20:24 PM
Where did you download your Electrum? Did you verify it?

Go to Tools > Preferences and enable save log to file. Afterwards, try to send the funds again for the Electrum to crash. If it still crashes, go to %appdata%/Electrum and see the logs folder. Check the logs pertaining to the crash by opening them with a notepad. Check if there are any exceptions thrown by Electrum or any errors.
1657  Bitcoin / Bitcoin Discussion / Re: What are rebuttals to argument that China could mine empty blocks to kill BTC? on: April 06, 2021, 10:20:04 PM
For this censorship to be effective, China government has to control at least 51% of the network's hash rate. Note that while a good percentage of the hash rate is located in China, it doesn't mean that the government has direct control of the hash rate. Something like this would take some time to plan and would probably be leaked out at some point.

The argument against this is the same as the one against 51% attacks. There is a lack of incentives and that the attack would be fairly shortlived. Once the attack becomes known, it would be a matter of time before people switches to another crypto or the community decides to go on another fork with a different PoW. As such, there is a limited effectiveness of the attack and China has just destroyed their fairly lucrative ASIC industry while not really achieving much. For the above scenario, I'm assuming that China has in fact 51% of the hash rate and is able to consolidate them in the first place which is fairly hypothetical.
1658  Bitcoin / Electrum / Re: Electrum Wallet Backup on: April 06, 2021, 03:47:21 PM
does Electrum use strong encryption for it's wallet backups?
Key derivation used is PBKDF2 and it is salted, IIRC so no rainbow tables. There isn't any real risks with moderately strong password. However, as with all backups, if someone gets his hands on it, then it'll definitely be less secure than it should be. Use a strong and unpredictable password and keep it safe. While backing up the seed will eliminate any electronic failure affecting the backup, it'll be better to have both if you also value your TX descriptions, labels and your LN channels.
1659  Bitcoin / Electrum / Re: electrum labeling on: April 06, 2021, 01:22:19 PM
Is there any way to backup labels somehow?
One time I had to reinstall Electrum on my new computer and after importing my old seed phrase all labels disappeared, but I didn't click save backup from file menu before (not sure if that saves labels btw).
Maybe labels are also saved in some Electrum folder file.
Yup, the labels are only in the wallet file though. The backup wallet functions backs up your wallet file and exports it in .backup extension.

Either using that or just directly copying your wallet file from Electrum's data directory is fine.
1660  Bitcoin / Electrum / Re: electrum labeling on: April 06, 2021, 11:14:46 AM
i send a coin to B. In the description field i put in B.

Now B is a label (description) in the history tab but the change address is not labeled with B. Is this right? Do i have to label my change manual?
The description is used to indicate the purpose of the transaction to provide better clarity for the user. It is not associated with any addresses and thus does not affect the labeling of your own addresses.

If you want, you have to label your addresses manually. Note that the labels are only visible to you and local to your wallet file. Unless you have your wallet files, labels or description won't be covered by seed backups.
Pages: « 1 ... 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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 ... 463 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!