Bitcoin Forum
May 03, 2024, 11:36:36 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 163 164 165 166 167 [168] 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 ... 288 »
3341  Bitcoin / Development & Technical Discussion / Re: Why aren't transactions faster? on: November 29, 2013, 08:18:07 PM
Satoshi actually included a very useful mechanism in the protocol specifications and data structures which hasn't been implemented in BitcoinQT but could basically solve the double-spend problem (at least regarding tx replacement) if it was:
Using the sequence and lock_time fields prevents a tx from being replaced by another tx after the specified time (or block number, or ever if sequence = UINT_MAX)
If/when the core devs ever implement this it would be a major step toward 'last mile' adoption of bitcoin in retail and we could finally get beyond the discussions of the (mostly hypothetical) double-spend "problem".
Any "replace-by-fee" mechanism that ignores the sequence and lock_time fields would be likely be considered broken by Satoshi.
Satoshi made a few serious mistakes, expecting sequence mediated replacement to be usable may have been one of them. Perhaps he realized that and thats why— unlike so many other things— he didn't actually implement it.

There are two major issues with sequence mediated replacement:

First is that it opens a major DOS vulnerability: I start issuing bunches of the largest transactions the network will tolerate, with high fees, locked so they are not going to be mined for the immediate future... but I'll never pay those fees because I'll replace them all before they become due. But until then I'm running every node out of memory pool storage. Any way that closes the DOS attack provides a way for an attacker to help them violate the sequence ratchet.

The second is that it demands all miners behave in a way that reduces their income, perhaps substantially. If I learn of an earlier sequence spend with an child transaction that pays a high fee, why should I continue to attempt to mine the higher sequenced spend?

Miners behaving in their own short term interests against the interests of (some of) the users is not hypothetical, its a reality today.

So far I've not seen or come up with any way of solving the DOS problem, nor any way of solving the incentives problem that works for non-trivial-valued transactions (for trivial valued transactions we could perhaps use the threat of increased orphan risk, but that stops being a solution for high values or if attackers start bribing many miners with chains of fees).
3342  Bitcoin / Development & Technical Discussion / Re: bitcoind 0.8.4 memory leak causing crash quite often on: November 29, 2013, 08:01:16 PM
The virt counter is not useful— it's measuring address space used, and there is normally quite a bit more address space used than pages due to threads, mmap, and other things that use address space.  The useful memory metric is res (resident).  On x86_64 with about 100 connections I'm used to seeing about 488 resident.


