Bitcoin Forum
June 06, 2024, 05:09:20 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 [287] 288 »
5721  Bitcoin / Bitcoin Discussion / Satoshi's spare change? on: May 25, 2011, 01:38:03 AM
http://blockexplorer.com/tx/3387418aaddb4927209c5032f515aa442a6587d6e54677f08a03b8fa7789e688#o1

(This looks like change from a send from an active address being sent to the address which was paid by the genesis block)

Did older client software not generate random addresses to receive change and instead pick a random address in the wallet?

5722  Bitcoin / Mining / Re: Think I just solved the pool problem. on: May 21, 2011, 10:49:20 PM
Btw it's not only transfer problem, calculating complete block for every share is pretty hard, too. Forgot that pool can calculate tens of hundreds shares per second...

So you're saying that a small set of pool systems scales better than the idle CPUs of thousands of miners? Thats silly. As the txload rises miners can simply prioritize transactions based on their hash distance from some random value, allowing TX validation to scale far beyond what the pool could support.

Today the responses to take about 181 bytes on the wire.  Blocks are frequently about 4k, so at the moment difficulty would need to be 22 to send the whole block and use the same amount of traffic.  If it were compressed by only sending the TX ids, it would be 354 bytes/share for 10tx shares, or less then double now.

Someday in the future when blocks are 1MB (the largest size clients will accept today) the 'compressed' size will be 128032 bytes/share. Share difficulty would need to be ~750 to get to the _same_ traffic levels we have now.

This could all be further reduced by miners only sending incremental updates. So basically in that case it would only take resending each TX, along with one extra per per new block (~6/hour) to setup the root. Done this way it should do no more than 2x the current bandwidth, though it would take more software to track the incremental work per miner.  

But even ignoring all the things that can be done to make it more efficient: at current bulk internet transit prices ($2/mbit/sec/month) full 1MB shares would each cost the pool $0.0000064 each.

Assuming 2MH/J, $0.05, and an exchange rate of $6/BTC  GPU mining won't be power profitable past difficulty 10,000,000, even for people with cheap (but not stolen) power, assuming the current exchange rates.  At a share difficulty of only 12 this would be bandwidth costs of only about $5.33 block solved while sending full 1MB shares without any efficiency measures.  If you can't figure out how to make that work then I'll welcome your more efficient replacements.

(the formula for breakeven profitability is
diff = (719989013671875*exc*mhj)/(17179869184*kwh)
where diff is difficulty, exc is the exchange rate in $/BTC, MHJ is the number of MH per joule, and kwh is $/KWH)

As I write this deepbit is down and the network has gone 30 minutes without confirming a transaction.  This is nuts. I don't think the bitcoin community should continue to tolerate the reliability problems created by large pools.  You're free not to participate in an operating practice, but the network is also free to ignore blocks mined by pools which actively sabotage the stability and security of the network.
5723  Bitcoin / Mining / Re: Think I just solved the pool problem. on: May 20, 2011, 08:13:34 PM
2. Get Bitcoin address for the pool.

The pool should give you N addresses:

One for D=1 work, one for D=6 work, one for D=12 work. etc.

D=6 work pays 6 shares. Etc.  The reason for this is because your scheme uses a lot more bandwidth to transmit shares, but this is trivially corrected by increasing difficulty. But that would increase variance to unacceptable levels for slow miners.  By changing the address they pre-commit to a target difficulty and the shares will be credited accordingly.

The miner software can then bet setup so that it picks the diff that gets it close to 1 share per minute...which should end up being less bandwidth than currently used.

Also, while it would be possible to buffer shares while the pool was down and the pool could choose to pay for stales, I think thats actually a bad idea: it would allow you to get shares on network-offline hosts that aren't really contributing to the success of the pool... plus it would require more coding and storage for the shares.  Instead,  when the pool isn't reachable to accept shares you simply switch to using your own address for mining until it comes back.

