Bitcoin Forum
May 28, 2024, 08:06:39 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 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 163 164 165 166 167 168 169 170 171 172 173 174 175 176 ... 288 »
2501  Bitcoin / Development & Technical Discussion / Re: A bitcoin client with no PRNG. Possible? on: July 09, 2014, 04:33:44 PM
There is a reason— just that it can hide the faults when your other things failed.  Sort of if you assume everything is right, then no— it's no harm. But of course, if you could really get away with assuming that everything is right you would have not worried with additional entropy sources to begin with.  Another reason is that it makes audit and review harder, e.g. if you can test it and confirm that it always gives the same keys for the same deck then thats a useful property to facilitate testing.

Not a reason to not do it, but it's just something to keep in mind.
2502  Bitcoin / Bitcoin Discussion / Re: Bitcoin Is Having Its Moment But There Are Better Sustainable Currencies on: July 09, 2014, 04:20:11 PM
Proof of State coin is not a decentralized currency.
This sentence is wrong in so many ways.
It's insufficiently specific, but existing examples which require developer controlled block signing or closed source software don't really pass a sanity check as decentralized tools— though they're often marketed as such.

You may find this enlightening: https://download.wpsoftware.net/bitcoin/pos.pdf
2503  Bitcoin / Development & Technical Discussion / Re: A bitcoin client with no PRNG. Possible? on: July 09, 2014, 03:41:30 PM
I've generally found it to be pretty easy to shuffle poorly... I'd rather throw hex dice 128 times and compress 2:1 with sha256. Even a little excess entropy plus a cryptographically hard compression function should overcome all small biases, and the order dependence in a shuffle much harder to notice or test for. The excess input also gives you enough data to perform some tests that thwart user misuse (you rolled 0 100 times in a row? really?) without compromising security.
2504  Bitcoin / Development & Technical Discussion / Re: Why did this transaction confirm? on: July 08, 2014, 07:12:56 PM
Quote
They are technically spendable but they cost more in marginal fees than they are worth...
No. It is possible to collect dust-outputs with free-transactions.
Look here https://blockchain.info/address/155M7TvBRww6WFdtGQgTYUH8DuLheNafCf
Yes, but they still cost more in marginal fees, instead those transactions used priority to get them through which could have instead been used to make valid transactions... and the loss of priority will me that person must pay more fees in the future.
2505  Bitcoin / Development & Technical Discussion / Re: Why did this transaction confirm? on: July 08, 2014, 07:07:14 PM
I see several of these outputs are already spent. How are they supposed to be unspendable?
They are technically spendable but they cost more in marginal fees than they are worth... It's altruistic to redeem them but not rational to do so otherwise.
2506  Bitcoin / Development & Technical Discussion / Re: Random generation for Bitcoin on: July 08, 2014, 07:05:52 PM
Ah! That explains it. Several timestamps or modifications may have to be tried if no solution was found in the 232 combinations.
Several indeed: On average the network tries 16,818,461,371 modifications (each allowing 2^32 hash attempts) per block solved these days.
2507  Bitcoin / Development & Technical Discussion / Re: Why did this transaction confirm? on: July 08, 2014, 06:55:36 PM
Some node ( may be not bcpool.io ) keeped it in its memory pool and relayed today
bcpool.io got it, checked and included into a block.
Normal nodes do not relay old transactions... but, indeed, could have just been them not updated after all this time.

The one I searched for got not hits, good sleuthing. Smiley
2508  Bitcoin / Development & Technical Discussion / Re: Random generation for Bitcoin on: July 08, 2014, 06:45:37 PM
Randomness is a tricky issue. Are the Bitcoin proof of work solutions truly randomly distributed in the search space? If not, then just incrementing the test may be a suboptimal solution and a random test more efficient.
If they are not in a meaningful sense and you determine how then you will have compromised SHA256— one of the best studied cryptographic pseudorandom functions.