3343  Bitcoin / Pools / Re: Why hasn't a pool owner done this? on: November 29, 2013, 02:06:42 AM
Because doing this requires hard forks in these coins, so a pool owner must also convince the majority of users to accept the change.
s/majority/all remaining users/
3344  Bitcoin / Mining / Re: Pooling versus solo mining on: November 28, 2013, 04:20:27 PM
The expected return— that is the average over all possible futures— is the same for either (ignoring any outages, pool fees, pool stales, any differential risk of theft/hacks at pools/locally).  The variance of returns is what differs. If you're not depending on every cent of mining income for anything in particular you might prefer a higher variance option over fees and pool related risks.  If you're the sort of person who likes to gamble then solo mining should be unusually attractive because the odds are in your favor (assuming you're mining at a profit even in the pooled case).

There are things in between just pooled and solo. E.g. with p2pool you can turn your share difficulty up fairly high.
3345  Bitcoin / Hardware / Re: [Setup Guide] Bitmain AntMiner S1 180GH/S miner on: November 28, 2013, 10:45:49 AM
FWIW, I've had really bad cpu load on my miner— pegged at 100% and suffering slow responses, it apparently can't keep up with large blocks and large coinbase transactions. This isn't surprising: old cgminer had slow work generation code. Current cgminer and bfgminer have much faster work generation. It should be an easy fix: just port the driver over to current miner code. I'd like to work on this, but I'd need the source— preferably for the stuff thats actually running on the system.

I emailed bitmain earlier today, but perhaps someone here knows where I can find the sources for the devices that shipped.
3346  Bitcoin / Development & Technical Discussion / Re: bitcoind 0.8.4 memory leak causing crash quite often on: November 28, 2013, 08:20:48 AM
Is this a 32 bit or a 64 bit binary?
3347  Bitcoin / Development & Technical Discussion / Re: How does a site like Blockchain.info know which outputs are change? on: November 28, 2013, 06:29:59 AM
Like a lot of other things on BC.i that are just guesses, its right often enough to confuse people.
3348  Bitcoin / Development & Technical Discussion / Re: Why not Implement Improvements from some Altcoins into Bitcoin? on: November 28, 2013, 06:28:39 AM
Most altcoins change almost nothing at all. What they do change is sometimes outright bad, ... but mostly just a twiddling of different tradeoffs and not actual improvements.

E.g. some change to continuous difficulty adjustment, but that greatly decreases the cost for an attacker to mine out a low difficulty fork to trick an isolated node.

Sometimes the changes are bad enough that they make the coins so insecure that they actually are successfully attacked.
3349  Bitcoin / Development & Technical Discussion / Re: Imagine a bitcoin network of 1 computer. (The fake blockchain attack) on: November 28, 2013, 02:05:46 AM
the leading charachter is currently always a "1"
Or a "3", because we've already used this forward compatibility once, for P2SH, to make payments to escrows and other complex scripts as easy as regular ones.
3350  Bitcoin / Hardware / Re: HashFast announces specs for new ASIC: 400GH/s on: November 28, 2013, 12:55:51 AM
Y'all realize that constantly bumping the thread is free advertising for hashfast, right? Smiley
3351  Bitcoin / Development & Technical Discussion / Re: Imagine a bitcoin network of 1 computer. (The fake blockchain attack) on: November 27, 2013, 11:50:04 PM
Could you elaborate on how it is more complicated?  I am interested in the precise way to calculate the proof of work of the chain.
Then go read the code.
3352  Bitcoin / Development & Technical Discussion / Re: Imagine a bitcoin network of 1 computer. (The fake blockchain attack) on: November 27, 2013, 11:35:27 PM
Is this literally the arithmetic sum of all of the work of each block in the chain? (as opposed to some other function)
(also, is it equivalent to sum up the difficulty associated with each block)
Yes it's literally the arithmetic sum of all of the work of each block, and it's equivalent to the sum of the block difficulties upto rounding (difficulty is a floating point number presented for human friendliness).

EDIT:  BTW, the current bitcoin network is running at an estimated total computational power of just over 62,000 petaflops.  It's risen by about a thousand petaflops per day over the past week or so.  The fastest supercomputer on Earth (not classified) was benchmarked at 33 petaflops this past summer.  That computer system took three years to construct and sits on roughly 40 acres of land.  Bitcoin is way past the point that it's at risk from a falsified blockchain attack of any sort.
uh.  Bitcoin does no "flops" at all. Flop numbers are now bad projections from matching up what a GPU could do when it wasn't mining Bitcoin and they're now irrelevant.

The right metric is the cost of what it would cost you to actually perform the attack.  You can go order 2TH/s miners for $6000. The current network speed is ~5000 TH/s.  Building a farm to outpace the network at that price would cost $15 million. Of course, those are preorders and the network will be faster once they ship, but even if you compute vs hardware available to ship today you end up with numbers under $100m.   I don't think there is really any serious threat— there are cheaper ways to attack bitcoin— but saying "way past the point that it's at risk from a falsified blockchain attack" is a bit of an exaggeration our high hashrate now is the product of extreme improvements in the cost of mining— which benefit attackers too— more that massive increases in mining investment.
3353  Bitcoin / Development & Technical Discussion / Re: Imagine a bitcoin network of 1 computer. (The fake blockchain attack) on: November 27, 2013, 10:17:47 PM
Imagine a bitcoin network of 1 computer for the past years of bitcoin's existence.
Theoretically and practically this 1 computer could calculate a blockchain that was just as long if not even 1 block longer than bitcoin's current blockchain.
You're confused by the definition of "longer". The chain selection is based on the sum of work, not the number of blocks. (The whitepaper was mostly written from the perspective of constant difficulty, under which the two are the same).
3354  Bitcoin / Hardware / Re: Announcement: Bitmain launches AntMiner solution, 0.68 J/GH on chip on: November 27, 2013, 08:51:32 PM
They are real guys, just in case you were still doubting:
I can confirm— it mines.   Three days from providing my phone number for shipping to it arriving to me in California.  Will post writeup and pictures soon.
3355  Bitcoin / Development & Technical Discussion / Re: Could private keys in memory be inadvertently sent to swap? (disk) on: November 27, 2013, 12:41:10 PM
is it possibly Linux might swap the memory (and keys) to swap? (and therefore to disk)
We mlock the memory used for private keys, however there could be a mistake someplace or another, so encrypted swap is still advisable— and very easy to do under linux.
3356  Bitcoin / Bitcoin Discussion / Re: concerns on the bitcoin system: isn't it TOO perfect? on: November 27, 2013, 07:52:54 AM
has control of his pre-mined
There are no "pre-mined" coins in Bitcoin. The design makes this abundantly clear— and anyone can audit the software and look at the public history to confirm this for themselves. Please don't spread misinformation.
3357  Bitcoin / Development & Technical Discussion / Re: Send to many addresses FROM a certain address on: November 27, 2013, 03:53:40 AM
I have been building a service where I want incoming payments to always go to a certain well-advertised and known and unchanging address X.
This is _strongly_ discouraged. If you do this you will not be able to tell which of multiple parties concurrently paying you is paying you, you will degrade privacy for your own service and other users of Bitcoin as well. You may be subject to blocking by hostile parties, it's just generally a bad plan.

The account functionality is purely local bookkeeping— like categories in a checkbook. It doesn't influence the transactions the system creates. It was created for a particular niche usecase (shared webwallets) and it's not even particularly useful for that case.  It's generally discouraged to use accounts for anything important.
3358  Bitcoin / Hardware / Re: Announcement: Bitmain launches AntMiner solution, 0.68 J/GH on chip on: November 26, 2013, 01:45:30 PM
I was contacted by Bitmain and should be getting hardware soon all going to plan. I'll keep you posted.
I've received a tracking number Smiley
Ditto. Smiley
3359  Bitcoin / Hardware / Re: HashFast launches sales of the Baby Jet on: November 26, 2013, 12:20:51 PM
Spiffy pictures.

Re: The smoke machine video, perhaps the babyjets will be free of the avalon problem where at high fanspeed the controller overheats due to a deadspot in the airflow. Tongue
3360  Bitcoin / Development & Technical Discussion / Re: Why aren't transactions faster? on: November 26, 2013, 09:46:13 AM
I don't quite understand how a double spend works. If you pay for something both your wallet and their wallet will have funds immediately updated...
A bad-guy is not required to play by your rules, he can issue spends although he knows better simply because its physically possible to do so.
Pages: « 1 ... 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 163 164 165 166 167 [168] 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 ... 288 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!