Bitcoin Forum
May 25, 2024, 12:50:18 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 [59] 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 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 ... 195 »
1161  Bitcoin / Bitcoin Technical Support / Re: Assistance please regarding createrawtransaction on: March 27, 2013, 04:48:44 PM
Don't look at a website to find the value of an unspent output.  Use listunspent, or getrawtransaction/decoderawtransaction.
1162  Bitcoin / Bitcoin Discussion / Re: Denominating Bitcoin amounts on: March 27, 2013, 12:51:47 PM
Why do you think you can solve this now?  If people really have a hard time with milli, micro, nano, why don't you just wait to see what they actually do use?
1163  Bitcoin / Bitcoin Discussion / Re: Best font to display or print for private key? on: March 27, 2013, 11:04:46 AM
OCR-A is indeed ugly.  But it was designed to enable OCR in the 60s.  It also has the advantage that all glyphs are distinct.

On my paper wallet sheets, I include several QR codes, barcodes, OCR-A and human-friendly printed versions of everything.  Just in case.
1164  Bitcoin / Development & Technical Discussion / Re: Masking Miner Activity on: March 26, 2013, 08:08:33 PM
Maybe you'd be better off just explaining what you want to do.

No one anywhere is going to get confused about your hashing speed.  No one counts work requests as speed, they count work returned.

The getwork protocol doesn't care about IPs, but the tracking database might, so your work may or may not be accepted at all, depending on the server you are talking to.  Stratum uses a persistent connection, and I don't know the protocol in enough detail to know whether or not it will accept (on the protocol level) work on one connection that was given out on a different connection.
1165  Bitcoin / Development & Technical Discussion / Re: Masking Miner Activity on: March 26, 2013, 07:28:35 PM
Sure.  And if you can find a pool that pays based on work requested rather than work completed, PM me.
1166  Bitcoin / Bitcoin Discussion / Re: Someone Random Trademarked "bitcoin" : Now we can't use the term? on: March 26, 2013, 03:44:36 PM
Check dates before posting.  This thread has been dead since July 2011.
1167  Bitcoin / Bitcoin Discussion / Re: I'd like to do a multi sig wallet on: March 26, 2013, 03:36:02 PM
Personally, I think you would be better off making 5 new private keys and then making a P2SH multisig 3-of-5 address from them.
1168  Bitcoin / Development & Technical Discussion / Re: Where can I learn in more detail exactly what the computers are doing to mine? on: March 26, 2013, 01:39:20 PM
I keep seeing over and over that "to mine bitcoins your computer has to solve mathematical puzzels".  OK that's a little vague.  Where can I learn more about what exactly is required to generate a block and how the difficulty changes?  I wouldn't understand the code itself but a technical paper with some diagrams would be interesting.
Start with this picture:
http://spectrum.ieee.org/img/06Bitcoin-1338412974774.jpg

Then read up on the topics that interest you the most.

That's exactly what I'm looking for but I got lost on 'nonces' and what data it's being added to to change the hash value and why.  Moving right a long though to way over simply is this the problem that's being solved:

1.) There is some existing data based on all passed transactions.

2.) Everyone collectively in the network is taking that existing data, adding a nonce to it and creating a hash - completely at random.

3.) They're looking for the hash that starts with X 0's that's created by a set of existing data plus a random nonce.  I can't tell what the character combination is exactly but looks like upper case, lower case and numbers - 62 combinations?  This means that each difficulty step can be accomplished by adding more leading 0's.  Each success leading zero is an exponential (or is it logarithmic?) step up in difficulty because it becomes 0 - 62 possible combinations 00 - 62 * 62 possible combinations 000 - 62 * 62 * 62 possible combinations and so on.

Is that right?

Close.

The output of the hash is 256 bits, not an ASCII string.  Basically, the hash is a number between 0 and 115792089237316195423570985008687907853269984665640564039457584007913129639936.

The leading zero part is just because the hash must be below the target.  The target is related to the difficulty in a way that target is roughly equal to 2256-(difficulty*232).  Right now, the target is 4026319404534786334009451711043898716884778820756489262596096.

See these two pages:

https://en.bitcoin.it/wiki/Difficulty
https://en.bitcoin.it/wiki/Target
1169  Bitcoin / Development & Technical Discussion / Re: Creating an "official" protocol specification for the Bitcoin internet currency on: March 26, 2013, 03:31:13 AM
Heh, this topic has plenty of threads, not just the one you found.

Basically, Satoshi needed to write the whole thing before he could be sure it worked.  And then we all started using it.  And now bitcoins are downright valuable.

Meanwhile, there is still no formal specification.  And the damn thing is complicated.  If you've been in the source much and followed the discussions here and in IRC, you can start to believe the devs when they say that your choices for a specification are either 1) wrong, or 2) nearly as complex as the source code itself.

