2501
|
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. 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.
|
|
|
2502
|
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.
|
|
|
2503
|
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.
|
|
|
2504
|
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.
|
|
|
2505
|
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.
|
|
|
2508
|
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.
|
|
|
2509
|
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)
|
|
|
2512
|
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. I'm going to lock this thread since it seems like the question was asked and answered and isn't making any more progress.
|
|
|
2513
|
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.
|
|
|
2515
|
Other / Off-topic / Re: in which anonymint can't understand winternitz
|
on: July 07, 2014, 12:35:31 AM
|
I wrote that Winternitz trades some more computation for decreased space (as compared to the hash ladders scheme we were discussing).
Yes, you wrote that and I understood what you wrote— but that precisely what I was saying no to, it's actually less computation _and_ less space. [As far as the ranting about thread moves, we were having an extensive sidebar about hash based signature in a months old thread that was very clearly about _ECC_, thats all. Nothing personal.]
|
|
|
2516
|
Other / Off-topic / in which anonymint can't understand winternitz
|
on: July 06, 2014, 07:38:18 PM
|
So this is just trading more computation for space. The hash ladder can do this by increasing w.
No, it requires less computation (than the bidirectional enumeration) and much less space for normal choices of parameters. There are a couple additional codewords (usually two for normal parameters) but all the codewords are half the size of that ladder proposal.
|
|
|
2518
|
Bitcoin / Development & Technical Discussion / Re: Why no minimum # of TX in a block?
|
on: July 06, 2014, 03:29:09 AM
|
What's preventing miners from adding a bunch of filler transactions to satisfy the quota?
Nothing, which is why it would be pointless. for example check this out, it happened to be mined 1 minute after the previous block
It was probably mined seconds after the prior blocks. The timestamps are only approximate.
|
|
|
2520
|
Other / Off-topic / in which anonymint can't understand winternitz
|
on: July 04, 2014, 02:33:39 PM
|
@gmaxwell, in any case I think you'd have to admit that one-time use Lamport signatures employing a cryptographic hash
I like lamport a lot— and first proposed we someday add some form of it to Bitcoin back in 2011... though straight up lamport's single use-ness is a major liability (e.g. say you need to resign an input to add fees later, maybe a couple times… oops, compromised your key). The space overhead is really considerable— even when using Winternitz compression, to the point that it couldn't be a replacement for bread and butter transactions, but I think it would be nice to support.
|
|
|
|