|
Proof of work does not provide security. It provides authority. It just answers the question "who gets to decide what valid transactions go into the next block" (and the answer is "whoever wins this computational lottery"). Checking if transactions are valid has nothing to do with proof of work, and is 100% tried-and-true crypto techniques.
|
# ? Feb 27, 2018 10:23 |
|
|
# ? May 29, 2024 20:01 |
|
So what checks if transactions are valid? How does the blockchain reject a transaction of x bitcoin from a to b if a doesn't have enough, or b doesn't actually exist? What ensures that whoever wins the computational lottery hasn't made a fake trasnaction that sends half of bitfinex's coins to them?
|
# ? Feb 27, 2018 10:41 |
|
Every user of the blockchain can see all of the transactions. Public key crypto is used to determine if the person who broadcast a transaction to the miners is the one who owns the payee wallet. Looking over the whole blockchain to count up how much money is tied to a wallet is how overspends are detected. And winning the lottery means nothing if there are invalid transactions in the block, because everyone will ignore it in favor the first fully valid block to win a spin on the lottery.
|
# ? Feb 27, 2018 10:59 |
|
Basically it just all boils down to the rules being enforced by everyone agreeing to follow them. It's a little more resiliant than it sounds because if there's a defector it doesn't break the blockchain, the defectors just end up playing with their own version of that blockchain that no one but them cares about. You can see this in practice with the multiple times Bitcoin has had major forks, or the Ethereum/Ethereum Classic fork. A few years back, the Bitcoin community decided to change the rules and make the blocksize bigger, to handle more transactions. The largest mining groups, however, did not follow along with the rule change. Ultimately, the community decided to abandon the new version of Bitcoin so they would still be working with the miners. And when there was a big theft in Ethereum of one of the dev's wallets through a bug in their smart contract, they decided to reverse it by ignoring the previous blocks until before the theft. Not all of the community followed them on this, and the original blockchain was renamed Ethereum Classic, and continues to have people using it.
|
# ? Feb 27, 2018 11:07 |
|
|
# ? Feb 27, 2018 11:33 |
|
Become the new king of cryptocurrency! Bitcoin Farm is a clicker game where you will aim to undermine a maximum of Bitcoins! To get there you will first mine Bitcoins with your mouse, then later buy graphics cards or asic miner to mine without doing anything! http://store.steampowered.com/app/760930/Bitcoin_Farm/
|
# ? Feb 27, 2018 11:37 |
|
Risc1911 posted:Become the new king of cryptocurrency! Bitcoin Farm is a clicker game where you will aim to undermine a maximum of Bitcoins! To get there you will first mine Bitcoins with your mouse, then later buy graphics cards or asic miner to mine without doing anything!
|
# ? Feb 27, 2018 12:04 |
|
TACD posted:I’m going to be very disappointed if this doesn’t have mining malware hidden inside it. "Develop a mining program and convince users to pay you to use it!"
|
# ? Feb 27, 2018 12:20 |
|
Moddington posted:big theft in Ethereum of one of the dev's wallets through a bug in their smart contract I think you mean a big windfall bestowed by the steadfast iron will of unstoppable code
|
# ? Feb 27, 2018 12:26 |
|
ilmucche posted:So what checks if transactions are valid? How does the blockchain reject a transaction of x bitcoin from a to b if a doesn't have enough, or b doesn't actually exist? What ensures that whoever wins the computational lottery hasn't made a fake trasnaction that sends half of bitfinex's coins to them? Transaction validity is sort of separate. A valid transaction is the output of a cryptographic function. This is the actual crypto part and you can only get a valid output when you know the private key of the source wallet. You can redefine what a valid output is by changing what that crypto function is. This would then be a fork because you only gonna get consensus from people who agree on the crypto function used to define a transaction.
|
# ? Feb 27, 2018 13:57 |
|
RabbitWizard posted:Ha, found an old picture while looking for something on my computer:
|
# ? Feb 27, 2018 14:45 |
|
comedyblissoption posted:Basic cryptography explanation: This isn't how the Bitcoin proof-of-work is done however. It's basically: you start with a text like "I am bitcoin block aaaaa, the previous block was bbbbb, and the transactions in this block has signature ccccc. Also, 0." Then you do SHA256 on this text, and see if the resulting hash starts with "000000...." where the number of 0's at the start varies dynamically by difficulty. In this case, it totally fails as the SHA256 hash is "e97379f34431e23e435d3b195e8dcfa50df7b74179270399e82298e377f147db". So you try again and increase the number at the end (nonce). "I am bitcoin block aaaaa, the previous block was bbbbb, and the transactions in this block has signature ccccc. Also, 1." - nope, the hash here is "7e48ca29140ecb109a3089a8448cd0fd05b35f9b099188c59b6ac8671ad274e4". Then you continue increasing the number at the end, and finally. "I am bitcoin block aaaaa, the previous block was bbbbb, and the transactions in this block has signature ccccc. Also, 11182491." - hash is "0000004d062540d54eeb82b3e13b52ad1822a01f61a1c6a16697ff45b01cca4b" - wow, six zeroes! That's enough to meet this arbitrary example's target! Now you send the block into the network and you "win", and the whole network moves on to hashing the next block. It has nothing to do with "reversing" hashing, you always know the plaintext, you are only interested in finding SHA256 hashes which fit a specific format. (Yes, this isn't the exact process, but close enough for example work)
|
# ? Feb 27, 2018 15:14 |
|
Bitcoins proof of work slows the ledgers iterations down enough for a global network of machines to have time to reach consensus, it’s main job is slowing things down so everyone can agree The work algo is just a difficulty parameter that asks workers to crunch till they find an unlikely outcome that aligns with the goals of the proof of Work system (slowing everyone down by consensus about how hard the work should be when things speed up, vice versa when things slow down)—for vanilla bitcoin it is a specific hash algo and the parameter is leading zeros. Bitcoin has nothing to do with innovations in actual the cryptography field itself, except to give a ton of incentive for cryptography math wizards to learn, laugh, cry
|
# ? Feb 27, 2018 17:14 |
|
Anyone saying bitcoin has changed cryptography has absolutely no idea about any of this stuff, which I don’t blame anyone for because journalism is horrible and tech journalism is especially horrible. How do you get good SNR in a world that is incentivized to generate N?
|
# ? Feb 27, 2018 17:15 |
|
a cyberpunk goose posted:Anyone saying bitcoin has changed cryptography has absolutely no idea about any of this stuff, which I don’t blame anyone for because journalism is horrible and tech journalism is especially horrible. How do you get good SNR in a world that is incentivized to generate N? It has changed crypto. Now anyone who does anything relating to cryptography has to keep their mouth shut about it or they'll be assumed to be one of those idiot bitcoiners.
|
# ? Feb 27, 2018 17:28 |
|
Powershift posted:It has changed crypto. Now anyone who does anything relating to cryptography has to keep their mouth shut about it or they'll be assumed to be one of those idiot bitcoiners. Crypto.... has changed....
|
# ? Feb 27, 2018 17:49 |
|
Powershift posted:It has changed crypto. Now anyone who does anything relating to cryptography has to keep their mouth shut about it or they'll be assumed to be one of those idiot bitcoiners. Once my bitcoin hit $100,000,000, I'm going to open the Alan Turing Bitcoin Museum just to irritate people.
|
# ? Feb 27, 2018 18:06 |
|
I have another technical question about how bitcoin works. Apologies for asking this. Suppose I bought a bitcoin in 2009. This means somewhere very early in the blockchain will be some record of my private wallet xyz getting 1 BTC transferred to it from the wallet I bought the coin from, correct? Since then there's been more than 100GB of transactions added to the blockchain. Suppose I now go to spend that BTC, so another transaction is generated "wallet xyz transfers 1 BTC to some other wallet". How does the verification that my wallet actually has 1 BTC occur? Do the miners have to trawl through 100+GB of transactions until they find my old transaction from 2009? Is there a data structure to the blockchain that helps this? Indexes?
|
# ? Feb 27, 2018 18:41 |
|
a cyberpunk goose posted:Bitcoins proof of work slows the ledgers iterations down enough for a global network of machines to have time to reach consensus, it’s main job is slowing things down so everyone can agree While you're right this has nothing to do with cryptography, the italicized part is very incorrect. It's there to solve the Byzantine generals problem: it's to reach consensus even in the case of dishonest players. You don't need wall-clock time for events to propagate in a trusted or structured distributed environment (see Lamport timestamps or vector clocks for two relatively simple way to achieve (eventual) distributed concensus). If we only relied on cryptography to sign transactions, I could double-spend. If I send 10000 butts to A in exchange for a pizza, and later the butt goes to the moon and I regret, without proof of work (or trust in a third party), there's nothing preventing me from making my own copy of the blockchain without that transaction. I just need to make it 1 block longer than the currently longest chain and start disseminating it on the network. The protocol would mean the network takes over my new longer chain where I still own 10000 butts I can trade on Magic the Gatering Online Exchange. With proof of work, I can in principle try this, but I would (probabilistically) never succeed. If I own, say, 1/1000 of the hashing power of the network, I would have 1 in 1000 chances for mining a block before the rest of the network. Not great odds, but enough that it would happen daily because there are so many merchants accepting my currency of the future. If my transaction is 6 blocks behind the head of the network, I would need to be so lucky 6 times in a row. Now I only have (1/1000)^6 chance of cheating the network; that's one in 10^18. If A, therefore, waits until they have seen 6 new blocks mined after my transaction before handing me my pizza sandwich with pineapple, they can be very certain I cannot take back my money. This is still entirely unnecessary if we just have an independent third party who never lies about whether butts have been used before (or distributed consensus protocol), but in bitcoinland nobody trusts anybody and everybody is happier for it.
|
# ? Feb 27, 2018 19:35 |
|
If you idiots are so smart, how come you didn’t invent bitcoin? Hmm? Armchair cryptographers, you don’t even understand the potential of the Blockchain lol
|
# ? Feb 27, 2018 19:37 |
|
InternetJunky posted:Suppose I bought a bitcoin in 2009. This means somewhere very early in the blockchain will be some record of my private wallet xyz getting 1 BTC transferred to it from the wallet I bought the coin from, correct? Since then there's been more than 100GB of transactions added to the blockchain. Suppose I now go to spend that BTC, so another transaction is generated "wallet xyz transfers 1 BTC to some other wallet". How does the verification that my wallet actually has 1 BTC occur? Do the miners have to trawl through 100+GB of transactions until they find my old transaction from 2009? Is there a data structure to the blockchain that helps this? Indexes? You do not have a wallet containing bitcoins. You have a wallet which contains an index of unpent transactions. So the butts you receive in 2009 are listed as an unspent transaction with a particular transaction id, say A transfers 1 butt to B with id1. In 2018 you then decide to spend half of that butt. You then make a new transaction stating that id2: "From id1, B sends 1/2 butt to C and B sends 1/2 butt to B." This marks the original transaction as spent and replaces it by one new transaction. C can now create a transaction stating id3: "From id2, C sends 1/4 butt to D, C sends 1/4 butt to C" to spend one-quarter of a butt. If A makes a transaction id4: "From id2, A sends 1/4 butt to D, A sends 1/4 butt to A," D can now spend half a butt at E by id5: "From id3, D sends 1/4 butt to E, from id4, D sends 1/4 butt to E." You do in principle have to scan the entire blockchain each time, but you can do a couple of tricks. Your wallet keeps track of all "your" transactions and presents them as a balance. You can in principle have multiple butt-addresses in your wallet (that's in fact recommended by some butters), and it will abstract all of this away. That way, it does not have to scan the entire blockchain each time. A miner can build an index of all unspent transactions so it doesn't have to scan the entire blockchain each time, or they can batch transactions and just scan the blockchain once for all approximately 2500 transactions that fit in a bitcoin block. This is all a bit simplified; there's not really a notion of senders and recipients in transactions, but rather challenges and responses (bitcoin essentially has smart contracts). Also, you don't just refer to transactions, but really to outputs of transactions. We already saw that transactions id2 and id3 sent butts to multiple recipients. Each recipient is an output and can be spent independently. You also really pool all the butts in all the outputs you spend (transaction inputs) and can send that to any number of outputs; typically you would not spend everything, which is left open for the miner to claim as mining fee for the hassle of checking your transaction.
|
# ? Feb 27, 2018 19:48 |
|
When I hodl, price goes up. You can’t explain that!
|
# ? Feb 27, 2018 19:52 |
|
klafbang posted:It's there to solve the Byzantine generals problem
|
# ? Feb 27, 2018 20:10 |
|
klafbang posted:You do not have a wallet containing bitcoins. You have a wallet which contains an index of unpent transactions.
|
# ? Feb 27, 2018 20:12 |
|
InternetJunky posted:Ok, thanks for the response. The whole thing sounds like an insane solution for any type of currency that is expected to be used wide-scale. It's not too bad really. It's a bunch of underlying stuff people don't have to worry about, and not just because nobody will ever use it in practice. Interbanking systems are also super-complicated and as a user of bank accounts or credit cards you don't really have to worry about it. Banking systems also used to do reconciliation of transactions every night, and even today, most bank-to-bank transfers only show up in the receiving bank the day after. Bitcoin just has to reinvent the wheel (probably in the stupidest way possible) to stop the underlying complexity from bleeding thru. A wallet already helps, except for the whole "have to set a mining fee" and "have to wait for confirmations." The insane parts are more the "one blockchain for everything" and "mining" aspects.
|
# ? Feb 27, 2018 20:18 |
|
gary oldmans diary posted:this bitcoin claim again The bitcoin claim is "solves the unsolved Byzantine generals problem." My claim is "solved the Byzantine generals problem in a particular case." Proof-of-work does solve the problem (of attaining consensus in a network with unreliable communication channels), but the problem has already been solved in many other instances, and in less retarded ways.
|
# ? Feb 27, 2018 20:21 |
|
Can someone explain to me how bitcoiin (bitcoin 2nd generation) is supposed to be better than regular bitcoins? Ive tried reading the website and couldnt make much sense of it
|
# ? Feb 27, 2018 20:23 |
|
My rear end is suffering from Byzantine failures
|
# ? Feb 27, 2018 20:28 |
|
Better sell off folks https://www.reddit.com/r/IAmA/comments/80ow6w/im_bill_gates_cochair_of_the_bill_melinda_gates/ quote:[–]thisisbillgates
|
# ? Feb 27, 2018 20:36 |
|
Clearly Bill Gates just doesn't understand crypto.
|
# ? Feb 27, 2018 20:46 |
|
junan_paalla posted:Clearly Bill Gates just doesn't understand crypto. I wouldn't expect a man that read the entire encyclopedia Brittanica at age 12 according to his mother to have any room left in his head for new, useful knowledge.
|
# ? Feb 27, 2018 20:58 |
|
Breathtaking. I wonder how much electricity that wall of cards (or whatever the hell they are) is using a day.
|
# ? Feb 27, 2018 21:26 |
|
Sten Freak posted:Breathtaking. Look like ASICs. About 5 grand each. gently caress knows how much electric they consume. I've heard a couple of them, and that guy should really have ear protection on. I can't imagine how loud hat wall of lol is
|
# ? Feb 27, 2018 22:05 |
|
Sten Freak posted:Breathtaking. So, these look like they might be Antminer bitcoin rigs. Their newest and most efficient, the S9, consumes 1375W. Assuming they are indeed S9s: 10 S9s per group 24 groups per bundle of ethernet cables At least 18 ethernet bundles 4,320 miners consuming around 5,940,000W in total. Maybe
|
# ? Feb 27, 2018 22:10 |
|
InternetJunky posted:Better sell off folks I'm laughing at all of the clueless replies to that comment telling him how wrong he is, despite how he's actually 100% right and has a reasonable and informed opinion. I guess it's better if people don't realize bitcoin's value is entirely propped up by it's usage to buy internet drugs
|
# ? Feb 27, 2018 23:12 |
|
Adolf Glitter posted:Look like ASICs. About 5 grand each. gently caress knows how much electric they consume. He does have hearing protection on; he's pulled his beanie over his ears. Similar to Chinese welding protection where I've seen people use cling film to protect themselves from the UV light.
|
# ? Feb 27, 2018 23:16 |
|
Alan Smithee posted:Then why couldn't bitcoin stop North Korean nukes This makes me think that putting all the world's nukes on the blockchain would be a great idea. In order to launch with everyone has to agree and By the time the "transaction" goes through people will have hopefully calmed down and issued a "refund"....oh
|
# ? Feb 27, 2018 23:31 |
|
an actual frog posted:So, these look like they might be Antminer bitcoin rigs. Their newest and most efficient, the S9, consumes 1375W. Assuming they are indeed S9s: That's probably not the only wall of miners under that roof.
|
# ? Feb 27, 2018 23:41 |
|
Darth TNT posted:This makes me think that putting all the world's nukes on the blockchain would be a great idea. In order to launch with everyone has to agree and By the time the "transaction" goes through people will have hopefully calmed down and issued a "refund"....oh i can't wait for nuclear disarmament to make nukecoin completely worthless
|
# ? Feb 28, 2018 00:36 |
|
|
# ? May 29, 2024 20:01 |
|
I hate this poo poo so bad. It directly represents stupid capital directing resources towards useless fake poo poo to make number go up. And it helps enable child porn I know I sound like a bit of a broken record but I just kind of want to keep rubbing that in crypto people's faces.
|
# ? Feb 28, 2018 00:37 |