Annnd... as we mentioned on IRC pools could still enforce sane behavior on miners (e.g. don't send 1MB blocks of crap transactions) by simply refusing to pay for shares that look like that. So the pool acts as a check on miner behavior, but it can't enforce secret rules since the miners will need to know them in order to conform.  This somewhat invalidates nanotube's #2 re-fee rules, but I think thats a good thing.  Pools don't get unilateral control but they get some influence and I think thats good.


Also from IRC, the logical place to put all this would be in bitcoind, not in a miner client. A simple modification to bitcoind would let you change the payout address... then you use normal miners against it.

All work is done locally ...
1) If you're doing all the work local then why bother sending it to a pool?
2) Why should the pool trust the number of shares you worked on? Hack the bitcoin program so that your Pentium III reports the same shares processed as the guy with 5 GH/s.

(1) in order to get pooled payments, silly.

(2) Because you still submit 'shares' (though now with more data) in order to prove that you're working for the pool, same as now.

5724  Bitcoin / Mining / Re: Todays difficulty increase to 156000, where from here? on: May 19, 2011, 04:09:31 AM
If the continues rate of hashing growth continues at the current rate of ~2.5%/day then my first number becomes 243254 

Okay—  so I was off by 0.36%, so sue me.

5725  Bitcoin / Mining / Re: You are threatening Bitcoin’s security on: May 17, 2011, 10:34:53 PM
i meant. if you had the raw processing power to take 51%.. you could make it 50 different pools of 1.02% so it looked like 50 people held 51%... when in truth it was a single person pulling all the strings.
If you had that much processing power, odds are high that you have many other more profitable uses for it than attacking the blockchain.  Like, for example, mining with the blockchain to capture 50% of the coins produced.

You misunderstood the argument.  Lets say that DB is 40%, slush is 30%, eligius is 20%.   You get 11% of the network hashing power, way less than half. Then you DOS attack those three pools. You now have 51% of the _remaining_ hash power.

This attack is much harder with less pool concentration.



I've been hearing this for awhile, but since my miner will only computer proof of works and send those to deepbit, can deepbit really be used to attack the network using only that?

Yes, your computer can't even see the work it's doing for the pool because the work is hashed, it only works on the block header.  But the pool could not be evil completely undetectably. There is an argument that it's much easier for a pool to undetectably skim from their users, so if they were evil they'd do that instead... but lots of arguments against big pools have been given here which don't require evil.



5726  Bitcoin / Mining / Re: FPGA mining for fun and profit on: May 17, 2011, 05:43:25 PM
The high end Spartan-6 has ~150K gates.

Is this type of thing cost effective for miners to buy just for mining? Nope you'd likely never pay off cost of the cluster from your mining.
Is it cost effective for someone who already owns units used for other work? Very, considering each chip only pulls ~5 watts and they're sitting idle.

Yes. 150K LU  is not enough to fit an unrolled engine with internally pipelined adders. It's enough to fit _one_ unrolled engine, which you'd probably be lucky to get running at 100MHz (=100MH/s).     Maybe you could do some awesome stunts, depending on the platform and somehow get two in, though I don't see it.

If it's otherwise idle capacity, then fine— it would be profitable. But you're not talking about a huge competitive advantage for anyone yet, certainly not a huge short term competitive advantage.

Quote
The bounty is laughable... A person keeping the code to themselves could profit a lot more than that and keep the competitive advantage.  You may not like it but it's capitalism.

Much more and it simply becomes easier to write it myself.  It's quite simple to write a SHA2-256 engine in verilog, though harder to get it going fast.

To someone who knows the tools and has the development kit handy, it's probably two days of work to get something basic going, though the skys is the limit on optimizations.  I'd offer the use of hardware, but the largest programmable FPGA I own is only 27K LU, which is too small to be interesting for this.

The reality is that someone will eventually do it for love or money and reality trumps capitalism.

Moreover, shaking confidence in the security of bitcoin by securing a large private advantage wouldn't be economically sensible for anyone developing this stuff in any case.
5727  Bitcoin / Mining / Re: You are threatening Bitcoin’s security on: May 17, 2011, 05:32:58 PM
I think we need Tycho to voluntarily block new people until he is below 33% (and that is a high amount already) of the hash rate. And convince the slush guy to do the same too.

Free market man, Tycho should not FORCE people out of his pool...

No, he should just increase the fees further.  He's already the most expensive and still the biggest— even if you make some downtime argument— 2% fee pays for 28 minutes/day in downtime— and deepbit has not been perfectly reliable either. I bet he could take 15% and still be at a third. 0_o

