Bitcoin Forum
May 09, 2016, 01:07:49 AM *
News: New! Latest stable version of Bitcoin Core: 0.12.1 [Torrent]
 
  Home Help Search Donate Login Register  
  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 »
1501  Bitcoin / Development & Technical Discussion / Re: why JSON RPC values not use INT64 instead of float string? on: March 30, 2011, 06:38:57 PM
All righty, I hereby state:

All money values in the bitcoin JSON-RPC interface Are and Shall Be treated as Decimal, with 8 digits of precision after the decimal point.

If you're writing a banking application in a language that doesn't support Decimal types from JSON, then you should pack up your bags and go home.
1502  Bitcoin / Development & Technical Discussion / Re: why JSON RPC values not use INT64 instead of float string? on: March 30, 2011, 06:29:02 PM
If we want to be taken remotely seriously by the banking and merchant communities, floats need to go.

People keep claiming that, and yet I just did YET ANOTHER google search for "banking apis", clicked through to the Open Financial Exchange standard (from Microsoft and Quicken), and what do you know!  Money amounts look like floats:

Code:
          <STMTTRN>
              <TRNTYPE>CREDIT
              <DTPOSTED>20070315
              <DTUSER>20070315
              <TRNAMT>200.00
              <FITID>980315001
              <NAME>DEPOSIT
              <MEMO>automatic deposit
            </STMTTRN>
http://www.ofx.net/OFXExamplesPage/OFXExamples.aspx

1503  Bitcoin / Development & Technical Discussion / Re: why JSON RPC values not use INT64 instead of float string? on: March 30, 2011, 06:22:16 PM
Apologies to Nefario, I was reacting to the wiki pages written by genjix on how to use PHP with bitcoind that started with:

+ First, compile my fork.
+ Next, install the GMP and BCMath libraries...

And why do I defend floats:  because simple things should be simple.  Using GMP/BCMATH is overkill for 98% of what bitcoin JSON-RPC users will be doing.

