Bitcoin Forum
May 13, 2024, 08:14:21 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 117 118 119 120 121 122 123 124 125 126 ... 195 »
1501  Bitcoin / Development & Technical Discussion / Re: What are the chances of an address collision? and what happens when it does? on: November 03, 2012, 01:05:22 PM
An address collision would be a SHA256 collision

And if you find a SHA256 collision then bitcoin is the last of our problem



Technically it would be a RIPEMD160(SHA256(SHA256())) collision. Not nitpicking, it's an important distinction given that the last step in that process yields 2^160 possible addresses instead of 2^256. 96 bits of keyspace ain't no joke son.

If I understand this right, does this basically mean that each address actually has tons of private keys (only one of which is known)?

Well, probably.  The mapping isn't known to be evenly distributed.  But on average, there should be something like 296 keys per address.

P.S.  It is RIPEMD-160(SHA-256(pubkey)) .  Only two hashes, not three.
1502  Bitcoin / Bitcoin Discussion / Re: ECB paper on Bitcoin and virtual currencies on: November 03, 2012, 12:53:51 PM
Call me naive, but my current stance is: this report was a mistake, written by a single smart bureaucrat who looked into bitcoin based on the requests for statement the ECB might've been receiving. This guy knows all about money and economics already, maybe has a bias towards the austrian school or whatever, sees bitcoin and thinks: wow! This is cool! Digital gold! (just like us). He then tries to write an objective report, succeeds and goes buy bitcoins anonymously. We might actually have "a friend" at the ECB Wink

More likely in my view, is that the report is just fine, but most of the dire implications that we are finding in it exist only in the bitcoin community's collective heads.
1503  Economy / Economics / Re: Bitcoin major fail - doesn't allow credit creation (aka deflationary currency) on: November 03, 2012, 12:16:52 PM
For people seriously interested in this subject, Steve Keen has done a lot of work on dynamic nonlinear economics. 

Steve Keen is an embarrassment.  He is a joke.  He wants the government to give a debt jubilee to deadbeats in debt.

While you can disagree with his proposed solutions for the debt-crisis, that does not take away his awesome work in explaining the current system of 'lending before reserves' and similar topics. I can be thousands of persons, combined in one single physical body. Let's approach Keen's work the same way - on its merits.

+1

I'm not a big fan of Steve's political views either, but his dynamic approach to economics is fucking fantastic.
1504  Bitcoin / Bitcoin Discussion / Re: [ANN] Bitcoin Foundation on: November 03, 2012, 12:13:21 PM
As Gavin said, absolutely nothing is secret about a place where you can pay 3 bitcoins and gain yearly access. It is a small amount to pay if you are even remotely interested in bitcoins future, and does serve as a filter to prevent blatant rules abuse. Elitist for 30$? Sorry, SanFrancisco bums laugh at you.

Have fun in your little club, cause when Mark and Charlie have BUSINESS SEATS that have no checks and balances for 2 YEARS, that scares me and should scare everyone else. Cause right now Bitinstant and MT Gox, can edge out companies in their respectful niches and position themselves very nicely for the future. So spend your 2.5 bitcoins to be able to help them get even richer, and hinder bitcoin big business.

How can they "edge out companies"?  How?  What magical powers do you imagine this foundation possesses?

(Caveat: your answer must not assume that everyone is as dumb as you)

Thanks for your little message, you just make yourself look dumb by hiding it like a 13yrs old behind my back. Don't you think that all there employees are in the bitcoin foundation, and have voting rights. It isn't magic is called "position" and they are in two very powerful positions, in there seats. There are no checks and balances in this foundation. The members of this foundation are easily swayed, as both for the most part are very popular. If I created the foundation I would have no business people holding any more power than the population, to be honest even gavin has more power than he should. The people on the foundation should have nothing to gain, but wanting to spread the word of bitcoin. While bitinstant and mt gox are great services and spread the word of bitcoin very well, they have too much riding on bitcoin. This is where the foundation will fail and become corrupt if you don't believe me then so be it, and continue to suck on nipple of foundation as they pretend to be transparent.

