Bitcoin Forum
May 25, 2024, 10:59:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 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 ... 800 »
2941  Bitcoin / Development & Technical Discussion / Re: Blocks are [not] full. What's the plan? on: November 29, 2013, 04:48:32 PM
So a couple points of clarification.  The idea of including tx hashes in the block MESSAGE wouldn't change the size of the actual block.  It would simply be a new message type.  Remember bootstraping nodes also require older blocks and they won't have the txs either so the existing block message would be useful in cases like that.

Simplified version:
on newest block when latency is important = use header + tx hash message.
on older blocks when latency isn't an issue = use header + full tx message.

As for the block limit well that is another more complex issue.  Honestly I don't see it very important right now.  The number of full blocks since the genesis block is exactly 0.0%.  Even today with a backlog of txs the average block size is ~200KB and the largest block is ~600KB.  Raising the limit doesn't change the "orphan economics". 
2942  Bitcoin / Mining / Re: Noob question - mining and generationg partial bitcoins on: November 29, 2013, 04:34:22 PM
There isn't magical about a super computer.  It can't hash faster than its hashrate.  All that matters is the hashrate and today many ASIC farms are magnitudes faster than supercomputer at performing SHA-256 hashes.

There is no known shortcut to finding hashes.  If there was that would mean SHA-256 is broken and most forms of cryptography not just Bitcoin rely on it.  Everything from protecting nuclear launch codes, to making sure ATM are "talking" to the real bank and not an attackers computer.
2943  Bitcoin / Development & Technical Discussion / Re: What are checkpoints in bitcoin code? on: November 29, 2013, 06:05:52 AM
It's more like placing each criminal in it's own cell. Currently if one wall is blown up many thousands of criminals can escape.

By placing more walls around the criminals less criminals can escape if one wall were to be broken.

More like moving each cell to their own universe so if they escape they have nowhere to go.  I think you vastly misunderstand the odds we are talking about.
2944  Bitcoin / Development & Technical Discussion / Re: Blocks are [not] full. What's the plan? on: November 29, 2013, 05:32:41 AM
Well larger blocks are never going to be faster or as fast as smaller blocks.  The goal is to reduce the latency time per kB.  The faster a block can be broadcast the lower the "orphan cost" per tx.   Still larger blocks will always have a higher orphan rate but they also have higher gross revenue.

The good news is the current method is about the slowest, most bloated method possible for broadcasting a block.  Any change is an improvement.

One proposal is to only include tx hashes in the block message.  Currently a block message consists of a block header and a list of all tx in the block.  Most nodes know of most or all of these tx, hell they already have verified them and included them in the memory pool.  This simply makes the block larger than it needs to be.  Instead the block message can consist of the block header and a list of tx hashes.   The average tx is ~ 400 bytes and a SHA-256 hash is 32 bytes so we are talking a 90%+ reduction in block message size and thus propagation time and thus orphan costs.

For example lets look at this recent block:
https://blockchain.info/block-index/443364/0000000000000003b90c99433d07078d5498910442489383f18e250db0a843e2

301 tx and 480 KB.  If the block message was changed to be just tx hashes the block message would drop from 480 KB to ~10 KB or a 98% reduction in size.

Another client side change would be removing the double verification of txs.  This may have already been completed I haven't looked at that code since before v 0.7.

Improving the efficiency of mining benefits all users not just miners as orphaned blocks are simply wasted energy.  They lower the effective security of the network.  Further size reduction is possible but requires some more significant changes to the protocol.
2945  Bitcoin / Bitcoin Technical Support / Re: 41 hours to get into blockchain! on: November 29, 2013, 04:19:32 AM
Is there a general rule for how much I should make my transaction fees to ensure speedy insertion in blockchain and thus speedy confirmation?

the min fee for low priority tx is a good place to start.  That is 0.1 mBTC per kB.
2946  Bitcoin / Development & Technical Discussion / Re: Blocks are [not] full. What's the plan? on: November 29, 2013, 04:13:43 AM
No miners aren't going to switch to a new block until they receive and verify the existing block so pre-announcement or not the faster block will be received and verified and miners will switch to that.  Doing anything else would be subsidizing the owner of the slower block at the expense of their own revenue.

There are real solutions which can reduce the broadcast time by 90%+ or more.
2947  Other / Beginners & Help / Re: Awesome ROI this month on: November 29, 2013, 04:03:06 AM
I am lost ? Is he talking about mining it ?