And because certain people keep beating this dead horse.  I have said that I am PERFECTLY WILLING to support strings in the JSON-RPC interface if somebody can demonstrate to me someplace where it is actually a real problem (that isn't trivially solved using something like round(value*1e8+0.5) or printf("%.08", value)).

1504  Bitcoin / Development & Technical Discussion / Re: why JSON RPC values not use INT64 instead of float string? on: March 30, 2011, 05:11:31 PM
Can you'all educate me about these mythical rounding errors that require using GMP?

I can see, maybe, if you're computing interest down to the penny on a 30-year mortgage you might conceivably be off by a penny if you use 64-bit floats instead of 64-bit integers, although even there you're going to have to think hard about rounding as you get integer remainders.

And I can see being really careful if you're writing a bitcoin exchange site or bitcoin bank that deals in thousands of internal transactions that must all balance exactly.

But for the typical PHP website that is just going to add up 10 items in a shopping cart using plain-old PHP Numbers will be just fine.   I don't see PayPal recommending that PHP users of it's APIs install GMP.  Recommending that any website dealing with bitcoins compile genjix' fork and use GMP is a really good way to ensure that nobody accepts bitcoins.

1505  Bitcoin / Development & Technical Discussion / Re: Bitcoin account format spec? on: March 30, 2011, 03:57:56 PM
I did however find something else very interesting while I was there... the 'vanity' param Smiley

That's not part of the official API, that's just a fun hack I made one day on a whim.

The technical information in the wiki needs more attention and polish; if you have time and are a decent writer, please jump in and help out.
1506  Bitcoin / Project Development / Project idea: clone Paypal API(s) on: March 30, 2011, 03:04:24 PM
So before deciding to do ClearCoin, I was thinking I was going to clone one or more of the PayPal shopping cart / payment APIs.

The advantage would that all of the existing shopping cart interfaces that know how to talk to PayPal would "just work" with bitcoins (the PayPal APIs can already deal with multiple currencies) -- just replace the https://api.paypal.com/ URL (or whatever it is) and specify amounts in BTC instead of USD or EUR.

The short-term business model would be an E-Wallet for businesses (like PayPal).  The medium/long-term business plan would be to get acquired by PayPal when PayPal decided they need to support bitcoin.

If you don't like PayPal, then replace "PayPal" by "Google Checkout" or whatever other, popular payment processing gateway API is already being used by lots of websites.

I still think this is a good idea, but I'm busy, so I'm throwing it out here and hoping somebody decides to do it.
1507  Bitcoin / Development & Technical Discussion / Re: [RFC] Bitcoin Payment URI scheme on: March 30, 2011, 12:51:35 PM
All this endless talking about the Perfect URI Scheme is very nice.

So is anybody, you know, actually working on IMPLEMENTING something?

You'll need to know how to write browser plugins for Firefox/Safari/Chrome/IE and figure out how to pass arguments to a running bitcoin/bitcoind and know how the bitcoin/bitcoind will prompt the user to confirm the transaction.  Oh, and figure out how to get the browser plugin(s) installed when bitcoin is installed.

Deciding on whether it is bitcoin:address or bitcoin://amount/address is the easy part, and I think whoever actually does the work of making this happen should define the standard.
1508  Bitcoin / Bitcoin Discussion / Re: Does it take awhile for bitcoins to show up in a clearcoin escrow? on: March 29, 2011, 11:44:10 PM
ClearCoin requires 3 confirmations before coins are available to be released; the sender will see something like:
Quote
Received:   0 (20.00 still waiting for confirmation)
... while they're in the process of being confirmed.

I'll change the receiver's status page so it shows the amount awaiting confirmation, too.
1509  Bitcoin / Project Development / Re: Does WeUseCoins Deserves the Full Bounty? RETAKE on: March 29, 2011, 04:38:29 PM
yes
1510  Bitcoin / Development & Technical Discussion / Re: Bitcoin "mailto" equivalent.... payto? on: March 29, 2011, 04:17:38 PM
Feature request is here:  https://github.com/bitcoin/bitcoin/issues#issue/14
1511  Bitcoin / Development & Technical Discussion / Re: [PATCH] wallet private key encryption on: March 29, 2011, 04:05:25 PM
One way to analyze these is via a threat model. What can the attacker do, that we will try to defend against? And what will we not defend against?

We can distinguish three levels of attacker:

1. Can read user files

2. Can read/write user files but only read system files

3. Can read/write everything, root privileges

I think that's the right way to think about it.  And I think Jeff actually implementing a straw-man proposal is exactly the right thing to do.

So:  I say we don't try to defend against (3), at least not right now.  If you have root then you can install a keylogger, read memory, intercept any system call, etc etc etc.   (I would like to see somebody implement a bitcoin client that required payment verification using a cell phone app or telephone call or PIN-sent-to-email and did all the magic key management to make that work securely, but I think that's beyond the scope of what we can reasonably do right now).

Defending against (1) and (2) would help with:

a) you forget to logout so attacker sits down at your computer, starts bitcoin and empties your wallet.
b) attacker gets a hold of a filesystem backup that is not encrypted.
c) sysadmin sets file permissions incorrectly so attacker on multi-user system can read your wallet.dat
d) attacker guesses or finds out your ssh password, logs in remotely and steals your wallet.dat.

It won't help with:
- sysadmin with root privileges is evil
- system compromised by rootkit/trojan/keylogger


RE: encrypt everything:  I say maybe later.  Just encrypt everything isn't trivial: users would have to wait a minute or two or ten for Berkeley DB to rewrite all of blkindex.dat (bottleneck will be disk I/O, not the encryption), and we have to deal with "my disk filled up when I changed my password, things are half-encrypted and half-not, what do I do now?"   And I don't see a lot of value in encrypting all of wallet.dat; forget to shutdown bitcoin and an attacker that wants to know your public addresses can just open up the address book and take a screenshot.
1512  Bitcoin / Bitcoin Discussion / Re: Bitcoin forum getting big, Need Moderators on: March 29, 2011, 02:23:15 PM
I'd assume they have rules and try to make them as clearly written as possible.

