Search content
Sort by

Showing 20 of 235 results by pc
Post
Topic
Board Bitcoin Discussion
Re: Bitcoin-Qt / bitcoind version 0.8.6 released
by
pc
on 10/12/2013, 01:07:50 UTC
Working fine so far on MacOS 10.9 Mavericks. (Though, the prior versions did for me as well.)

And I concur that it'd be nice to have a heads up that the GPG signing key had changed. My GPG downloaded and verified the new key, but it was a little unexpected.

Thanks for all the work you guys put into this experiment!
Post
Topic
Board Development & Technical Discussion
Re: Are Transaction IDs unpredictable?
by
pc
on 17/09/2013, 17:38:03 UTC
Exactly. One can't know the hash before the transaction has been made, but one does know the hash before one sends that transaction to anybody else. If your betting system is "hash wins if it ends in a 0 bit", then it's easy to only send you winning transactions. If your betting system is "hash txid along with a secret-of-the-day-that-gets-revealed-tomorrow, win if that ends in a 0 bit", then you're probably fine.
Post
Topic
Board Bitcoin Technical Support
Re: Generate an address
by
pc
on 12/09/2013, 12:45:57 UTC
A private key is just a 256-bit random number. (Well, a number between 1 and hex value FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFE BAAE DCE6 AF48 A03B BFD2 5E8C D036 4141.)

Where did you get that God awful number?  The actual value of p for secp256k1 is:

p = FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFE FFFFFC2F

I got it from the Private Key page on the Bitcoin wiki. I don't know whether the number is right or wrong, but feel free to update the wiki (perhaps it should have a citation, even?) if the value there is wrong. I apologize for not checking my sources more thoroughly, or at least citing where I was getting my info from.

In any event, it's rather unlikely that a random 256-bit number won't be in the range. If somebody gets heads a ton of times in a row, they may want to double-check the upper bound before using it. (Or, perhaps more likely, check that their coin is fair…)
Post
Topic
Board Bitcoin Technical Support
Re: HELP: Updated my client to version 8.4 and now my passphrase will not work!
by
pc
on 10/09/2013, 18:38:03 UTC
If you're going to do more testing on encrypted wallets on 0.8.3 vs. 0.8.4, why not do the testing on testnet? Make a new testnet wallet on 0.8.3, encrypt, upgrade, and see if you can decrypt? Don't play with real coins for something like this.
Post
Topic
Board Bitcoin Technical Support
Re: Generate an address
by
pc
on 10/09/2013, 18:32:04 UTC
Or to be completely offline, you can flip a coin 256 times to make the private key and have a calculator and pencil and paper to calculate the public key and address. I want to do it one of these days just to show that it's possible.
Calculating the public key would require a crazy amount of motivation
Calculating the address is impossible

https://bitcointalk.org/index.php?topic=286534.0

Heh, I hadn't realized it was a recent topic on the forum.
I did say one could use "a calculator". Presumably, one could balance it being fancy enough to be able to handle EC math, while not being fancy enough that one had to worry about it storing ones key for a long time or getting compromised in some fashion.
And one would probably be more willing to enter one's public key on a "real" computer to hash to generate the address, though you'd probably want to use multiple systems to make extra sure that the address one generated actually corresponded to the public key. The network allows payments straight to public keys instead of addresses just fine, though I don't know of any wallet software that makes doing so simple.
Post
Topic
Board Bitcoin Technical Support
Re: Generate an address
by
pc
on 10/09/2013, 17:49:05 UTC
Wow doing it with a coin is fascinating! Can you post a guide on this? It will give everyone a greater understanding of bitcoins too! Wow that really is intriguing Smiley

A private key is just a 256-bit random number. (Well, a number between 1 and hex value FFFF FFFF FFFF FFFF FFFF FFFF FFFF FFFE BAAE DCE6 AF48 A03B BFD2 5E8C D036 4141.) All your computer does to make a new address is pick a new random number, and then do some math that calculates the public key from that number. There isn't any magic to it; it's just math. So, any way that randomly picks 256 bits will work. Computers tend to use fancy cryptographic libraries that find good sources of randomness from the information available to a computer, since they tend to be poor at flipping literal coins.

My comment was a probably-too-long offhand remark that you need some technology that you trust to keep your private key private. Sometimes simple technology is best, since you can see how it works and if it's sending your data elsewhere easily. But even if you were to literally flip coins, you'd want to make sure there wasn't a camera or somebody watching you that would compromise your random number generation. Really it's an analogy for what you need your key generating computer to be doing: picking good-quality random numbers that nobody else can end up knowing.
Post
Topic
Board Bitcoin Technical Support
Re: Generate an address
by
pc
on 10/09/2013, 13:22:52 UTC
Well, you seem to want hardware you can trust, but say that you don't trust any of your hardware. So, you need to get your hardware into a state where you trust it, or you need to acquire new hardware that you do trust. Something like a Raspberry Pi may be great for this sort of thing, though on "embedded" kinds of devices you want to make sure that your random number generator has enough entropy to work with.

Or to be completely offline, you can flip a coin 256 times to make the private key and have a calculator and pencil and paper to calculate the public key and address. I want to do it one of these days just to show that it's possible.
Post
Topic
Board Auctions
Re: [Auction] 25BTC Casascius coin
by
pc
on 20/08/2013, 20:27:14 UTC
Yeah, it feels like I'm missing something. If this is loaded with 25 BTC (which it looks like it is, as you linked to the balance), you're certainly better off just redeeming the BTC rather than selling it below that.

