142
|
Bitcoin / Development & Technical Discussion / Obscure question about calculating the hash rate
|
on: August 21, 2012, 05:59:47 PM
|
Clients must agree on the next mining difficulty level every so many blocks. To do that they must effectively calculate the hash rate over the last period. To do that, an estimate of the time elapsed since the last update must be agreed to.
How do all the clients collectively agree on a consistent time?
Are the blocks time-stamped by the miner that solved it? If so, what is the validity check that other client execute against the time stamp of a newly minted block?
|
|
|
144
|
Bitcoin / Bitcoin Discussion / Re: Will deflation be the fatal weakness of bitcoin?
|
on: August 10, 2012, 04:41:22 PM
|
Your main idea is obviously right, but please fix your numbers.
I'm assuming you mean me? Which numbers do I have wrong? Yep. If pretty much everyone (say, more than 3 Billion ppl) is using Bitcoin, then there is less than 7 milliBitcoin for everyone. Thus BTC 100 will be a fantastic amount of money. The decrease of prices (the term "Deflation" is IMHO not adequate) is caused by the growth of the Bitcoin economy (ignoring speculative bubbles) - either new users entering the Bitcoin economy or old users increasing their use of Bitcoin. Assuming a 10% decrease in prices therefore assumes a 10% real growth. Assuming that most people are already in Bitcoin, this will have to be mainly increases in efficiency. Which doesn't seem right. Even with fiat money the amount of currency (paper bills) is a small fraction of the total money in circulation. Most dollars are in checking accounts and exist only as a promise by banks to redeem in dollars on demand. This represents the financial market's response to "demand for money" by the market. I know a lot of you don't like fractional reserve banking, but Bitcoin is not immune to this. If the world decides it wants to hold Bitcoins in large numbers then financial institutions will invent ways to create instruments that satisfy that need. We will see Bitcoin "checking accounts" backed by nothing more than a promise and that will be fine for the vast bulk of people and companies. This is because of all the conveniences and security (audits - rollbacks - etc.) built into the financial system today. Truly, a large company would prefer to deal with Chase checking accounts than fiddle with secret keys and such. So would my grandmother. People would only bother with real Bitcoins in situations similar to when you need cash today. A drug deal or a trip to the bazaar in a town in Africa, and so on. Most of the time people would be fine leaving their coins at the bank and using a debit card to pay for coffee. So the real Bitcoin economy can be MUCH larger than the Bitcoin base and it is meaningless to take 21M bitcoins and divide by the population of the earth when having these discussions.
|
|
|
145
|
Bitcoin / Bitcoin Discussion / Re: Will deflation be the fatal weakness of bitcoin?
|
on: August 10, 2012, 04:22:13 PM
|
While price is unstable, Bitcoin will be used as an intermediary currency, quickly bought and sold to purchase goods or services whose price is stable in another currency. While Bitcoin deflation is rapid, it's other use will be as a value store. An rapidly inflating coin would be either unused or highly circulated. A quasi-stable, slowly deflating coin seems to me to be the steady-state for Bitcoin in the long term, should it survive.
I agree with this. However, it will only happen after Bitcoin can be bought and sold quickly and Bitcoin markets can support the volume.
|
|
|
146
|
Bitcoin / Bitcoin Discussion / Re: Will deflation be the fatal weakness of bitcoin?
|
on: August 08, 2012, 02:58:15 PM
|
If you believe deflation is a problem, answer this question: Would you rather work and be paid with a deflationary currency (gold / bitcoin), or inflationary currency (USD / zimbabwe dollars)?
Answer this question: How would you rather pay your employees? With a deflationary currency, or inflationary currency? When I hire someone for a year, I'd rather not have to change their salary every week to make sure it stays around the same value. And as long as employees don't get paid in BTC, it's never becoming a mainstream currency, but stays a commodity. That's you and your personal preference and also irrelevant to the whole market. Those who will want to deal with a currency that gets worth more over time will find a way to solve this "problem". Perhaps a solution is to peg the wage contract to some amount of purchasing power instead of a fixed amount of currency. Yeah. Dollars for example...
|
|
|
148
|
Bitcoin / Wallet software / Re: [BOUNTY] Electrum Firefox Extension
|
on: July 15, 2012, 04:57:23 AM
|
Just tried it. Receive worked. Currently waiting on a send. Very bare-bones but I like it. Comments: - I like the naming of receive keys. (Wish I could figure out how to retrieve a receive key by name at a later time.) - I like the password requirement to send. - Was not clear if I had to save the initial randomness to restore a wallet or if it can be regenerated from the password. - Not clear what server it is using to handle the blockchain. - Send is taking a while - I think because I'm playing with tiny amounts of coin. Wish I could add a miner fee to speed things up. Very nicely done!
|
|
|
149
|
Bitcoin / Wallet software / Re: BitcoinSpinner
|
on: July 12, 2012, 05:45:57 AM
|
I have a Kindle Fire and want to run BitcoinSpinner on it. It's not in the Amazon market.
I've searched for the .apk file and found one and was able to get it running but it's an older version of BitcoinSpinner. Where can I find the .apk file for the latest version?
Oh, I didn't even know that you can run Android apps on the kindle. I just uploaded the latest signed apk here: http://code.google.com/p/bitcoinspinner/downloads/listLet me know whether it works. Worked great. Thanks. Interesting note. The Kindle has no camera. I can export the kindle wallet to my android phone which does have a camera but I can't export my older phone wallet to the kindle since the only allowed input the app expects is from a camera (reading a QR code). Oh well.
|
|
|
150
|
Bitcoin / Wallet software / Re: BitcoinSpinner
|
on: July 12, 2012, 05:38:22 AM
|
I have a Kindle Fire and want to run BitcoinSpinner on it. It's not in the Amazon market.
I've searched for the .apk file and found one and was able to get it running but it's an older version of BitcoinSpinner. Where can I find the .apk file for the latest version?
Oh, I didn't even know that you can run Android apps on the kindle. I just uploaded the latest signed apk here: http://code.google.com/p/bitcoinspinner/downloads/listLet me know whether it works. Worked great. Thanks.
|
|
|
151
|
Bitcoin / Wallet software / Re: BitcoinSpinner
|
on: July 11, 2012, 10:20:51 PM
|
I have a Kindle Fire and want to run BitcoinSpinner on it. It's not in the Amazon market.
I've searched for the .apk file and found one and was able to get it running but it's an older version of BitcoinSpinner. Where can I find the .apk file for the latest version?
|
|
|
157
|
Bitcoin / Development & Technical Discussion / Re: How to truly anonymously send coin to the Democratic Party
|
on: June 05, 2012, 11:31:31 PM
|
Isn't it easier if the receiving party just generates a new keypair?
That's the current model. If the new key is "published", say on a web site, it looses anonymity by becoming associated with the receiver. The point here is that a transaction can be created between two keys, neither of which is associated with a person or business, if senders can generate keys for receivers, send coin, and never interact with the receiver in any other way.
|
|
|
158
|
Bitcoin / Development & Technical Discussion / Re: How to truly anonymously send coin to the Democratic Party
|
on: June 04, 2012, 05:53:14 PM
|
You cannot take an address and make a new address that the same private key can use, correct? But this is just because of the hashing going on, if we used pure public/private key pairs that would actually be possible?
This is correct. If we used pure public keys, rather than hashes of public keys, then the sender could make new addresses for the receiver from normal keys. Regarding identifying the sender generated keys. The sender could notify the receiver out of band, right?
Of course. A business could use this model. However, if you end up notifying someone that you've sent him something you could loose the anonymity of the transaction if the side channel is monitored.
|
|
|
160
|
Bitcoin / Development & Technical Discussion / Re: How to commit - release a transaction without trusting a third party
|
on: June 02, 2012, 01:44:00 AM
|
FYI, this topic has been discussed in a few different contexts, such as in this thread. Obviously, multi-signature transactions are built into the network, so this kind of ECDSA magic is unnecessary, at least for simple 2-of-2 transactions. Also, the 2-of-2 using ECDSA as you described requires one party to compromise their own private key to allow the other party to claim the entire encumbered amount. There's no way to, say, split the money that is locked in the 2-of-2 transaction without one party trusting another. Also, I don't like the idea of having wallets where some private keys are supposed to be revealed, while it's an epic fail for other keys to be revealed. It works for Casascius physical Bitcoins, but I have personally decided it's not a good idea for general usage. On top of that, I believe that being able to split the encumbered money is important: I am firm believer that both parties need a "risk deposit." That the initial 2-of-2 fund is seeded with, say, 20% of the transaction value from both parties (can do more or less depending on how much the parties don't trust each other). At the end of the transaction, if everything went as planned, both parties get their risk deposit back -- Alice puts in 1.2X and Bob puts in 0.2X; at the end of the exchange, they both sign a tx sending 0.2X to Alice, 1.2X to Bob. But if it doesn't go smoothly, then both parties lose their deposit and the tx money. Therefore, there is every incentive for both parties to resolve the transaction agreeably. This avoids: (1) Lazy Alice: Alice receives the goods but then is too lazy to sign the transaction completing the transfer to Bob (or in your case, sending the private key to Bob). She might do this maliciously if she is disatisfied with the product, and if she has no risk deposit, it costs her nothing to screw over Bob. (2) Prankster Bob: Bob advertises that he has products to sell with no intention of selling anything. Alice puts 100 BTC into a 2-of-2 tx, and then Bob disappears leaving the money stranded. Or Bob comes back and offers to split the money with her, since she'll get nothing back if she doesn't agree. Etc. With a risk deposit, Bob has to put his own money into the tx to demonstrate that he is serious about the transaction. And using special hash codes, it's possible for both Alice and Bob to inject the money "simultaneously" so that neither party risks putting money in before the other. (3) The risk deposit could serve as a pre-paid fee for third-party arbitration, if a third-party was included on the transaction. A common agreement might be that third-party Charles, might arbitrate any transaction that has at least 10% risk deposit from both parties. Charles takes that 20% as its fee only if arbitration is needed. Gavin doesn't like the idea of coins being lost, and thinks there should be a MAD option (mutually assured destruction), to allow the coins to be recycled if things go awry. I'm still not entirely convinced that's necessary, but it's not a bad idea. I guess we never actually resolved "the best way" to do this... You're right. There are much better ways of doing this if you can mess with the standard client. It was a quick idea to show what you can do with a DH type shared secret between the sender and receiver. Just a minor note. The sender is not revealing his private key. He's revealing a one time secret unique to that transaction. Another note. This transaction is utterly anonymous as far as third parties are concerned, yet it allows the sender to prove to the receiver that he has committed his coins. Nevertheless it is severely flawed due to the possible loss of coins. I agree with Gavin on this.
|
|
|
|