Bitcoin Forum
May 22, 2024, 03:06:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 »
2321  Bitcoin / Development & Technical Discussion / Re: 21million BTC is just over 51 bits of precision... on: January 30, 2011, 12:09:57 AM
If I were to rewrite the JSON-RPC interface from scratch, I would probably use strings to represent the full int64 bitcoin value, without any decimals.

But perfect is the enemy of good.

Our current interface works just fine, and all this is making a mountain out of a molehill.  I do not see the value in changing what is currently in use.
2322  Bitcoin / Development & Technical Discussion / Re: 21million BTC is just over 51 bits of precision... on: January 29, 2011, 09:12:22 PM
Actually, JSON-RPC doesn't support integer nor floating-point. It supports "number", which is not necessarily either.

Irrelevant distinction.  The definition of "number" requires support for decimal numbers.

That said, many libraries are smart -- such as jansson -- and will evaluate a number directly into an integer.
2323  Bitcoin / Development & Technical Discussion / Re: $2000-$2500 Bounty Offered on: January 29, 2011, 08:42:33 PM
SSL is (a) a good additional to the bitcoin P2P protocol, even if anonymous, and (b) easy to integrate into the existing protocol.

As others have pointed out, SSL will not give you authentication, because you're still connecting to an untrusted party.  However, it will give you obfuscation, which has value.

Modern protocols implement SSL by including a "start SSL" message in their plaintext, unencrypted protocol.  That eliminates the need for multiple TCP ports as in the HTTP/HTTPS design.  bitcoin can implement SSL obfuscation by adding a start-ssl message immediately after the version message.  The version message will tell us whether or not the node supports SSL, making it easy to integrate SSL in a backwards-compatible manner.

Thus, bitcoin P2P nodes that wish SSL may request it, just like SMTP nodes that wish to use SSL for transiting email between untrusted nodes.

It is a step forward for the Internet, when most protocols use SSL by default, even if obfuscation is the only added value.
2324  Bitcoin / Development & Technical Discussion / Re: $2000-$2500 Bounty Offered on: January 29, 2011, 07:28:17 AM
2. On first run Bitcoin should select a random high TCP port (>1024) and save it to the bitcoin.conf. (something like "listenerport=8972"). This port should contain the new SSL-only listener. Do we need to keep the old port 8333 listener running for compatibility for a while?
The official client won't make outgoing connections to non-standard ports, so this would not be good for the network.

This is a deficiency in the official client, and should be fixed.
2325  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: January 29, 2011, 07:18:57 AM
cpuminer version 0.6 released (see top of thread for URLs).

Changes:
- Fetch new work unit, if scanhash takes longer than 5 seconds (--scantime)
- BeeCee1's sha256 4way optimizations (faster!)
- lfm's byte swap optimization (faster! improves via, cryptopp)
- Fix non-working short options -q, -r

SHA1: d4c21a3fc1c3f433771101cf1e71186df3a94032  cpuminer-installer-0.6.zip
MD5: 1936f4f71574643825f8d8d31e456a3a  cpuminer-installer-0.6.zip
2326  Economy / Marketplace / Re: Looking for programmer to add Pecunix GAU to bitcoin central on: January 27, 2011, 09:54:02 AM
Per their API documentation [1]  amounts may be to an accuracy of 4 decimal places.

Keep in mind that Pecunix has disabled its API for outgoing payments since 2008-ish. To automate this you'd have to do some screenscraping and resolve their (simple) Captcha.

[1] http://info.pecunix.com/Pecunix_pri.htm
Do you mean that they don't have an SCI ?

PRI == SCI, at Pecunix.

Thus, bitcoin central PGAU deposits can be automated, but bitcoin central PGAU withdrawals require you to manually login to their website and issue payments.
2327  Economy / Marketplace / Re: Looking for programmer to add Pecunix GAU to bitcoin central on: January 27, 2011, 12:23:44 AM
please specify:

currently BC (bitcoin-central) supports only free trading
if there are matching buy/sell trade orders, they are mutualy satisfied, balances changed and the site operator has 0 % revenue

Q1: do you accept this behavior or how to you want to control transaction fees?
Q2: if fees yes, do you want a global fee applicable to all supported currencies?
Q3: do you want a fee per currency, default fee applicable if currency fee not selected or not known yet (p.ex. after currency added but the fee for transactions in that currency not specified yet)?
Q4: if fees yes, do you want to charge them in BTC or in the currency of transction?

Q5: currently BC only allows funded transactions. how would you update PecGAU balances of funded accounts?
(hint manually, pecunix api)
are you familiar with the fact that there is one wallet per currency and the balances are stored in a database?
is that in line with your imagination of pecunix support?

That's over-thinking the problem.  Simply expressed, duplicate existing LRUSD support for Pecunix GAU, using Pecunix's API rather than LR's API.  PGAU balance will appear beside LRUSD, and BTC/PGAU may be traded as BTC/LRUSD are traded now.
2328  Economy / Marketplace / Re: Announcing bitcoin-central.net - trade USD and EUR for free! on: January 26, 2011, 10:34:30 PM

I just posted an advertisement on the Marketplace forum, to add Pecunix GAU support to bitcoin central.

2329  Economy / Marketplace / Looking for programmer to add Pecunix GAU to bitcoin central on: January 26, 2011, 10:32:49 PM

I'll offer 500 BTC to the person or group that contributes working Pecunix GAU support to bitcoin-central open source project.

2330  Bitcoin / Development & Technical Discussion / Re: [RFC] Trusted build process on: January 26, 2011, 05:54:09 PM
Distro's use cryptographically signed packages rather than checksummed ones.