Win win.


The security concerns don't require the operators of the pool to be evil. They could be compromised, for example. And there have already been pool security compromises.

Adding to the security paranoia arguments the system reliability argument: If a pool has 50% of the hashrate and it goes down, then we lose 50% of our transaction processing capacity.  This would especially be bad in difficulty-cycles where hashrate had shrunk so that we were already behind 10 minutes / block.


5728  Bitcoin / Mining / Re: FPGA mining for fun and profit on: May 17, 2011, 05:23:40 PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


I will gladly match Chris Acheson's bounty of 10BTC on his terms.

A basic FPGA miner isn't a lot of work and it would be a fun project
for someone who hasn't done this kind of work before.  A _fast_
fpga miner which will achieve competitive performance would be a decent
accomplishment.

I think it's important to the health, security, and public confidence
in bit coin that a few large private parties do not retain a substantial
long term advantage in their ability to control the hashchain.

Making sure that the public has the lowest cost access to the mining
state of the art should be helpful for this purpose.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk3SruYACgkQrIWTYrBBO/p58wCfYeGrfT9ptb/bOapN0zJ0Dt9J
XFoAoMuISTUBUGqeOqJc1TBesyG6e0Fh
=WAwq
-----END PGP SIGNATURE-----
5729  Bitcoin / Mining / Re: FPGA mining for fun and profit on: May 17, 2011, 05:16:12 PM
For people who don't know a ton about FPGA stuff, you can run a hash engine natively in hardware using a hew hundred gates at most for MD5, and run one hash per clock cycle, with a clock speed of 5-550 Mhz.  

Your figures are wildly off.  A ununrolled miner takes about 90K LU, and a internally pipelined one that can reach high clockrates is probably more like 180K LU.  Millions of gates.   This pushes you into the most expensive FPGAs currently available just to get good performance...

FPGAs are great for H/j  but not H/$ at the moment. The upcoming generation of FPGAs may improve this somewhat.  The number's you're describing aren't really realistic except via fully custom asic with NREs in the million dollar range.



5730  Bitcoin / Development & Technical Discussion / Bitcoin vending — Making it easie to convert cash to coins on: May 16, 2011, 07:36:25 AM

Has anyone considered assembling a hardened vending machine (perhaps a retrofitted change machine) into a device that converts USD to bitcoin?

You'd put them in publicly accessible places. Person walks up and scans a QR code of a wallet ID off a phone or from a printout (speech recognition is out due to mixed case, most likely),  then stuff money into it.  It prints a receipt (including a QR code of the TX itself, to guard against network problems) and sends money to you on the network.

Bill validators don't appear to be very expensive.  While I don't think this would be a profitable business on its own any time soon (and would only be interesting in a few major cities right now) it might be something worth operating for the sake of increasing the viability of bitcoin.

Going the other direction (BTC->$) has some extra complications— requiring a retrofit of an more costly atm and having instant gratification problems since waiting around the machine for a block confirmation would suck (and not waiting would almost certainly be exploited).

BTC->$ doesn't solve the more urgent issue of "I want to use this BTC thing but can't get any money in it before I lose interest, because mining now has high upfront costs", but $-> BTC sure does.

5731  Bitcoin / Development & Technical Discussion / Re: Bitcoin Backup Screenshots on: May 16, 2011, 05:03:55 AM
So a few months ago, there was a guy talking about writing a program to securely encrypt and backup your wallet to the cloud. I don't think I've seen any movement on the project so I've taken it up myself. BitCoin Backup will allow you to securely backup and restore your wallet to and from the cloud. Your wallet file will be encrypted using AES256 encryption before it's transmitted (no Dropbox funniness here!) and will be stored on a Truecrypt secured Linux file system.

Hard to give any kind of security review without seeing the source—  but a few comments:

Users choose terrible passwords almost universally. It's silly to blame them because they're not changing.   As a result, if you're encrypting something using a password without strengthening you are going to basically be insecure. Please use password strengthening.  I recommend scrypt (http://www.tarsnap.com/scrypt/scrypt-1.1.6.tgz) which is described in this paper: http://www.tarsnap.com/scrypt/scrypt.pdf

