Bitcoin Forum
May 05, 2024, 09:50:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 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 »
541  Bitcoin / Bitcoin Discussion / Re: Brain Wallet standardization on: April 16, 2012, 01:03:19 PM
Standardization is not intended to make public parameters implicit... it is intended to make its format compatible between different implementations.
542  Bitcoin / Bitcoin Discussion / Re: Brain Wallet standardization on: April 16, 2012, 11:11:33 AM
Nice to hear you are on this as well!
Create a human-rememberable output from 256- or even 512 bit randomness? I dont believe this is doable in that way. The human-languages-keyspace would be too small or the resulting token ridiculously long. You could brute-force many random keys until you find one which has a corresponding rememberable token. But this would be no different to, for example, hash a human-rememberable token and use the hash as a pseudo-random key..

I think you misunderstood me. Internally, the scheme uses 512-bits keys (so its master is this large), but as secp256k1 (the elliptic curve used by bitcoin) has only (a bit more than) 128-bit security anyway, there is no need to use (much) more entropy for generating the master. One possibility is using master=SHA512(seed), where seed is a randomly generated 128 to 256 bit value. This seed could be converted to (or generated from) a human-readable string, if a nice standard for such a conversion can be agreed upon.
543  Bitcoin / Development & Technical Discussion / Re: Re-Creating a wallet? on: April 16, 2012, 11:03:10 AM
Recent versions verify all wallet keys for consistency at load time, and fail rather than silently ignore it. You probably have one or a few inconsistent keys in your wallet file, which went undetected for a longer time.

I have a not-very-well-tested patch for bitcoind/bitcoin-qt that tries to reconstruct inconsistent keys, or otherwise ignores errors. It will not fix the wallet file, but it may be enough to access it.

Let me know if you're interested.
544  Bitcoin / Bitcoin Discussion / Re: Brain Wallet standardization on: April 16, 2012, 10:36:21 AM
I've been working on a specification for deterministic wallets, to be included in the reference client (and Armory might adopt it as well). It is a bit more complex as it (optionally) supports multiple independent keypair chains, for different accounts and for public and non-public addresses.

It uses a 512-bit master key, but could very well be generated from a seed of only 128 or 256 bits of entropy (this is not yet specified). My preference would be having this part be generated randomly, to prevent weak user passwords resulting in entire wallets being exposed.If a nice standard can be agreed upon for converting such an amount of entropy to a human-readable (and hopefully rememberable) string, it could function as a very nice brainwallet.

The current draft can be found here.
545  Bitcoin / Development & Technical Discussion / Re: Defence against double spending, even 0-confirmation on: April 12, 2012, 02:55:37 PM
This is not correct. Old nodes will not accept a block whose coinbase has more than one, or non-empty inputs.
The scriptSig of a coinbase is a scratch area that is ignored that can be used for extension data.

I misread - I thought you wanted to include it as secondary inputs to the coinbase transaction. Still, the coinbase is limited to 100 bytes. It will be very hard to put two full transactions plus an extra output in there...
546  Bitcoin / Development & Technical Discussion / Re: Defence against double spending, even 0-confirmation on: April 12, 2012, 02:03:16 PM
Interesting but likely impossible to implement.  Old node (not just miners) would be incompatible.   So it would require a 100% upgrade of every single node on the network to avoid disruptions.
I edited the first post. Now it only needs 51% of miner support, and old clients don't need to upgrade. Blocks are fully backward compatible.

This is not correct. Old nodes will not accept a block whose coinbase has more than one, or non-empty inputs.
547  Bitcoin / Development & Technical Discussion / Re: Measurement of Difficulty on: April 11, 2012, 10:36:33 AM
difficulty * 2^48 / 65535, actually Smiley
548  Bitcoin / Development & Technical Discussion / Re: Orphaned blocks database / getblocks on: April 09, 2012, 11:15:49 PM
I have a patch scheduled for 0.7.0 that allows you to import a blk0001.dat file directly, as if downloaded from network. If the file contains blocks besides those in the main chain, those will be imported as well. (what is called orphan blocks in the client is something else: that are blocks are were never connectable to the known chain, and are only kept in memory).

There's no way to access data that is not in the main chain through the p2p protocol, though.
549  Bitcoin / Bitcoin Technical Support / Re: Bitcoin Client can't sync on: April 09, 2012, 12:05:26 PM
I really doubt the problem was a lack of connections here. There have been problems with the blockchain getting stuck, and there may still be such bugs.

If bitcoin becomes larger (including more non-relaying light clients, more people behind firewalls and NATs, ...), the solution is encouraging people to be reachable (UPnP, opening ports, ...), so that enough "connections slots" (number of reachable nodes * number of connections they accept) exist in the network for everyone to connect to. Increasing the number of outgoing connections will have the opposite effect.
550  Bitcoin / Bitcoin Technical Support / Re: Reformatting Computer. What to backup? on: April 09, 2012, 10:30:32 AM
Yes, you can backup blk0001.dat and blkindex.dat from the same direcotry, and restore them there before running bitcoin again.

This should prevent you from needing to download the chain again.

Make sure Bitcoin is not running while making the backup.
551  Bitcoin / Development & Technical Discussion / Re: bitcoind api listsinceblock on: April 05, 2012, 12:20:12 PM
Use getblockhash <height> to get the hash of the <height>th number in the main chain.
552  Bitcoin / Bitcoin Discussion / Re: Version 0.6.0 released on: April 05, 2012, 03:02:54 AM
Well, the behavior in 0.6.0 is different of 0.5.3.

