Bitcoin Forum
April 30, 2024, 04:52:53 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: 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.
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.
2506  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.
2507  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.
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)
2510  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.
2511  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.
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. 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.
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.
2514  Bitcoin / Development & Technical Discussion / Re: For fun: the lowest block hash yet on: July 07, 2014, 01:22:21 AM
Currently, the highest achieved difficulty has block 266381:

https://blockchain.info/block/000000000000000000028c32e6952731326747bae4be8db0f832d6eea0362050

Achieved difficulty: 110,484,089,548,580
See also: https://bitcointalk.org/index.php?topic=29675.msg3490536#msg3490536
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.
2517  Other / Off-topic / in which anonymint can't understand winternitz on: July 06, 2014, 01:52:40 PM
Er, as far as I can see there is no protection in Winternitz against signing a different message which has a chunk value greater than the one revealed in the signature.
You see incorrectly.
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.
2519  Other / Off-topic / in which anonymint can't understand winternitz on: July 04, 2014, 10:20:53 PM
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.
There is a generalization that trades computation for space that I helped elucidate:
http://en.wikipedia.org/wiki/Lamport_signature#Short_keys_and_signature
Uh, it's called  a Winternitz signature. Google it.
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.
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!