The size of someone's wallet leaks information because it grows as you get/send TX but not otherwise.  Someone with access to the "cloud" storage file sizes could potentially backtrack an ID to a user by correlating the change in backup size with activity on the ID.  This is really hard to prevent completely, but it's quiet easy to drastically reduce the amount of information available: Before encrypting pad the size up to some increment.  This will hide some the least significant bits of the size, which have the most entropy. A rounding increment of 4kb wouldn't even use any more space on many filesystems, though a larger one will provide more confidentiality.
5732  Bitcoin / Development & Technical Discussion / Re: The Most Important Bitcoin Client Feature IMHO... on: May 16, 2011, 03:02:15 AM
I strongly disagree. (on topic to another thread: does that make me an extremist?)
Automatic updating is merely yet another attack vector. I highly doubt it could be made secure. Is there any other money handling software that automatically updates?

Other projects with similar security requirements have been struggling with this too.

http://google-opensource.blogspot.com/2009/03/thandy-secure-update-for-tor.html

It's more subtle than you might initially expect. I advise against reinventing the wheel here.
5733  Bitcoin / Pools / Re: Please test: New Experimental Pool "Eligius" on: May 15, 2011, 05:09:12 PM
The graph shows some "Unknown" values (ie that appear to be zero), but that's just that the API thing was unavailible at that moment. Also, the variations seem a bit weird, I'd expect something more continuous, but it appears to do some big jumps only when a block is found.

It's not continuous because once a block is going your share of it doesn't change much, assuming everyone keeps a mostly constant rate.

It jumps right after getting a new block because the initial stats are noisy and dominated by the miners luck in finding shares at that moment, also because the rate changes that happened late in the last round are no longer diluted by lots of pre-existing shares.

It would also be neat to follow the blockchain and add up all the eligius payouts for the address on the same graph.


5734  Bitcoin / Development & Technical Discussion / Re: Bitcoin wallets and error correcting code on: May 15, 2011, 12:24:07 AM
I've been mulling over the various wallet storage solutions, and most of them, I'm just not satisfied with.  One flipped bit can invalidate your entire wallet unless you keep it backed up in multiple locations.  Not that keeping it backed up in multiple locations isn't something that should be done anyway...but anything that limits the requirement to back up from a remote server is great.

I was wondering if anyone had any experience applying bytewise ECC to bitcoin.  The algorithm for tolerating 1 bit of error per byte is fairly straightforward, and would dramatically increase the robustness of a bitcoin wallet.  I've read a bit about it, but it's been a couple of years since I did any related coding, and even that was just simple classroom stuff.  I can't seem to find any programs which implement ECC archiving.  Has anyone else had thoughts along these lines, or any knowledge in the area?


Had basically the same thought—  but you're missing the fact that all the storage we use is not a bit error channel, but is instead a block-erasure channel:  The disk already has a strong ECC per block and if it fails the whole block is unreadable.   Failing sectors on disk are not uncommon.   The busses we carry data over can get bitflips but it's really rare.

There are many tools for FECed archiving against erasure channels: E.g. the vdmfec software here: http://members.tripod.com/professor_tom/archives/index.html


But really, the wallets are so tiny that I don't see any reason for not simply keeping many copies. It would have a lot less software complexity: e.g. it would only take a few lines of code to make the client keep 1 "before last write" and 52 "weekly" old copies of your wallet.. and only about 5MB space assuming that your wallet is 100KB.

Someone showed up in the #bitcoin channel freaked out a few days ago because their wallet.dat just disappeared with a lot of coin in it.  We convinced him to shutoff and use a rescue disk with file recovery tools. He got it back— the file was fine, just deleted.  Looked to me like his disk was on the way out and after hitting an error writing an update the wallet got unlinked.  (perhaps there isn't enough error handling in the client software).  Obviously backups are critical but the software should do all it can even in the face of careless users, and adding backup copies would do a lot to guard against stupid..
5735  Bitcoin / Bitcoin Discussion / Re: 135 BTC Stolen from my Deepbit account!!!!!!!! on: May 14, 2011, 09:59:05 PM
I think you are right about this being my weakest link.

