Bitcoin Forum
June 17, 2024, 04:20:01 PM *
News: Voting for pizza day contest
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 [314] 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 »
6261  Bitcoin / Wallet software / Re: Help Needed: Open Transactions (Windows API) on: August 28, 2012, 07:34:39 AM
You did compile (everything?) using the /clr option?
6262  Bitcoin / Project Development / Re: Human Memorable Coin address system: Proposal on: August 26, 2012, 03:41:30 PM
Are vanity addresses squatted much?

Even firstbits vanity addresses?

-MarkM-


If you are talking about any dictionary word (or English first name and many company names) that are less than 7 characters then yes.

Somebody put 1 satoshi into each of thousands of such names over a year ago (start with 1google and click on the two tx's to get an idea).
6263  Bitcoin / Project Development / Re: Human Memorable Coin address system: Proposal on: August 26, 2012, 11:08:55 AM
Another possible approach that would allow for transfer of ownership would be to have one of several "special" firstbit vanity addresses (with each being able to be considered as a "domain registrar") used to send a tx that can be used to identify the current owner.

With this approach it would be the last tx that identifies the current owner and an owner could sell their "domain" (in a way that can be publicly verifiable) by having the coins first sent to the registrar by the "buyer" which will be confirmed by another small tx from the current "owner" (to "release" ownership).

If the owner doesn't release within a certain period (say 48 hours) then the coins for the purchase would be refunded to the "buyer" - if the owner does send a confirming tx then the coins for purchase are sent to the owner (minus a fee) and another tx from the "registrar" is issued to the address.

Agreed that maybe namecoin could be useful in providing a solution for this but whatever the solution it would be best to utilise a block chain in order to have things publicly verifiable.
6264  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 23, 2012, 02:42:05 PM
No, the main reason isn't anonymity the reason is so transferring bitcoins between accounts using 'move' doesn't require a blockchain transaction.

Aha - this is beginning to make some more sense - is there an explanation of how the mechanics of the "move" command actually works documented somewhere (other than in the code)?
6265  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 23, 2012, 07:42:40 AM
The purpose of "accounts" is to automatically adjust balances when there is a block chain reorganization.

I read through the links you gave (and thanks for the interesting reading) but still don't see how anything written there describes that the purpose of "accounts" is to automatically adjust balances due to a block chain reorg (it seems to me that reorgs are just something that has to be handled in order for it to give meaningful results with listtransactions).

AFAICT the purpose of "accounts" is to be able to divide tx's into separately labelled groups (much the same as in normal accounting with a GL) and thus to be able to get balances for each group (i.e. a "group" is an "account").

Perhaps if you replace the word "purpose" with "implementation" that might be closer, however, the implementation could have easily been written to use a previously "labelled" address as the only input address for a "sendfrom" without changing the purpose at all. I assume the reason it wasn't done this way was to keep the pseudo-anonymity as strong as possible (which is something completely unlike the way any normal accounting works).
 
6266  Other / Beginners & Help / Re: Bitcoins are pretty expensive on: August 22, 2012, 02:03:33 PM
1oz of gold worth arround 1600$, if btc goes up to 1600$ per bitcoin, everyone will go crazy (me included)

For sure - but also understand that there are over 5 billion ounces of gold in existence and currently only around 10 million bitcoins (with the maximum amount ever to exist less than 21 million).

If bitcoins were to really be valued as being worth the same as gold then that would make 1 btc closer to 1 million USD.  Grin
6267  Economy / Securities / Re: S.DICE - Want a piece of SatoshiDICE? IPO this week before new site launch! on: August 20, 2012, 04:49:57 AM

The FAQ mentions about having to pay a 20 BTC amount to register your GPG key with them.

So does this mean that it would cost each person 20 BTC just to put in a bid for the shares?
6268  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 18, 2012, 09:57:10 AM
The purpose of "accounts" is to automatically adjust balances when there is a block chain reorganization.

Interesting - hadn't heard of this explanation before - has a block chain reorg occurred since the API commands were introduced?
6269  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 18, 2012, 09:08:27 AM
Brings me to the question though, is a "website user account" system really in the scope of what bitcoind should be doing?

A good point - personally I think it was probably not such a great idea to have added the commands in the first place (although I can understand why they would have been requested) - the raw transaction commands are definitely something I see as being more useful.
6270  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 18, 2012, 08:57:56 AM
Actually they are nothing like accounting accounts which is exactly why I (and I assume some others) was confused by them in the first place.

The idea of a Bitcoin "account" is to help support a "website user account" rather than anything to do with a general ledger in accounting.
6271  Bitcoin / Development & Technical Discussion / Re: Password Hashing and Storage on: August 17, 2012, 03:56:52 AM
If you hash something and then hash the resulting hash, the combined "doubleHash" algorithm is slightly weaker against certain attacks than just hashing the data once. Every additional hash round weakens it more. You need to at least mix the password back in during each round:

Code:
for(int round = 0; round < 1000; ++round)
    result = hash(result + password);

That method of getting salt seems secure, but it'd be easier and even more secure to just use some random data stored with the password.

It's best to use established algorithms like SHA256-crypt, though. These use even more mixing to prevent cryptanalysis.

Thanks for the tip - I will be changing the hashing rounds per this advice.

The main reason for the salt being generated the way it is (i.e. from the username) is that I have designed my system to provide security over HTTP (so all information needed to create the salt needs to have been first broadcast).

Am using SHA-1 currently (as it was the only secure hash algo I had previously) but will be changing to it later.
6272  Bitcoin / Development & Technical Discussion / Re: Password Hashing and Storage on: August 17, 2012, 03:37:46 AM
Brute force attacks are done against the db.  No server side code is going to stop that.  Honestly password878 is likely strong enough against an attacker trying to login as you.  Of course no attacker tries to login as you.

Salt isn't a secret.  Salt is designed to limit the attacker to 1 account per hash in realtime.  Nothing more.

Currently I am encrypting password hashes (with AES) based upon a key that is split between compiled C++ code and a the contents of a text file - so there is nothing to help you crack a password if you just grabbed the DB contents.

The salt that I use (currently) is the username hashed by x rounds and combined with a unique server id string (also not stored in the DB) and the final password hash itself being y rounds of the salt and actual password.

Am just wondering if there is any weakness in the approach that I am using?
6273  Bitcoin / Bitcoin Discussion / Re: The "bit" in Bitcoin on: August 17, 2012, 03:09:10 AM
Are you American?  I'm guess no, because the term bit hasn't been used here in about 100 years.

So the slang "two-bit" (such as a "two-bit company") is not used in the US (thought I'd read some joke about Microsoft Windows years ago that had that term in it)?

From http://c2.com/cgi/wiki?MicrosoftWindows:

Windows was once famously described as "32 bit extensions and a graphical shell [on top of] a 16 bit patch to an 8 bit operating system originally coded for a 4 bit microprocessor, written by a 2 bit company, that can't stand 1 bit of competition." This was attributed to Art Bahrs (an HP guy) in Aug 1997, although it probably predates that.
6274  Bitcoin / Bitcoin Discussion / Re: The "bit" in Bitcoin on: August 17, 2012, 03:07:02 AM
Are you American?  I'm guess no, because the term bit hasn't been used here in about 100 years.

So the slang "two-bit" (such as a "two-bit company") is not used in the US (thought I'd read some joke about Microsoft Windows years ago that had that term in it)?
6275  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 17, 2012, 02:48:21 AM
Thanks, I would have named that sendas though.

Good call - I think naming the command sendfrom is what has confused people about its behaviour.
6276  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 17, 2012, 02:19:34 AM
Intuitively, one might think that sendfrom [account] [destination] [amount] would send from the address labelled with the account.  It does something else that I don't really understand instead.

What it does is basically label the tx with the account name (it actually doesn't have anything to do with which addresses are picked to send from).
6277  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 17, 2012, 02:17:45 AM
what do you mean by coin control?

There is a patch/branch for Bitcoin that enables you to nominate which addresses to send BTC from (normally you have no control over this).

In the next release (0.7) there will be a new raw transaction API which will enable you to do the same (and actually more as you will have complete control over the transaction with it).
6278  Bitcoin / Development & Technical Discussion / Re: Password Hashing and Storage on: August 17, 2012, 12:43:04 AM
To anyone clinging to outdated ideas like using SHA-1 (or SHA-256/512, RIPEMD-160, etc) for storing passwords a simple question to ask yourself.  
Does your login server need to be able to process 4 billion logins per second?  No?  
Then why are you using a algorithm which allows the hacker to brute force at the rate of 4 billion attacks per second?  

Actually I don't think that the algorithm is so important as limiting the # of attempts to login to the same account (as is done by banks) - it would be a pretty stupid piece of software that actually allows even 100 attempts to login to the same account within minutes.
6279  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 16, 2012, 09:31:57 AM
THEY CAN HAVE NEGATIVE BALANCES!!! feature? bug?

Am not aware of this feature/bug as after realising that accounts were not suitable for what I was looking for (which was really coin control) I stopped playing with them.


Actually now that I think about it this would make perfect sense as the "account" is just a label you put onto a tx. So if you send and you had never received with an address labelled as an account then of course the balance would be negative.

I guess it really just says more about the unintuitive nature of the implementation.
6280  Bitcoin / Development & Technical Discussion / Re: [Poll] Accounts in bitcoind on: August 16, 2012, 09:27:53 AM
THEY CAN HAVE NEGATIVE BALANCES!!! feature? bug?

Am not aware of this feature/bug as after realising that accounts were not suitable for what I was looking for (which was really coin control) I stopped playing with them.
Pages: « 1 ... 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 [314] 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!