Yes and Yes.
2948  Bitcoin / Bitcoin Discussion / Re: What guarantees that no two address are ever the same ? on: November 29, 2013, 04:01:07 AM
note: DSV refers to the program grue mentioned above. For whatever reason, DSV is castrated by the developer (it only searches for addresses beginning with 1DSV). This assumes there is a non-castrated, optimized DSV which may include botnets or NSA super computers (really, super-duper theoretical computers from the land of Oz).
Assuming 500K addresses which either have funds or will have funds within next three months,
0.0000000000000000000000000000000000000000034211388289180104270598866779539% chance per check (or address creation).

Assuming average computer can do 250 optimized DSV-like checks per second,
0.00000000000000000000000000000000000000085528470722950260676497166948848% chance per second.

Assuming a "theft pool" is formed, and 500 of these computers averaging the above click/s,
0.00000000000000000000000000000000000042764235361475130338248583474424% chance per second.

Assuming each theft pool is one botnet, and 20 botnets, exactly the same, exist in these theft pools,
0.0000000000000000000000000000000000085528470722950260676497166948848% chance per second.

Per minute,
0.00000000000000000000000000000000051317082433770156405898300169309%

Per hour,
0.000000000000000000000000000000030790249460262093843538980101585%

Per day,
0.00000000000000000000000000000073896598704629025224493552243804%

Per month (30D),
0.000000000000000000000000000022168979611388707567348065673141%

Per year,
0.00000000000000000000000000026972258527189594206940146568988%


Assume worst-case scenario, DSV-like software can check 5000 addresses (10M of which are funded or will be funded within 6 months) per second, and 100 botnets of 50,000 computers each...
Per day,
0.000000000000000000000000014779319740925805044898710448761%

Per month,
0.00000000000000000000000044337959222777415134696131346283%

Per year,
0.0000000000000000000000053944517054379188413880293137978%

Per century,
0.00000000000000000000053944517054379188413880293137978%


ETA: Worse-than-worst case scenario. NSA can check 1T addresses per second, 1T addresses are funded.
Per century,
0.0000000000000021577806821751675365552117255191%

Per billion centuries,
0.0000021577806821751675365552117255191%

2949  Bitcoin / Bitcoin Discussion / Re: What guarantees that no two address are ever the same ? on: November 29, 2013, 03:54:25 AM
I'm sure you have at least one online account with money, yes? what is its defence that someone be it a bot or a person can type your exact user id and your exact password and if you have it your exact two-factor dongle code, and then transfer your funds somewhere? This too is a possibility.

And many many many magnitudes more likely then generate a key which matches a funded addresses.
2950  Bitcoin / Mining / Re: Noob question - mining and generationg partial bitcoins on: November 29, 2013, 03:37:36 AM
What if you're trying to solve a block and someone else solves at first, was all your time wasted?

Effectively, yes.  Mining is a race, winner (of the block) takes all.



Fascinating discussion. I was not aware of this.

Now, I feel like I'm at the racetrack.  Shocked

It is incorrect (and a common misconception).  Nothing is wasted when someone else solves a block because there is no "progress" towards a block.  Each hash is like a lottery ticket.  It either wins or it loses.  Nothing more.  Having a thousand losing tickets means they are still losers regardless of if someone else wins or not.

If you mine a quadrillion hashes that fail to meet the difficulty target, you are no "closer" to solving a block then when you first started.  Each hash is an independent roll of the dice.  It either solves the block or it doesn't.  
2951  Bitcoin / Development & Technical Discussion / Re: Why aren't transactions faster? on: November 29, 2013, 03:32:01 AM
Once replace-with-fee is deployed, I could rip off that coffee shop with near 100% reliability, every time until they stop serving me coffee. Don't accept zero-conf transactions.

The proposed replace with fee requires the same outputs.  Of course you could also rip off a coffee shop with counterfeit bills or a stolen credit card.  Would be kinda stupid to go to jail for stolen coffee though.
2952  Bitcoin / Development & Technical Discussion / Re: Blocks are [not] full. What's the plan? on: November 29, 2013, 03:21:00 AM
Nope.  The miners would still get to work on the first one they received.  Then, if they get the announced block within 15 seconds, they'll switch to the first block they heard about.  But if they don't get the announced block (and if it's a fakeout message they won't) then they don't change what they're doing at all.  Even if that includes *FINDING* a new block before the announced block arrives, in which case the announced block *will* become an orphan.



Then you haven't sold anything.

The "critical window" for computing orphan losses is the time between when a miners finds a block AND the entire network is building the next block on top of that.  That includes the time to relay and verify the node, and all miners to switch to the next block.

During the "critical window" if another miner finds and broadcasts a competing block the network will be split.

Announcing an announcement of a block would solve absolutely nothing.  There are solution to significantly reduce the block broadcast latency but that isn't it.
2953  Other / Beginners & Help / Re: Awesome ROI this month on: November 29, 2013, 03:16:25 AM
Measuring a return in dollars is silly.  You could have simply bought Bitcoins instead and made even more profit with lower risk.