Let me give you one odd example.  The coinbase from the genesis block is unspendable.  At first, it was a bug that kept the txid out of the index, but now, we have to explicitly flag that transaction as unspendable.  If we don't, then Satoshi has the power to fork the network at will by redeeming it.  Basically, that bug has to be part of the specification, when one is written.  And there are more and stranger things that any node has to faithfully reproduce to keep the network sane, and we have no way of knowing that we've found them all.
1170  Bitcoin / Development & Technical Discussion / Re: 100GB Blockchain? FIX = "masterblock" every 1,000 blocks! on: March 25, 2013, 08:48:45 PM
Cons:  OP didn't search hard enough to find any of the other threads about this idea...
1171  Bitcoin / Hardware / Re: Official Avalon Technical Support Thread on: March 25, 2013, 01:16:38 PM
I am getting ready to set up multiple units.  I am having issues with the power in that room now so I need some new lines run anyway.  My question is should I get 220V lines run?  I thought I saw somewhere someone was doing that but I can't find it.  I assume it is just a matter of switching the power supply from 110V to 220V and getting cords?

As for connecting to the Internet I assume the optimal is to run Ethernet from my gateway and set up a switch near the machines.  I don't want to worry about the wireless router.

I saw the post on stacking.  I assume they sit on their side.  Is it OK to put them directly on the floor or should they be elevated?

thanks

you dont need 220v - that is for instance a clothes dryer

these things wouldent even plug into a 220v plug.

This just uses a regular computer power supply.  All modern power supplies are built for a broad range of power inputs.  There is usually just a little red slider switch near where the plug connects.  I can't even remember how long it has been since I saw one without that switch.  If it says 115, slide it over to the 230 setting.  They can even adjust automatically for 50 Hz or 60 Hz operation.

Nice thing about using 230 is that it draws half as many amps for the same wattage.  This means you can run twice as many on the same circuit.

I keep saying 230 because that is what the switch and sticker will say.  It many parts of the world, it will really be 240.  Doesn't matter even a little because modern supplies are high frequency switching supplies and can take a very broad range of inputs.  You can usually even get away with 208 if your service is using high leg delta on three phase.
1172  Bitcoin / Bitcoin Discussion / Re: Instant confirmation using only the blockchain. on: March 25, 2013, 05:08:05 AM
The problem you run into is that there are no wallets and no balances, not really.  What you spend is the output from a past transaction, and that spend is always complete.

What that means is that if you have 10 BTC, unless that is a single UTXO, no one knows that you have 10 BTC, they only see the transactions that you are redeeming at the moment.  And there is no way to put a "hold" on any others, nor a way to remove such a "hold".

Once you sign it, it is gone, all of it.

The only time this isn't true is when you are attempting to double spend by redeeming the same output twice in different transactions.  And the whole complicated bitcoin system is built for resolving that situation, but you can't tell which way the ambiguity went except with a decent amount of hindsight, which in this case means blocks and time in the past.

The only way around this is with a trusted third party.  Such entities already exist in the real world, and there is no reason to think they won't find a niche in the bitcoin future.
1173  Bitcoin / Bitcoin Discussion / Re: 2 ways to avoid transaction fees on: March 25, 2013, 05:00:02 AM
Google "bitcoin free transaction relay policy"

Keep in mind that the fees are pretty much not fees at this point, but are really anti-spam measures that use the fee mechanism.  I routinely send zero-fee transactions and get them relayed and mined in normal time.  It takes some awareness of the default client's priority mechanism, but if the 3 cents bothers you, you can avoid it right now, usually.

Also keep in mind that the fee system is constantly evolving and improving.  The day when fees will be set by market forces is coming soon.
1174  Bitcoin / Bitcoin Discussion / Re: Empty block generation. on: March 25, 2013, 03:42:58 AM
There was a mystery miner a while back that a bunch of us were almost certain was actually a botnet doing mass CPU mining.  It included no transactions in blocks, except the coinbase.  We figured the real reason to not include transactions was to minimize network traffic and simplify the software.

The real solution is to make CPU mining the least profitable use of stolen CPU time, and GPUs and ASICs seem to be doing pretty well at that.
1175  Bitcoin / Development & Technical Discussion / Re: Dedicated bitcoind node, 1gb ram ="errors" : "EXCEPTION: St9bad_alloc \nstd::bad on: March 25, 2013, 03:38:10 AM
I have a 32 bit box running with less than 1 GB of ram.  It has two instances of bitcoind running, one with 1 connection, and one with 60 (nearly or all incoming).

I think the real problem is running into some artificial limitation in lousy VPS software.
1176  Bitcoin / Development & Technical Discussion / Re: Opcodes and transactions on: March 24, 2013, 06:02:50 PM
Yes, the reference client still checks for standardness of transactions before mining or relaying.  Look for the IsStandard() function in main.cpp.