Don't be so literal Smiley  "Checksum" is convenient shorthand.  You see this with the "sum" prefix in binaries named "md5sum", "sha1sum", etc.
2331  Bitcoin / Project Development / Re: Bitcoin Powerpoint Presentation on: January 26, 2011, 12:37:43 AM
One FAQ I get is "why not use Paypal?"

My answer is:  Paypal is a layer on top of currencies.  Paypal offers digital access and fraud protection on top of various currencies (USD, EUR, JPY, ...).  In the distant future, Paypal would hopefully offer BTC as a supported currency, alongside USD and EUR.
2332  Bitcoin / Development & Technical Discussion / Re: [RFC] Trusted build process on: January 25, 2011, 09:47:08 PM
Just to list potential sources of non-determinism that I know of when building on linux:

  • zip/gzip (timestamps)
  • tar (timestamps)
  • dependencies (libraries, headers)
  • compilers
  • things I am forgetting right now Wink


We should not be building anything except bitcoin itself.  Choose a distro with checksum'd packages, and you wipe out almost everything on your list.
2333  Bitcoin / Development & Technical Discussion / Re: [RFC] Trusted build process on: January 25, 2011, 07:25:13 PM
With modern packaging, checksumming is quite easy -- provided that prelink is disabled (prelink rewrites binaries).  So gavin's proposal seems reasonable, and reproducible.
2334  Bitcoin / Development & Technical Discussion / Re: Feature request: Implement SSH-like conn encryption into protocol (OpenSSL ?) on: January 21, 2011, 06:12:33 PM
Encryption is pointless, because when an attacker can control enough bitcoin nodes, SSL won't help at all...

Encryption is not pointless, because it is unlikely an attacker can control enough bitcoin nodes today.

Furthermore, it is nice to not be observed when I am submitting a new transaction to the network.  Those in the coffee shop have no business knowing that I am submitting a new transaction, even if the TX is propagated in the clear throughout the network.
2335  Other / Off-topic / Starbucks launches largest mobile payment program in the US on: January 21, 2011, 12:00:02 AM
"Starbucks launches largest mobile payment program in the US"
http://www.techspot.com/news/42051-starbucks-launches-largest-mobile-payment-program-in-the-us.html

Quote
To pay with their phone, app users simply select "touch to pay" and hold up the barcode on the screen to the 2D scanner at the register.

     and

Quote
Starbucks is using its own custom-built technology, choosing barcode scanning over near field communication technology (NFC) because the latter has limited availability. The company may go NFC once there are enough mobile customers using it, but in the meantime it wanted to roll out mobile payments.
2336  Bitcoin / Mining software (miners) / Re: New demonstration CPU miner available on: January 20, 2011, 07:35:55 AM
I found the configure script didn't correctly recognize my cpu (an I5) on Ubuntu 10.10.  Since it didn't ID it, I didn't get SSE2 4way support.  I added -msse2 -march=core2 to the CFLAGS and it worked (I added it in the Makefile, but adding it in the configure script should work).  If you don't get SSE2 support you can try this.

I also found changing the -O2 to -O4 gave me a bit more than a 2% speed increase.  I'll take every khash I can get.

Yeah, the configure script is not intended to "recognize your cpu."  If you are doing your own builds, you are expected to be able to supply the best compiler flags for your CPU through the CFLAGS environment variable.  This is the standard, recognized method for passing compiler flags to 95% of all configure scripts:

Code:
     CFLAGS="-O3 -march=native" ./configure

-march=native tells recent gcc versions to build programs tuned specificaly for the build machine's CPU (and may not work on other CPUs).  By default, the compiler tries to generate code that is best suited to a wide range of CPUs.
2337  Bitcoin / Development & Technical Discussion / Re: Running on a port other than 8333 on: January 19, 2011, 11:42:55 PM
both have a different rcport specified in the config (8332 and 8333)

8333 is the hardcoded P2P port.
2338  Bitcoin / Bitcoin Discussion / Re: Major Retail Point of Sale Initiative in USA on: January 19, 2011, 11:29:52 PM
Another quick question:

The cafe I'm talking to is very interested, but wants to know what the hardware will cost. The same person who runs the cafe also runs a food buyers club where orders are processed online. They currently use paypal or check to process payments. Would this retail payment system jive with an online system? Could people ordering bulk food online pay with their smartphone?

Right now: yes, if you are highly technical and can obtain the full-bitcoin-for-Android build.

In the future:  yes, people are working hard on an easy bitcoin smartphone app

2339  Economy / Marketplace / Re: Announcing bitcoin-central.net - trade USD and EUR for free! on: January 19, 2011, 06:57:11 PM
Ticker data is now available at :
 - https://bitcoin-central.net/trades/ticker.json

The JSON output is broken.  There is no comma following the "eur" data closing brace.  There may be other errors, but that's the one I'm seeing.

Most languages have some sort of JSON validation code that you could use, just as a self-check against this sort of problem.  I would run your XML through an XML validation as well.
Yea... I've been generating json by hand which was probably a bad idea, guess I should fall back to the nice Hash#to_json method Smiley
Also I'd need a DTD to validate my XML against, I guess the whole API is going to need some attention.

If you could fix this one JSON issue, I can get bitcoin-central listed on bitcoinwatch.

That bitcoin-central JSON breakage is my only blocker.
2340  Bitcoin / Development & Technical Discussion / Re: Bitcoin suddenly failing on start on: January 18, 2011, 07:52:15 PM
I got a call from someone recently with a similar problem.  He was using Windows 7 (the 64 bit version).

I told him to use http://mybitcoin.com instead.   Smiley

IMHO, most "average users" should be using a website, rather than bitcoin software.

bitcoin software is mainly for highly technical people, or people very interested in privacy (ie. they might run bitcoin over Tor).
Pages: « 1 ... 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 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!