2954  Economy / Currency exchange / Re: [CLOSED] Purchase Bitcoins with cash at convenience store. Need a few testers on: November 29, 2013, 03:14:56 AM
This account will be used to handle customer service for BitSimple.

Confirmed.  This is authentic.
2955  Economy / Currency exchange / Re: Purchase Bitcoins with cash at convenience store. Need a few testers on: November 28, 2013, 05:55:45 PM
Thanks for all the help beta testers.  Testing is closed (those with open invoices are still valid).  We probably will do another test run on Monday.  System should be live in December.  To the trolls in the thread, the service is being operated by North American Cryptographics, LLC and is registered with FinCEN.
2956  Bitcoin / Bitcoin Discussion / Re: Cracking the Code on: November 28, 2013, 05:01:56 PM
No it is correct.  See I actually know how Bitcoin works.

Invalid blocks are never part of the longest chain.  Never.  Not once, not ever.   All nodes independently verify data received by other nodes.  That is the basic cornerstone of Bitcoin's security model.  If you can't get that right then why should anyone listen to any on the nonsense you are spouting.

As for your rebutal that is also nonsense.  Invalid blocks aren't included in the difficulty adjustment calculation.  They are simply dropped.  What part of dropped don't you understand?  The remaining valid miners would find blocks at ~10 minute interval.

So if in the time 2016 blocks should be found miners produce 2016 valid blocks and the attacker produces 489748971983472982372189 invalid blocks the 489748971983472982372189 invalid blocks are simply dropped.  They just cease to exist as far as every node on the network is concerned.  2016 valid blocks were found in the difficulty adjustment period so difficulty remains "low".  Now the bad actor WAS mining valid blocks are started mining invalid blocks it would be no different than simply stop mining.  Blocks would be found slower, difficulty would go down, blocks would be found faster again.
2957  Bitcoin / Bitcoin Discussion / Re: The New Crypto Trading Market: Making Millionaires on: November 28, 2013, 04:59:08 PM
Is anybody losing in this scenario? Undecided

Obviously not.  Everyone wins and it just keep going up billions of % in the OP scenario.
2958  Bitcoin / Bitcoin Discussion / Re: Cracking the Code on: November 28, 2013, 04:49:28 PM
<snipped>

STILL WRONG.

ALLL NODES AS IN ALL 100,000+ ON THE NETWORK REGARDLESS OF IF THEY ARE MINING OR NOT VALIDATE ALL TX AND ALL BLOCKS.  That is the security model of Bitcoin.  No node trusts the output of any other node.  So miner makes a block giving him a single extra Satoshi and relays it to his peers.  Guess what?  Those peers validate the block and the block is invalid.  It is simply dropped.  It never becomes part of any chain.

A BLOCK WITH MORE COINS THAN ALLOWED BY THE PROTOCOL IS INVALID. PERIOD.  1+1 = 3 is still invalid even if it is the longest chain.  Nodes (once again ALL NODE not just miners) use the longest (most work) VALID chain.  A chain which contains blocks which mint extra coins is ALWAYS invalid and thus will NEVER be picked by any node.
2959  Bitcoin / Bitcoin Discussion / Re: Cracking the Code on: November 28, 2013, 06:26:57 AM
Yes very worried because it means they can control the network and even modify the protocol to make it a fiat, create a zillion coins, etc.. Some argue that they can't do that because the Bitcoiners will fork to a new chain. But these Bitards forget that the masses don't care about Bitcoiner idealism. They just want to buy their pizza. See my Transactions Withholding Attack thread for more explanation on that. Once the masses are already using one fork, they won't switch. The controller could run the fork well enough that the masses are happy, even while creating more coins, etc. Exactly like fiat. We go right back where we started.

That is nonsense.  It isn't that other nodes would fork it is that 100% of the nodes would simply reject a chain which violates the rules like create a zillion coins.  It doesn't matter if a single miner does it or someone with 99.999999999999999999999999999999999% of the hashpower.   An invalid block is invalid regardless of how much hahpower created it.  

Miners simply force a consensus when the network is split on the status of transactions.   All node (as in every single full node on the network regardless of if they are mining or not) independently verifies all transactions and blocks.  An invalid block is simply invalid.

Your claim is simply false and shows a lack of basic understanding of the system you are trying to "fix".

https://en.bitcoin.it/wiki/Weaknesses#Attacking_all_users
2960  Bitcoin / Mining / Re: Noob question - mining and generationg partial bitcoins on: November 28, 2013, 06:13:45 AM
All miners are working on unique work this applies both in a pool and across the planet.  The only exception would be an error in pool setup/design.
Pages: « 1 ... 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 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 ... 800 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!