Ugh.  What power?  That's what I'm asking you.  I'm not asking you to repeat your position that there are magical powers involved, I'm asking you "What power?".

P.S.  It was hardly behind your back.
1505  Bitcoin / Development & Technical Discussion / Re: Satoshi Bitcoin client variable explanation in main.h (Bitcoin Pseudocode Client on: November 03, 2012, 05:03:33 AM
i've submitted a pull request with comments for all those constants.

Just out of curiosity, has MAX_BLOCK_SIGOPS always been defined as a fraction of the block size?  From the P2SH debates, I remember the number 20,000 which is what you get when you perform the division, but I don't remember the division.  And as I recall, it was somewhat important, as a change to it could potentially cause a hardfork.  And I can't find any documentation on it other than the source code, so I was wondering...
1506  Bitcoin / Bitcoin Discussion / Re: [ANN] Bitcoin Foundation on: November 03, 2012, 04:57:50 AM
As Gavin said, absolutely nothing is secret about a place where you can pay 3 bitcoins and gain yearly access. It is a small amount to pay if you are even remotely interested in bitcoins future, and does serve as a filter to prevent blatant rules abuse. Elitist for 30$? Sorry, SanFrancisco bums laugh at you.

Have fun in your little club, cause when Mark and Charlie have BUSINESS SEATS that have no checks and balances for 2 YEARS, that scares me and should scare everyone else. Cause right now Bitinstant and MT Gox, can edge out companies in their respectful niches and position themselves very nicely for the future. So spend your 2.5 bitcoins to be able to help them get even richer, and hinder bitcoin big business.

How can they "edge out companies"?  How?  What magical powers do you imagine this foundation possesses?

(Caveat: your answer must not assume that everyone is as dumb as you)
1507  Economy / Economics / Re: Bitcoin major fail - doesn't allow credit creation (aka deflationary currency) on: November 03, 2012, 04:54:40 AM
If credit implies interest, then, it's a flaw in itself.  If interest are charged, the fund for paying back those interest just dont exist.  Eg : There is only 100 $ all around the world, and it's mine.  Someone borrow me that 100$, and I charge 1% interest.  This borrower would never be able to give me the 100$ + interest, because there is only 100 $ in existence.. 
That's why bankruptcy are built-in in this "credit/interest/fract-banking" system..

That built-in need for bankruptcy (interest) is a major cause of the faillure of the actual monetary system world-wide.

Perso, I dont wish to create a feature in Bitcoin that renders bankruptcy inevitable.

was my 2 satoshi

Sorry, but you are just totally wrong.  You are using a static view, which won't work.  In the real world, the lender will spend at least one dollar back into circulation in order to capture the value that they earned through the loan, and when they do, the borrower can acquire it and make the final repayment.  If the lender fails to do this, then the dollars don't generally circulate, and they will have no value, which would make the loan pointless in the first place.

For people seriously interested in this subject, Steve Keen has done a lot of work on dynamic nonlinear economics.  Read some of his papers and watch some of his videos.  He'll fix you right up if you pay attention.  At least a couple of his videos cover this topic in great detail.  He shows that it is very possible to have a functioning economy (including a loan market with interest) with a fixed amount of currency.
1508  Economy / Economics / Re: Bitcoin major fail - doesn't allow credit creation (aka deflationary currency) on: November 03, 2012, 04:45:54 AM
Capital corresponding to ready-to-spend goods/services, and it normally depreciate slowly(Any kind of captial lose value over time, factory, machine, stocked goods etc...)

Capital in gold/silver's form do not depreciate, so they are generally regarded as a better medium for capital, then there is less risk that ready-to-spend goods/services will depreciate, since they will be produced when gold/silver is paid to producer. But there is a risk of inflation when lot's of gold and silver enter the market at the same time

Loan corresponding to future goods/services, it does not depreciate, so generally loan is a higher quality asset, cost of ownership is almost 0, if the default risk can be contained

Unless you are a jeweler, gold and silver aren't really capital in this sense.  They are money, which can be used to buy the capital.
1509  Bitcoin / Development & Technical Discussion / getting the address that signed a message on: November 03, 2012, 04:38:58 AM
This may be unsafe.  Be careful.

Signature verification in ECDSA has an interesting quirk.  When you are validating a message, you end up with the public key of the private key that must have created the signature.  For safety reasons, the bitcoin client requires that you provide an address to the verification function, which then finds the public key from the message and the signature, and then returns true or false depending on whether or not that public key hashes to the address provided.

Because signatures include a random component, an attacker can easily keep trying until they find a valid signature for an address that "looks like" the real address.  For a human typing on the command line, this means that it is very unsafe to take just the message and signature and return the key.  If you do this, sooner or later, you will be fooled and you will think that a signature was valid when it really wasn't.

However, think about this other usage...  You have a website, and you don't want to make people register for it.  You just ask them for a bitcoin address that they will sign their messages with.  You stash that in your database, and then whenever commands come in, you take the command and the signature, and find the address that signed the message, then look that address up in your user database.  If you find a match, you know that the command came from a real user, and you know which user.  Obviously, this system won't be fooled by a second address that merely looks similar.

What would this look like?

Code:
kjj@inana:~$ bitcoind verifymessage "1EB28gbcAXsedys1UYTS8gcAJTiN8MHUSh" "Gy8cnYtUohz3wiUZFg4zqbWGulKWSMU0ady3Cbpvo6qZPFgtX5EJ8aNvnE/Sus51nMadDVbTDqDAmR/2prZGJko=" "bitcoin:15kfzDMX2Gr7hXrwRQQGkxrd5eBveKH777?amount=1&message=donation"
false

kjj@inana:~$ bitcoind verifymessage "19mP9FKrXqL46Si58pHdhGKow88SUPy1V8 ""Gy8cnYtUohz3wiUZFg4zqbWGulKWSMU0ady3Cbpvo6qZPFgtX5EJ8aNvnE/Sus51nMadDVbTDqDAmR/2prZGJko=" "bitcoin:15kfzDMX2Gr7hXrwRQQGkxrd5eBveKH777?amount=1&message=donation"
true

kjj@inana:~$ bitcoind verifymessage "?" "Gy8cnYtUohz3wiUZFg4zqbWGulKWSMU0ady3Cbpvo6qZPFgtX5EJ8aNvnE/Sus51nMadDVbTDqDAmR/2prZGJko=" "bitcoin:15kfzDMX2Gr7hXrwRQQGkxrd5eBveKH777?amount=1&message=donation"
19mP9FKrXqL46Si58pHdhGKow88SUPy1V8

In the third usage, verifymessage takes a literal question mark character where the address should be and returns the address corresponding to the message and signature.  This example was taken from https://ecdsa.org/bitcoin_URIs.html, just the first google result I came across with a valid message and address in it.  The first command is with a bogus key that I made up, and the second is with the correct key.  Together they show the safe (normal) behavior of the client, which is to require a proper address for verification, and return simply true or false if that key matches or not.

This functionality was left out intentionally to avoid users doing unsafe things.  I agree that this can be dangerous, but I don't think that it necessarily has to be.  So I'm just going to drop this here and let it sink quietly into the depths of Google's memory.  If anyone thinks that this would be useful for them, they can contact me for a patch.

Oh, and if you can follow EC math this can be done fairly easily outside of bitcoind too, and several devs have expressed the opinion that it should remain outside of bitcoin.  Someone was nice enough to show me code for it in Javascript, but I'm not sure if that person wants it distributed or not, so I'll let them pop in to provide the link if they want to.
1510  Economy / Economics / Re: Bitcoin major fail - doesn't allow credit creation (aka deflationary currency) on: November 02, 2012, 10:20:35 PM
Just FYI, fractional reserve was invented for gold.  Goldsmiths created the practice by issuing more warehouse receipts (bearer certificates) for gold in their warehouses than they actually held in gold, and those receipts (certificates) were already circulating as money because they were much more convenient than actually fetching and hauling gold around.

In practice, this is pretty safe, since most people won't want their gold all at once.  Keeping healthy reserves will reduce the chances of being unable to meet a withdrawal request (a bank run) to whatever level is deemed appropriate by the bank.

The real innovation of the Federal Reserve system is that the Fed is able to create dollars out of thin air and can lend them to member banks instantly, making bank runs entirely impossible.  This really just passed the danger up the chain though, leading to the closing of the gold window when France (and friends) attempted to redeem lots of dollars for gold.

In the bitcoin world, fractional reserve is still totally possible.  It is just risky.  A bank that does it faces the very real chance of not being able to make a bitcoin transaction to back up a depositor request.  Banks can mitigate this risk to some extent with pooling and interbank lending agreements, but that exposes the pool to a much lower chance of a much worse event, and it will be impossible to eliminate the risk entirely.
1511  Economy / Economics / Re: Bitcoin major fail - doesn't allow credit creation (aka deflationary currency) on: November 02, 2012, 08:39:34 PM
Oops, this is where you go wrong.  Growth does not require credit.  Growth requires saved past production (commonly known as "capital").  Credit just means that it isn't the grower's capital.  Manipulation of credit also does not magically make that capital spring into existence.

I did mentioned previously about the savings which can be used as source of credit. Each company would save first the amount they need to built the new thingy they need to grow. Well, not so fast. Perhaps it can work with small companies that need to buy and hire an extra service desk or a small building, but with large companies or small companies that have R&D costs ... this is painfully slow. Think about mining companies. They have huge upfront costs when opening a new mine. Even with credit available it's hard for them to get all the capital they need. And then it takes years to do exploration, drill holes and setup shafts. Add more years to save all that money upfront.

The point that you are missing is that the capital was saved in advance either way.  Credit just changes who has access to it, and under what terms.  Equity investing does the same thing.  Neither one is required for growth.

And I disagree totally about the length of time it takes.  Accumulating the capital takes the exact same time either way.  Again, credit does not magically cause capital creation.  It can change the way that capital is allocated, but it doesn't create it.
1512  Economy / Economics / Re: Bitcoin major fail - doesn't allow credit creation (aka deflationary currency) on: November 02, 2012, 07:52:21 PM
Let me try again.

Population growth needs to be matched by production growth just to keep the living standards at the same level. It's simple math: the more people need to be fed, the more farms need to be built or existing farms need to expand production. For farms to expand, they need credit.

A company builds cars and competes in the market with other 10 companies so it needs to continuously improve its cars to stay competitive. To improve the car, the company needs money to set aside for R&D, create new lines of production, upgrade existing lines, etc. To achieve this growth, it needs credit.

Oops, this is where you go wrong.  Growth does not require credit.  Growth requires saved past production (commonly known as "capital").  Credit just means that it isn't the grower's capital.  Manipulation of credit also does not magically make that capital spring into existence.

The debt system allows businesses access to more capital than they would have access to on their own, and it allows savers more access to growth than they could do on their own.  Equity investing is another way to do this, and it offers different risk/reward profiles.  Having both gives both sides more options.
1513  Bitcoin / Bitcoin Discussion / Re: [ANN] Bitcoin Foundation on: November 02, 2012, 07:35:58 PM
Foundation Members, check your emails.  Invites to the members-only BTC foundation forum have been sent out.

making the members-only BTC foundation forum read-only for non-members might be a good option to prevent the inevitable accusations of an insider elite taking control of bitcoin and other conspiracy theories.

The ship for "preventing" such accusations sailed a long time ago.  At this point, I want the foundation forums to stay totally private and secret just for spite.
1514  Other / Obsolete (buying) / Re: 0.30 btc bounty: maths help (statistics) on: November 02, 2012, 06:55:44 PM
Sorry for resurrecting this ancient thread, but I figure it is already in obsolete, so no one will care.

For some reason, I started thinking about this again.  I had forgotten the part about the Stirling numbers, but I had the "well, duh!" moment when I realized that 6^12 is only about 2 billion, and I might maybe be able to find some sort of computing device capable of iterating all of the combinations.

Code:
  2176782336			Random	Diff		Stirling	Diff
0   13284630 0.6103% 0.61% -0.0016% 0.6103% 0.0000%
1  126669960 5.8191% 5.82% -0.0028% 5.8191% 0.0000%
2  464554980 21.3414% 21.33% 0.0081% 21.3414% 0.0000%
3  793379400 36.4473% 36.43% 0.0213% 36.4473% 0.0000%
4  605093850 27.7976% 27.80% 0.0010% 27.7976% 0.0000%
5  164951280 7.5778% 7.60% -0.0232% 7.5778% 0.0000%
6    8848236 0.4065% 0.41% -0.0028% 0.4065% 0.0000%
1515  Bitcoin / Development & Technical Discussion / Re: Problematic block timestamps and number of transactions? on: November 02, 2012, 06:34:42 PM
So, it could be a node blockchain.info is unaware of, or just latency delaying report from known node for long enough that report
over some other node(s) reaches blockchain.info earlier.

The only information that a node gets about the origin of a block is which of that node's peers sent it first, not where that peer got it, not where it was made.

Truth is that Deepbit was doing it. They even broadcast proof of their "sins", just check on their statistics page:

01.11 23:03:30
01.11 20:35:18

Meh.  It isn't like deepbit hasn't hashed millions of other transactions over the years.  And because of the timestamp flex, you don't really have any idea how much time deepbit's system had to accumulate new transactions between the previous blocks, and the getworks that resulted in these blocks.

On timestamps, the network restricts them to be not more than 2 hours into the future, and not earlier than the median time of the last 11 blocks.  The 2 hours/future thing actually operates on the adjusted time, not the system time.  I'm not a big fan of that, but not everyone shares my OCD regarding NTP.

But does timestamp matters or it's just cosmetics?

It matters in exactly the way that I described.  A block with a timestamp too far into the future isn't valid, and a block with a timestamp older than the median of the last 11 blocks isn't valid.
1516  Bitcoin / Development & Technical Discussion / Re: Problematic block timestamps and number of transactions? on: November 02, 2012, 04:32:31 PM
It's not just Deepbit. Bitminter is doing the same quite often.

Anyway, what's with timestamps? Time can be set on will, like 01-01-1337, or there are some limits? Does it actualy matters?

Blockchain.info isn't making any effort to figure out who made the block.  They are reporting who relayed it to them.  Sometimes those are the same, but other times, they are not.  Pieter mentioned that very early in this thread:

Who do you assume deepbit is responsible for this? Blockchain.info shows who relayed a block first, not who mined it.

On timestamps, the network restricts them to be not more than 2 hours into the future, and not earlier than the median time of the last 11 blocks.  The 2 hours/future thing actually operates on the adjusted time, not the system time.  I'm not a big fan of that, but not everyone shares my OCD regarding NTP.
1517  Economy / Gambling / Re: Mind & Probability Paradox bitcoin betting on: November 02, 2012, 03:23:12 PM
After getting two reds, the chances of getting a third is 0.5.  But you'll only get two initial reds 0.25 of the time.  The product is that one time in eight you get three reds, exactly what you'd expect before seeing the first two colors.

If the host doesn't know where the car is, he'll pick it half of the time if you haven't already picked it, and never pick it when you have.  When the host doesn't know, you have a 1 in 3 chance of picking the car correctly the first time, and switching doesn't change your odds.

There are 12 possible outcomes, including some duplicates.  Say we rename the doors (after the game) to ABC, where A is whichever door had the car, and B and C had goats.  The outcomes are (the first letter is your choice, the second letter is the hosts choice, the third letter is which door you end up with):

 1   ABA   see goat, stay, win
 2   ABC   see goat, switch, lose
 3   ACA   see goat, stay, win
 4   ACB   see goat, switch, lose
 5   BAB   see car, lose
 6   BAC   see car, lose
 7   BCB   see goat, stay, lose
 8   BCA   see goat, switch, win
 9   CAC   see car, lose
10   CAB   see car, lose
11   CBC   see goat, stay, lose
12   CBA   see goat, switch, win

5, 6, 9, and 10 are moot because once you see the car, you've already lost.  You can still switch, but there isn't any point.  1/3 of the time (4 of 12), you'll lose when the host opens the door with the car.  When the host opens a goat (8 of 12), in 2 of those cases, you win if you switch (7/8 and 11/12), in 2 you lose if you switch (1/2 and 3/4).  Your odds are the same either way, 50% from when you get to that point, and you get there 2/3 of the time, for total odds of 1 in 3, exactly what you'd expect up front.

When the host knows where the car is, he reveals part of that information to you when he opens a door, which changes the odds.  When the host doesn't know, he doesn't have any information to reveal, so the odds can't change.
1518  Bitcoin / Development & Technical Discussion / Re: Problematic block timestamps and number of transactions? on: November 02, 2012, 02:35:51 PM
I'm pointing to ridicule situation - there are thousands of unconfirmed transaction but block will be accepted, which means
blockchain size will be increased by 1, even though mentioned block has no transactions other than 50BTCs payout. Since
that is possible, it's possible for determined attacker to "freeze" all non-BTC-generating transactions (almost) indefinitely.

Not really.  There are actually several ways to counter this if we ever need to... we can make it costly to be antisocial if we really need to.

How much worse the situation must become for that to happen? If there are already ways to fight it, why wait with implementation?

Because we don't want to make rules like that.  The reference client makes up the bulk of the network, so any rules in there carry a lot of weight.  Until the network is more diversified, the devs are cautious about such things.

Miners should be allowed to include or exclude transactions according to whatever rules they want.  And nodes should be allowed to dislike certain blocks, to some extent.  By putting rules in the reference client, the devs would be forcing their rules on everyone, and they don't want to, and simply won't do it unless things get pretty ugly.

Blocks with no transactions are still doing part of their job, just not all of it.  And they are still valid.

The idea that I proposed, in case you are interested, is to keep a timestamp on transactions in the memory pool, and to check them when a new block comes in.  If the new block doesn't include some fraction (10%?  25%? ) of the transactions that you knew about at some time prior to the block coming in (1 minute before?  5?  10? ), just quarantine the block until another block comes in, assuming that there was a sufficient number of known transactions (50?  100? ).  The new block will either be a better replacement for the antisocial block, or a block that builds on top of it.

This way, miners would have an incentive to include transactions, because more transactions means that a larger fraction of the network will relay your blocks, spreading it quicker, reducing your chances of getting orphaned.

Note that this proposal is actually fairly complicated, and no one would want to have to actually write it, nor maintain it.  It has the advantage of not centralizing control, but that's about all it has going for it.  Other solutions are possible, with varying combinations of complexity and ease of implementation, and the devs don't want to do any of them unless they actually have to.
1519  Bitcoin / Mining / Re: DIfficulty for sha256's stagnant? on: November 02, 2012, 02:10:11 PM
When I started with bitcoin, difficulty was around 120,000.  This latest jump is roughly three times the entire network power from like less than 18 months ago.  Not bad for two weeks.
1520  Bitcoin / Development & Technical Discussion / Re: Problematic block timestamps and number of transactions? on: November 02, 2012, 01:44:16 PM
I'm pointing to ridicule situation - there are thousands of unconfirmed transaction but block will be accepted, which means
blockchain size will be increased by 1, even though mentioned block has no transactions other than 50BTCs payout. Since
that is possible, it's possible for determined attacker to "freeze" all non-BTC-generating transactions (almost) indefinitely.

Not really.  There are actually several ways to counter this if we ever need to.

Not too long ago, there were a lot more of these no-transaction blocks and there was speculation that it might be a botnet doing them.  If it is a botnet, the rise of ASICs over the next few months will pretty well kill them off.  If it isn't a botnet, we can make it costly to be antisocial if we really need to.
Pages: « 1 ... 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 117 118 119 120 121 122 123 124 125 126 ... 195 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!