- Bitcoin for idiots: An introductory guide VentureBeat
- Bitcoin Mining – It’s About Solving Problems
- What is Bitcoin & How Does It Work? SoFi
- Bitcoin's Mathematical Problem Programster's Blog
- Bitcoin.com Buy BTC & BCH News, prices, mining & wallet

Cryptography is the art of creating mathematical assurances for who can do what with data, including but not limited to encryption of messages such that only the key-holder can read it. Cryptography lives at an intersection of math and computer science. This subreddit covers the theory and practice of modern and *strong* cryptography, and it is a technical subreddit focused on the algorithms and implementations of cryptography.

Hey ya'll,

Not sure what to call it, but what was the first "math problem" that a computer had to solve to get a bitcoin ?

EDIT: What did the first SHA-256 look like ? Would I have been solvable by hand?

submitted by itsPXZEL to Bitcoin [link] [comments]
Not sure what to call it, but what was the first "math problem" that a computer had to solve to get a bitcoin ?

EDIT: What did the first SHA-256 look like ? Would I have been solvable by hand?

So I know the Bitcoin network relies on miners solving math problems. Also these problems.get harder as computers get better. But what exactly is this Math problem and how can it get 'magically' harder?

submitted by HammyUK to Bitcoin [link] [comments]
This is completely theoretical, but it's an interesting problem (at least to me).

You control a configurable miner that has a max 1TH/s miner that you will run for the next year. Your goal is to mine a chain as long as possible within one year. You must start at the genesis block. You can choose to have your miner mine at any hashrate up to 1 TH/s for each time period. You may assume that your time between blocks is consistent based on the hash rate and difficulty, and the average time to find a block.

What is the length of the longest chain you can generate after 1 year?

submitted by smartfbrankings to Bitcoin [link] [comments]
You control a configurable miner that has a max 1TH/s miner that you will run for the next year. Your goal is to mine a chain as long as possible within one year. You must start at the genesis block. You can choose to have your miner mine at any hashrate up to 1 TH/s for each time period. You may assume that your time between blocks is consistent based on the hash rate and difficulty, and the average time to find a block.

What is the length of the longest chain you can generate after 1 year?

submitted by BitcoinAllBot to BitcoinAll [link] [comments] |

submitted by BitcoinAllBot to BitcoinAll [link] [comments] |

submitted by Dracula24 to Bitcoin [link] [comments] |

submitted by db2 to Bitcoin [link] [comments] |

i heard bitcoins are created by solving math problems, anyone here know what math problems are being solved for what purpose ? is the math for like scientist and others that are trying to figure out the universe and stuff?

submitted by Hewpow to btc [link] [comments]
submitted by cryptorebel to btc [link] [comments] |

Download -> Hash(Downloaded File) -> Is Hash The Same?Say you downloaded a copy of Audacity for OSX, and the site says "the MD5 hash for audacity-macosx-ub-2.1.2.dmg is 535e103d9bc4a4625d71260c3a427d09 if you want to check it downloaded properly". So you download the file, head to your command prompt, and:

$ md5 audacity-macosx-ub-2.1.2.dmg MD5 (audacity-macosx-ub-2.1.2.dmg) = 535e103d9bc4a4625d71260c3a427d09Hey, it's the same.

Now, hashes work by taking all the numbers in the file and Doing Something to them; the simplest would, of course, be the checksum: add all the numbers together. One big problem with checksumming though: if you add 1 to a number somewhere in the file, and subtract 1 elsewhere, you get a corrupted file with the same checksum. Not ideal.

So algorithms like MD5, SHA-1 and the like arose, which do more complicated things. The number that falls out of these is quite large: MD5, for example, outputs a 128-bit number (the biggest value is something like 80 quintillion quintillion) but it's not the absolute value of the number that's important, just the fact that it's the same as what the website says it should be.

It's just written in hexadecimal (base 16) instead of base 10. In your average decimal base-10 number, the digits are 0-9 and the number values go units, tens, hundreds, thousands, etc.

In base 16, the digits are 0-9 then a-f (ten to fifteen), and the number values go units, sixteens, two-hundred-and-fifty-sixes, four-thousand-and-ninety-sixes, etc.

Hash of the last block -----\ | Hash of the transactions --+ SHA256 -> This block's hash in this block | (twice) | Current time ----------/And thus the block chain gets built: "this block's hash" falls out of the above algorithm, and gets fed into the algorithm for the next block.

Except SHA-256 doesn't take long to compute; a cellphone can do literally millions of these hashes per second. Here's where the genius of Bitcoin comes in: there's an artificial limit placed by the algorithm on how fast blocks can be generated, and it doesn't matter how fast your computer (or the whole network of computers) is at generating these hashes. It works by adding one thing to the above diagram:

Hash of the last block -----\ | Hash of the transactions --+ SHA256 -> This block's hash in this block | (twice) | Current time ----------+ | A number to twiddle -------/(The technical literature actually calls it a "nonce".)

I said above that the numeric value of the hash isn't important when you download a file, just the fact that it matches what the website says it should be. In Bitcoin, the numeric value of the hash

SHA-256 is very good at making an even distribution of its numeric value: futz with the content of what you're hashing even a tiny bit, and the number that falls out is vastly different. So, you need to do a

In fact, you need to do so much twiddling that, on average, the entire network of computers doing this will only find one solution to the problem every ten minutes. That solution gets broadcast to the network, the other computers will plug it in as "the hash of the last block", and keep going.

Bitcoin has a solution: change the target, to make it even lower. This is referred to as a "change in difficulty", and happens around every two weeks if the blocks come out every ten minutes (every 2,016 blocks). If the blocks come out faster, the difficulty changes sooner, and changes by more, to get things back on the ten-minutes-per-block track.

Conversely, if computers suddenly get very slow at doing this work and blocks only come out once an hour, the difficulty will change to make life easier. (Again, it'll only change every 2,016 blocks, so it might take a while to build the chain up to that point; until then, we'd have to suffer with slow blocks.)

submitted by blvckdivmondco to BLVCKDIVMOND [link] [comments] |

submitted by ethnewsbot to ETHInsider [link] [comments] |

submitted by yamaha20 to Buttcoin [link] [comments] |

So I am a bit confused on what Bitcoin mining actually is. I've heard that mining Bitcoin is essentially solving complex math problems which reward the "miner" with Bitcoins. I've also heard Bitcoin mining is the act of processing Bitcoin transactions which make up the blocks in the blockchain.

So if you're mining Bitcoin are you actually processing the transactions? How does mining work on crypto coins that have little to no transactions? How can the miners still receive regular block rewards for mining if there's not enough transactions to fill a block?

submitted by mroth7684 to Bitcoin [link] [comments]
So if you're mining Bitcoin are you actually processing the transactions? How does mining work on crypto coins that have little to no transactions? How can the miners still receive regular block rewards for mining if there's not enough transactions to fill a block?

submitted by cgomezmendez to Bitcoin [link] [comments] |

submitted by tinus42 to Bitcoin [link] [comments]

submitted by JoeSmoii to explainlikeimfive [link] [comments]

submitted by SnideOctopus to AskReddit [link] [comments]

submitted by Halfhand84 to Bitcoin [link] [comments]

submitted by Lvl1NPC to NoStupidQuestions [link] [comments]

submitted by SimilarAdvantage to BitcoinAll [link] [comments] |

submitted by cryptoallbot to cryptoall [link] [comments] |

Digital money that’s instant, private, and free from bank fees. Download our official wallet app and start using Bitcoin today. Read news, start mining, and buy BTC or BCH. The Math Behind Bitcoin Eric Rykwalder is a software engineer and one of Chain.com ’s founders. Here, he gives an overview of the mathematical foundations of the bitcoin protocol. As far as I understand it, the math problems are algorithms and cryptography that involve timestamps, proof-of-work, and hashing. They are designs of the system, hashing problems generated by the system that mining nodes must solve in order to verify and secure the bitcoin network. Without the proof-of-work and other concepts, you don't have network consensus which is essential to trustless ... More specifically, as “work,” miners compete for bitcoin by attempting to solve challenging math problems. These problems are so complex that, rather than trying to directly solve them, the miners use high-speed computers to create a multitude of guesses, playing the odds that one of their responses will be correct and they will win bitcoin cryptocurrency. These problems are known as ... The math problem that these mining computers solve serves no purpose other than to secure Bitcoin's network from attackers wishing to "double spend". Miners are not creating a massive rainbow table or computing the human genome. As more computers are thrown at the problem, and hardware advances, the problem is artificially made more difficult to compensate. This seems incredibly wasteful to me ...

[index] [15147] [30231] [39017] [32023] [37554] [50776] [18260] [22658] [15845] [50530]

Bitcoin and cryptocurrency mining explained with the Byzantine Generals Problem. We use it to explain the essence of cryptocurrency mining. https://www.udemy... In this video I try to breakdown the "cryptographic problem" that people reference when they talk about bitcoin mining. How does the hash function work in the world of Bitcoin mining? Peter Van Valkenburgh of the Coin Center explains how the hash function in Bitcoin uses entropy to select Bitcoin miners. As always ... It took it upon myself to find out what Bitcoin miners were really mining/why they were mining. I don't know why it took me so long to find the answer, maybe I wasn't asking the right questions ... For more information: https://www.bitcoinmining.com and https://www.weusecoins.com What is Bitcoin Mining? Have you ever wondered how Bitcoin is generated? T...