I guarantee you, nothing changed in the fee policy since 0.3.23. Whether a fee is required or not depends on the size and age of the input coins you're using.
553  Bitcoin / Bitcoin Discussion / Re: Version 0.6.0 released on: April 04, 2012, 11:25:05 AM
Hi!

Where is the TX-fees?!?!

I just send 50.00 and 10.00 and for both transactions, the fee = 0.00 !!

But, with the previous versions, the client automatically put a default fee there...

I would like to pay the fees!! how to enable it again?!
Thanks!
Thiago

Fees have always been voluntary, except in case of sending very small outputs, or using too recent/too small inputs, as a means for spam protection on the network. The details of this policy have not been changed since 0.3.23.

554  Bitcoin / Bitcoin Discussion / Re: What would you pay for the Genesis Block? on: April 03, 2012, 01:21:43 AM
You can see it as an implementation error/feature, but the protocol was (and still is, largely) defined by how the reference client behaves.

The only way to change it is if *all* users of Bitcoin agree - not just 51% and not just miners. Imagine we pushed a new version of the client with a spendable genesis block. Assume 70% of miners upgrade, and suddenly Satoshi reappears and spends the genesis block. Those 70% would start building a chain with the spend included, but older miners and nodes would not accept this chain, to them it would be invalid. The result would be a permanent fork, with 30% of mining power behind it. People using old clients would notice a decreased block speed (and some other security measures would get triggered), but apart from that, they keep living in their own little world. Such a permanently splitted blochchain is a recipe for disaster: every old coin that existed before the split can be spent once on each side of the fork...
555  Bitcoin / Bitcoin Discussion / Re: What would you pay for the Genesis Block? on: April 02, 2012, 03:45:41 PM
When a new node starts up, it initializes its block database with the genesis block, and then start synchronizing. However, it does not add the coinbase transaction from the genesis block to the transaction database. Hence, no client has that transaction in its database, and no node will consider spending it valid.

This may have been intentional by Satoshi, or a bug, but we certainly can't change it now.
556  Bitcoin / Bitcoin Discussion / Re: What would you pay for the Genesis Block? on: April 02, 2012, 03:05:05 PM
It may have huge historical value, but note that the coinbase from the genesis block can actually not be spent.
557  Bitcoin / Development & Technical Discussion / Re: Github - bitcoin commit break? on: April 02, 2012, 02:15:14 PM
We were still deciding on what the next version would be, and what its goals would be.

Next version will probably be 0.6.1, and include mainly cleanups, bug fixes and other small improvements.

558  Bitcoin / Development & Technical Discussion / Re: A proposed solution to adjust for lost Bitcoins: wallet 'heartbeats' on: April 01, 2012, 08:29:22 PM
What you are proposing is tantamount to changing the terms of a bearer certificate after it is issued.
You seem to think that you are using a currency system with a contract that states the rules are fixed and will never change.

You should re-read the rules of bitcoin because you have missed a big one.  The rules are set by a majority of the miners (with the consent of the majority of people sending/receiving transactions).  If the majority of users vote to change the rules (by using software that implements new rules) then the rules are changed.  You know (or should know) this and implicitly agreed to it (by using bitcoins), it is part of the system and has been from day one.  Your bearer certificate example is simply not relevant.

This is certainly not true. Miners do not have absolute authority over bitcoin's rules. In fact, they exist only for one reason, and that is the only thing they can decide: they ordering of transactions. They decide over bitcoin's history in the global ledger, but can only accept otherwise valid transactions into it. They have the power to postpone transactions, possibly indefinitely, but cannot change the rules that make a transaction or a block valid.

There are some rules that are fixed. Obviously, they could be changed if 100% of users and miners alike agreed to, and every single one would upgrade. But that doesn't surprise anyone, I hope. Among the things that cannot be changed is the maximum allowed miner subsidy (which is current 50 BTC per block, and halves every 210000 blocks), or the structure of transactions.
559  Bitcoin / Development & Technical Discussion / Re: Adding "Send to Firstbits address" support for Bitcoin (maybe not) on: April 01, 2012, 11:30:20 AM
Firstbits is essentially a scheme for registering a short name for a static bitcoin address. So far so good, but it uses the blockchain to store the registrations. This encourages spamming the blockchain to be the first to use a particular prefix, and is not compatible with pruning (consuming the outputs of the first transaction that used a particular address, may change the firstbits mapping). This problem can be avoided by keeping a separate database of each prefix along forever, but at that point it has no advantages over a third party registration system for address aliases anymore.

Furthermore, it enforces the notion that a single static address should be tied to an identity, instead of using a new address for each transaction. Almost by definition, since a firstbits mapping is intended to last forever.

For these reasons, I would not accept such a patch for the reference client.
560  Bitcoin / Bitcoin Discussion / Re: Version 0.6.0 released on: March 31, 2012, 05:01:34 PM
I know it will only use 1 connection at a time for downloading, but with more connections there's a bigger chance you get connected to a fast peer, right?

No, it just uses whatever node is the first that tells you about a new block. That is almost always the first node you connect to.
Pages: « 1 2 3 4 5 6 7 8 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 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!