So one of my pet peeves is the United States Legal System.

It has lots of rules.  The problem is nobody can possibly read them all.  And yet "ignorance of the law is no excuse!"

I'm a big fan of a few general, fuzzy rules and common sense.
1513  Bitcoin / Bitcoin Discussion / Re: This is very bad... on: March 29, 2011, 12:28:08 AM
Sirius runs the website.

... and we're looking for volunteers.  See http://bitcointalk.org/index.php?topic=5052.0

Quick "why no proper SSL cert" :   because it never made it near the top of anybody's TODO list.  The task is:
 + Figure out where the bitcoin.org domain is registered and make sure the MX records/etc are pointing somewhere so verification emails from the certificate authority don't get lost.
 + buy the cert and jump through the 'verify you are who you say you are' hoops.
 + replace the self-signed cert on the web server

1514  Bitcoin / Bitcoin Discussion / Re: How Bitcoin is perceived by people on: March 28, 2011, 12:24:58 PM
eideteker:  Can you ask the skeptics what we, the Bitcoin Community, could do to be less "smelly" or "sketchy" ?

I find people are much more sympathetic if instead of saying "What's your problem?" you instead ask "What am I doing wrong, and how can I fix it?"

And then you can get all jujitsu on them and praise their great ideas and gently suggest that you'd only screw up whatever it is they are suggesting (and you're busy doing other stuff already) so maybe they should just go ahead and do it...
1515  Bitcoin / Bitcoin Discussion / Re: How Bitcoin is perceived by people on: March 28, 2011, 11:59:23 AM
There needs to be some sort of awareness campaign to repair the perception people have to Bitcoin.

If only somebody would create a really nice animated video explaining what bitcoin is....
1516  Bitcoin / Development & Technical Discussion / Re: Witholding transactions on: March 27, 2011, 11:35:12 PM
What theymos said.  Miners have a strong incentive to be well-connected (as do big merchants and exchangers and anybody else who generates or processes lots of transactions).
1517  Bitcoin / Development & Technical Discussion / Re: Transaction Fees on: March 27, 2011, 10:28:09 PM
Why did you put paytxfee=0.00 in your bitcoin.conf? Is it possible you had another value in the past?

... and also remember that command-line switches override values set in the bitcoin.conf file, so if you'd modified your Windows shortcut to -paytxfee that would stick.
1518  Bitcoin / Bitcoin Discussion / Re: Bitcoin forum getting big, Need Moderators on: March 27, 2011, 08:25:59 PM
You're hired!
1519  Bitcoin / Development & Technical Discussion / Re: listtransactions and generated coins on: March 27, 2011, 08:21:51 PM
No, there is no 'mixed_debit' in my pull request.  Coins are 'immature' until they have 120+ confirmations, then they are 'generate'.
1520  Bitcoin / Bitcoin Discussion / Re: Is Bitcoin subject to a "Hostile TakeOver" ? on: March 27, 2011, 08:20:31 PM
RE: botnets:  if the botnet operator is economically rational, then their best strategy to make money is to just follow the rules, mine coins, and then sell them on the exchanges.

RE: the original poster's question on "can somebody with lots of money and a willingness to spend it to mess with the bitcoin exchange rate and cause fear, uncertainty and doubt" :

Yes.  Yes, they can.  That will be true while the bitcoin economy is small, and that is why I tell people not to 'invest' money in bitcoins that they can't afford to lose.

I still predict that there will be natural price bubbles and artificial ponzi schemes and all sorts of other things causing wild swings in the value of bitcoins.   Next time I talk to an economist who knows something about currency markets I'll have to ask how big a currency has to be before it is mostly immune from speculative bubbles and price manipulation...
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 »
Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!