Is there some sort of escrow?

Is there any damage to the holographic seal?

How much is shipping+insurance to the US?

Thanks.
Post
Topic
Board Bitcoin Technical Support
Re: Windows Bitcoin v0.8.3 still indicates beta
by
pc
on 20/08/2013, 16:08:55 UTC
All of Bitcoin is still in beta.
Post
Topic
Board Development & Technical Discussion
Re: P2SH Transactions help
by
pc
on 20/08/2013, 16:06:34 UTC
Sending to a P2SH address is standard. Spending from that P2SH address is only standard if the script that hashes to that address is standard.

The address prefix is selected to start with a 3 on the real network, and a 2 on the test network.

I don't know about Bitstamp or Mt. Gox specifically, but any service built on a current bitcoind should support it just fine. I suspect that most services support it and may not even realize it.
Post
Topic
Board Auctions
Re: Peerbet
by
pc
on 12/08/2013, 18:05:12 UTC
Can you clarify that 20 BTC liability to users? Is the sale including the customer's funds or not? That is, if I were to make a bid, would I owe the customers their funds in addition?

Is the only revenue stream from ads and donations? Are there any statistics available on how much the site is making currently from those?

Thank you.
Post
Topic
Board Development & Technical Discussion
Re: would it be possible to create a fork that excludes just one bitcoin adress from
by
pc
on 06/08/2013, 20:19:50 UTC
It's important to keep in mind that bitcoin only has value in the sense that people give value to it. If merchants/users/etc. all decided that particular bitcoins with whatever characteristics (sending address, has a particular pattern of digits in it, whatever) were no longer valuable, and set their wallets, websites, brains, and whatnot to not treat those payments as having any value, then they wouldn't have value anymore.

I find such a scenario pretty unlikely, though.
Post
Topic
Board Development & Technical Discussion
Re: Risk of anyone-can-take output
by
pc
on 23/07/2013, 13:28:21 UTC
Yeah, OP_TRUE and the like are the same as a widely-known private key. I don't see what advantage you get from treating them different at the protocol level, though I suppose a smart client could attempt to inform the user if a payment they received was more likely to be attempted to get double-spent than average, but I'm not sure the user would or should do anything different in that case anyway.
Post
Topic
Board Bitcoin Technical Support
Re: vanitygen -- how to?
by
pc
on 09/07/2013, 19:11:50 UTC
Vanitygen gives you an address as well as the corresponding private key in WIF format (starting with a 5, K, or L). In order to import it into Bitcoin-Qt, go into the Console (Help, Debug Window, Console) and type in importprivkey where is that private key you got. It'll take a couple minutes (seriously, it could take a while) while it goes through the blockchain to see if that address ever received any coins, and then it should be a part of the wallet and show up in your list of address on the Receiving tab.

To get a "firstbits" address (which I'm assuming is what you mean by "short"), send some coins to it, wait for several confirmations, and then look them up on a site like blockchain.info. I'm not aware of a tool that finds the firstbits by looking at one's local blockchain, though there probably is one out there somewhere.
Post
Topic
Board Altcoin Discussion
Re: Ripple Giveaway!
by
pc
on 03/07/2013, 02:04:42 UTC
r9qCmc9mDribVP8bttBufxgUqpVKxtiybT
Post
Topic
Board Development & Technical Discussion
Re: signrawtransaction won't sign
by
pc
on 02/06/2013, 01:35:33 UTC
For a multisig address, you need to pass along to signrawtransaction the information about how to construct the multisig address. Otherwise, it doesn't know how to sign it. I think it goes where you put the "null" parameter… It can't be null to do what you're trying to do.
Post
Topic
Board Trading Discussion
Re: As a store owner who accepts bitcoins, anyone who wants can track my income
by
pc
on 09/05/2013, 12:33:55 UTC
That's one of the reasons why the best practice is to generate a new address for every transaction.
Post
Topic
Board Bitcoin Technical Support
Re: Send bitcoins from selected addresses using bitcoin-qt
by
pc
on 25/04/2013, 13:20:50 UTC
Doing it with Bitcoin-Qt requires the raw API, as others have said. An example of using it in python is in the "contrib" directory and is actually pretty useful: https://github.com/bitcoin/bitcoin/tree/master/contrib/spendfrom
Post
Topic
Board Services
Re: Bitcoin 100: Developed Specifically for Non-Profits
by
pc
on 25/04/2013, 00:54:20 UTC
I don't know if this is the best place to post this, but I was real interested in the Calyx Institute when they were in the news a while back, and now they've announced that they're accepting Bitcoin donations:
https://twitter.com/calyxinstitute/status/326366637995479040
https://www.calyxinstitute.org/support-us/donate-via-bitcoin

Their goal is to help make the network backbones all encrypted and care about user privacy. I think it's a pretty worthy cause.
Post
Topic
Board Development & Technical Discussion
Re: Need Test-Net Bitcoins
by
pc
on 20/04/2013, 11:18:03 UTC
There's also a Testnet Faucet at https://tpfaucet.appspot.com/, as well as a simple web-based hosted testnet wallet.