The deepbit screen hides the actual login password, but displays all the passwords for each worker in the client.
Until today,  we used the same password for both.
Multiple people (about ten) in the warehouse could of looked at the screen and noticed the username and password.
I think my only chance is by finding the IP address of the person who logged into my deepbit account.

Every worker is frequently sending their password in clear over the internet, anyone with access to sniff the network between you and the other end at any point can easily get it. Also, deepbit doesn't use https for the management screens either, so a similar (if somewhat reduced) risk exist there.

This is why services which have no accounts are good.


5736  Bitcoin / Bitcoin Discussion / Re: Generosity of Bitcoin Users on: May 14, 2011, 09:52:34 PM
In addition to the list from the Bitcoin wiki is the list of charities in which donations through Witcoin can be made.
 - http://witcoin.com/charities

Any charity can register to be included.  Those who post, vote or reply on witcoin can configure their Witcoin user account such that a certain percent of the proceeds they earn after post, reply or voting can be donated to one or more charities of their choosing.

I can also attest first hand to the fact that witcoin makes an effort to determine that the listed entities are actually affiliated with the listed addresses.

 
5737  Economy / Trading Discussion / Re: Switch to thousandth BTC pricing? on: May 13, 2011, 11:18:02 PM
So i understand the server/daemon version allows the usage of all decimal places ?

I use the CLI interface with the current software and I had no idea the GUI didn't display/accept full precision!

It works fine on the backend.


One problem with the current decimal point location is that after more deflation a typo wipes out your lifesavings.

Perhaps the client needs a maximum TX size setting? (that triggers a nasty warning if you exceed it?)

5738  Bitcoin / Mining / Re: HD5850 @ 340Mhash/s on: May 13, 2011, 06:53:46 PM
Amateurs. Smiley

My Sapphire 5850s are doing 341 MH/s with an 852 core clock.

Recipe:
 Headless linux
 SDK 2.4
 Use AMDOverdriveCtrl to allow low memory clocks
 DISPLAY=:0.0 aticonfig --adapter=$1 --od-setclocks=852,284
 phoenix.py -q 2 -k phatk DEVICE=$1 AGGRESSION=13 WORKSIZE=256 VECTORS BFI_INT
Sensor 0: Temperature - 60.00 C (though I have the fan set high)

I wrote a script to sweep memory speeds and kernel configurations to find the highest rate settings.  I found that memory being exactly 1/3rd core was a big speedup for me. YMMV, if that works for you I'd like to know— I don't know if thats some chance property of my hardware or something more fundamental.

I understand that the phatk kernel is not a win unless you're on SDK 2.4

My cards aren't stable at 900. I'm skeptical of ~875, thus the 852.  Next time I take an outage I'll try flashing the bios to nudge the voltage a little.
5739  Bitcoin / Pools / Re: Please test: New Experimental Pool "Eligius" on: May 13, 2011, 01:53:17 AM
The conclusion that I've come to is that FOR ME Eligius has poor connectivity. I don't know whether this will change in the future but for now I'm sticking with slush, unless somehow Eligius improves. I like the fact that Eligius gives out minted coins but it's just too unstable for me to use at the moment.

This is probably the case— I have consistent 20ms ping times to Eligius.

Luke is in the process of setting up geographically distributed access points to the pool for the very reason you've cited. He's been soliciting for testers in Europe on IRC this evening.

Quote
I was wondering if maybe I put a higher priority on packets addressed to port 8837 whether I'll remove the RPC errors...anyone tried this?

Only likely to help if your local network is congested and the source of the issues. Sounds like a good plan in any case.
5740  Bitcoin / Mining software (miners) / Re: Modified Kernel for Phoenix 1.4 on: May 12, 2011, 06:10:08 PM
Decided to give SDK 2.4 a try on my 5770, and I can confirm that this kernel is indeed ~11 mhash/sec faster than the default one, but it is not enough to make up for the 2.1 -> 2.4 loss Sad
Is 2.1 that much better? I really don't want to use old drivers just to get SDK 2.1, Can you use SKD 2.1 on 11.5? Last time I tried that it was exactly the same speed.

People posting numbers from 2.1 appear to be lower than mine on 2.4.
Pages: « 1 ... 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 [287] 288 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!