I believe that there are still some pools and nodes that are willing to bypass those checks too.
1177  Bitcoin / Development & Technical Discussion / Re: How does wallet encryption disable old wallet? on: March 24, 2013, 05:58:47 PM
When you set an encryption key for your wallet, all unused keys in it get marked as used, so they won't be handed out to satisfy requests for new addresses.  This is to keep you from getting money sent to potentially unsafe keys.  However, the keys are not marked invalid or discarded, so if you do manage to get one (using pywallet or db_dump or something), you can still use money sent to it.

Now, with all of the keys marked as used, your node needs to generate a bunch of new keys for the keypool, so that it can give you addresses without asking for the encryption key again*.  This means that your wallet now has a bunch of keys in it that are not in the backup you made before encrypting.  If you ask for a new key, and then restore from your backup, any money sent to that key will be lost and gone forever.  So, right about now is a very good time to try to scare you into making a new backup.

The reason the message says that your wallet won't work any more is because people don't want to read a detailed essay on wallet key and backup management.  The message just needs to convince people to make new backups, not necessarily go into all of the gory details about how and why.

If you can think of a concise message (that is also easily translatable) that is likely to get people to make new backups, without technically being a lie, please suggest one.

Yes, it needs the encryption key to encrypt your new keys.  It uses AES which is symmetric.  Once your wallet is encrypted, the client is no longer able to generate keys without your help.  Fortunately, the keypool is big enough that for most people, they will provide the encryption key (giving the client an opportunity to safely store the encrypted keys) during normal usage long before the pool of unused keys is depleted.  And yes, there are reasons why the keys aren't stored with public key crypto, which would allow unattended write-only access to the key storage.
1178  Bitcoin / Development & Technical Discussion / Re: Question about shy & simple pull requests on: March 24, 2013, 05:42:49 PM
About your specific problem, if it's enough tested yeah I find it useful. I spent several hours to implement transactions support in pywallet because back in the days there was no way to delete those famous 0/unconfirmed transactions

I'm also wondering about the case of simple pull requests... What are the requirements to send some and it being accepted?
Make a successful thread about it in dev/tech discussion? Make theymos/Gavin/etc agreeing with you? Nothing? Luck? Prayers to Satoshi?

No formal requirements, no formal process (that I've seen).

Make the pull request, people will see it, comment, etc.  If there are no big objections and at least a couple of ACKs, it'll get pulled.  Most of the discussion happens on the github page and in IRC.  Try to make sure your branch is correct and complete before you make the request.  If your patch is not totally trivial, you'll need to make some changes before it'll be accepted, but it looks bad when the build tester bot reports that your pullreq can't compile.

As for the two specific examples in this thread, I like the -purgetransaction option.  Personally, I'd prefer an RPC call that selectively removes one transaction without needing a restart, but this would still come in handy at times.  As for the source for sendmany, can't you just specify the default account with an empty string "" ?
1179  Bitcoin / Development & Technical Discussion / Re: A bitcoin UDP P2P protocol extension on: March 23, 2013, 10:25:09 PM
Good to see that multicast is still widely misunderstood.  While it is true that a message needs to be received the same number of times in multicast (that number being the number of nodes), what changes is how many times it needs to be sent.  It also reduces latency, since the distance across the network becomes n routing hops + 0 verifications, rather than the current n routing hops + (n-1) verifications.
1180  Bitcoin / Bitcoin Discussion / Re: Storing BTC/LTC long term in safe deposit box on: March 23, 2013, 09:16:12 PM
I have a question regarding creating a public address offline, using bitcoin qt and or vanitygen.

How does bitcoin qt and or vanitygen know the public address you created isnt already in use if created offline? And if it is by transferring coins to that in use address you would basically be giving your coins to someone else by mistake.. or cause an anomaly of two of the same addresses in the blockchain.

Math.

This math is above my head, can you please explain?

People have a hard time with big numbers.  Bitcoin addresses are 160 bit hashes, meaning that there are 2160 or 1461501637330902918203684832716283019655932542976 possible addresses.  Your chance of finding a private key that generates a public key that hashes to the address in my signature is about 1 in 1461501637330902918203684832716283019655932542976.

If you don't care about matching an exact key, but just any other key, the birthday problem says that you need a lot fewer attempts.  The approximate number is sqrt(2*H*ln(1/(1-p))) where H is the number of possible addresses and p is the probability you are willing to live with.

If you are willing to take a 1% probability, then you need to try roughly 171464281994822466873809 different keys.  That number is 24 digits long, or a bit over 277.  For comparison, at block # 227663, the amount of work embedded in the hash chain was 899359750187287492752, which is a bit less than 270.

So, if you had the enough computing power to do in one year what the entire global bitcoin network did in 4+ years, it would take you about 27=128 years to have a 1% chance to find a single address collision.  And the odds are really good that you'd find one of your own addresses a second time, not one with money in it.

I'm not checking my numbers very carefully, so I might be somewhat off along the way, but even if I'm off by a lot, you still don't need to worry about it.
Pages: « 1 ... 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 [59] 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 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 ... 195 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!