Quote
I'm unclear about how many possible combinations there are to test in Bitcoin. Surely there must be more than 232?
Mining is not a search, it's effectively a lottery. Each attempt is independent of the others and trying one does not increase the probability of your next find being a solution because you do not enumerate a finite space. Once a miner has exhausted the nonce it changes the block content (usually by incrementing something in the coinbase field in the coinbase transaction) and continues.
2509  Bitcoin / Development & Technical Discussion / Re: Random generation for Bitcoin on: July 08, 2014, 06:24:55 PM
Ok, but couldn't the use of a random generator produce a correct nonce faster than the above approach?
No.  It might be helpful if you explain why you think it would, since that must be predicated on some misunderstanding which we can correct, but I can't guess what it would be.
2510  Bitcoin / Development & Technical Discussion / Re: Why did this transaction confirm? on: July 08, 2014, 05:47:52 PM
Blockchain.info indicates that the block with the offending TX (Block #309,740) was relayed by "Unknown 37.187.90.171" and is the only block relayed by that IP address in the last 24 hours.  May I ask how you were able to contact them?
BC.i's analysis is ... seldom good.  Just look in the coinbase of the block.
2511  Bitcoin / Development & Technical Discussion / Re: Random generation for Bitcoin on: July 08, 2014, 05:25:47 PM
I guess I still don't understand the details of this part - is that due to them using different txs?
Perhaps you could explain that a little clearer for someone like me that doesn't quite understand it.
Well one transaction in particular is always distinct: the coinbase.  Every miner will be paying their winnings to a different address.  In the case of pooling, pools usually put a worker-distinguisher in the coinbase field of coinbase transaction to keep the work of the hashers they are paying distinct.
2512  Bitcoin / Development & Technical Discussion / Re: Random generation for Bitcoin on: July 08, 2014, 05:20:30 PM
They all start at zero (or any other number) it doesn't matter as they're all working on work which is merkle root distinct.
Wouldn't they be *repeating the same work* if they started with the same nonce?
Absolutely not. They are working on block headers which have a different merkel root, always.  Existing mining protocols do not even have a facility to set the nonce position/range.
2513  Bitcoin / Development & Technical Discussion / Re: Random generation for Bitcoin on: July 08, 2014, 05:18:23 PM
My guess is that mining pools probably allocate a different starting *nonce* to each miner (but I haven't looked into it).
They all start at zero (or any other number) it doesn't matter as they're all working on work which is merkle root distinct.
2514  Bitcoin / Development & Technical Discussion / Re: Random generation for Bitcoin on: July 08, 2014, 04:56:58 PM
The quality and speed of random number generation is surely important for Bitcoin such as in mining. I found a list of random generators: http://www.cacert.at/cgi-bin/rngresults

"This is a project to make statistics about all random number generators on the market." -- http://www.cacert.at/random/
There is absolute no random number generation in mining. There is no performance sensitive random number generation anywhere in the bitcoin system.
2515  Bitcoin / Development & Technical Discussion / Re: Why did this transaction confirm? on: July 08, 2014, 01:50:21 PM
Yes, but I saw earlier transactions take a long time to be included in a block and blockchain lists this as received and included in a block at the same time. So I guess it had problems being brodcasted properly, but still got included in a block? Or was it mined the same minute it was created?
The times reported on bc.i are just whenever they saw it. Because this is a dust transaction that wouldn't have generally been relayed (and because bc.i themselves suppress these when unconfirmed) it wouldn't have been seen by bc.i until it ended up in a block.
2516  Bitcoin / Development & Technical Discussion / Re: Possible bug 0.9.2.1 bitcoind - rpc port 8332 available to everyone. on: July 08, 2014, 01:43:33 PM
There is an option to control binding separately from access:

  -rpcbind=<addr>        Bind to given address to listen for JSON-RPC connections. Use [host]:port notation for IPv6. This option can be specified multiple times (default: bind to all interfaces)


If you don't set an rpcallowip at all the default is that only 127.0.0.1 is allowed _and_ it only binds to 127.0.0.1. So if you just leave out your redundant allow statement you'll get what you want.   It would probably be prudent to detect rpcallowip=127.0.0.1 and also bind only to localhost in that case— it doesn't matter, but it would avoid false alarms like yours.

Edit: After looking into making the change, I think that detecting localhost is too complex to be worth it. (e.g. correctly detecting 127.0.0.0/8 vs 127.0.0.0/1)
2517  Bitcoin / Development & Technical Discussion / Re: RPC method listtransactions behavior in double spend attack scenario on: July 08, 2014, 01:23:36 PM
Unconfirmed non-self transactions have never been included in reported balances.
2518  Bitcoin / Development & Technical Discussion / Re: Why did this transaction confirm? on: July 08, 2014, 12:51:26 PM
I've already nagged the miner in question about the wad of dust floods they just mined.


If you've received some of this 1e-8 dust to a bitcoin-core wallet, https://github.com/petertodd/dust-b-gone is a good way to get rid of it.
2519  Bitcoin / Development & Technical Discussion / Re: Why no minimum # of TX in a block? on: July 07, 2014, 12:43:54 PM
11 posts in and we've gone full circle already!
He's probably just blindly posting without reading any of the messages in order to get his signature spam more widely distributed. Tongue

I'm going to lock this thread since it seems like the question was asked and answered and isn't making any more progress.
2520  Bitcoin / Hardware / Re: LIGHTNINGASIC LA100M,100MHS SCRYPT Miner, USD1999; LA1THS, USD1750.shipped out! on: July 07, 2014, 11:15:38 AM
jack u have lied so many times and u constantly delete on topic posts that cast u an unfavorable light.. only a dishonest person needs posts to be deleted..here is one for all to see. lets see if this one gets deleted too
This thread is not self-moderated, so only the forum moderators are deleting posts here. Though it ought to be self moderated, because the incessent trolling is really over the top.
Pages: « 1 ... 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 163 164 165 166 167 168 169 170 171 172 173 174 175 176 ... 288 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!