Bitcoin Forum
May 10, 2024, 09:05:02 AM *
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 »
861  Bitcoin / Bitcoin Technical Support / Re: What a miner does? on: June 04, 2011, 12:39:03 AM
Miners typically do not modify the timestamp - they just use the timestamp in the block, as received by the getwork call.
862  Bitcoin / Development & Technical Discussion / Re: Optional fees should be optional on: June 04, 2011, 12:27:13 AM
The reason fees currently exist, is not really for rewarding miners. For now, the generation income will probably stay a lot higher than fee income. However, fees are useful for 1) speeding up transactions 2) preventing spam transactions and 3) getting people used to the idea that some fee will be needed in the future, and have the network experiment with it.

Anyway, the default minimum fee (for large or spammy transactions, or subcent outputs) is going to be decreased soon, and probably made more configurable.
863  Bitcoin / Bitcoin Technical Support / Re: What a miner does? on: June 03, 2011, 04:43:05 PM

loop:
  var blockheader = DoGetWorkRPCCall()
  var target = ExtractTarget(blockheader)
  for nonce in 0..4294967295:
    var attempt = ModifyNonce(blockheader, nonce)
    var hash = SHA256(SHA256(attempt))
    if (hash < target)
      ReportSolution(attempt)

864  Bitcoin / Development & Technical Discussion / Re: Idea for alternative bitcoin address format for vendors on: June 03, 2011, 04:38:56 PM
I think a bitcoin: URI is much more suited than the binary format intended for addresses.
865  Bitcoin / Development & Technical Discussion / Re: Risk in losing Bitcoin client / balances on: June 03, 2011, 02:13:34 PM
The first rule of bitcoin is to backup your wallet.dat.

The second rule of bitcoin is to backup your wallet.dat.


Other than that, yes lost wallets result in permanently unspendable coins - effectively removed from circulation.

If you don't like to take that risk, you can use an online wallet, like mybitcoin.com or instawallet.org (given that you trust the operator of these sites).
866  Bitcoin / Development & Technical Discussion / Re: BitCoin hurdles to overcome on: June 02, 2011, 04:23:39 PM
2. wallet restore appfunctionality is needed. Lets say I have 100 BTC and i back up my wallet file, spend 20BTC and my PC crashes. I restore by only backup file, which has 100BTC in it. At this point i'd be double spending... Being a legitimate user, there should be a way to sync up my outdated wallet back-up file with the network, to have the 100BTC value in my outdated wallet adjusted to 80BTCs which the network thinks i have. Perhaps havewalet file remember when, which addresses pointed to it and them my PC can analyze the most current block chain to sync up the wallet file with network.

Thoughts?

Since 0.3.21 this should happen automatically. In 0.3.20 you can use -rescan to update your wallet with information from the block chain.
867  Bitcoin / Bitcoin Discussion / Re: Transaction fee of 0.01 BTC when sending 0.01 BTC? on: June 02, 2011, 01:21:38 PM
The size limit referred to here is a size in bytes, not amount. If your 0.01 payment consumes a lot of small coins, it may grow quite large.
868  Bitcoin / Development & Technical Discussion / Re: [PULL] 52-line patch supporting offline key generation on: June 02, 2011, 10:54:29 AM
Good idea.  Interestingly, the keys I tested with do not have the same structure as client-generated keys.  The new kind have a shorter private key length.  You might think they have fewer bits of entropy, but the client-generated keys (in DER/wallet form) have long strings of all 1's and other common subsequences.  I have not figured out why.

OpenSSL-encoded private keys have a lot of redundancy, they store the field and curve parameters, the secret parameter and the public key, some of which have several possible encodings (eg. compact public key or not).

What you should check is whether the public key - exported by OpenSSL - is identical to the public key bitcoin extracts after importing the OpenSSL-encoded private key.
869  Bitcoin / Development & Technical Discussion / Re: [PATCH][RFC] More configurable fee schedule and clearer fees on: June 01, 2011, 10:14:17 PM
These are nice ideas. Cleaner messages and dialogs are always an improvement, and the ability to inspect a transaction before sending it is really needed, i believe.

I'm not sure yet how fee calculation and prioritization should be done in the future, it's certainly good to allow users to force a particular fee when sending (after enough warning).
870  Bitcoin / Development & Technical Discussion / Re: Modularizing bitcoin: CWallet class on: June 01, 2011, 09:28:34 PM
Pull request is up: https://github.com/bitcoin/bitcoin/pull/288

It seems stable now, i've received and sent (realnet) transactions with it without problems. Feel free to test Smiley
871  Bitcoin / Bitcoin Discussion / Re: MIA Bitcoin? (Screen Shots) on: June 01, 2011, 02:07:27 PM
Which version are you using?
872  Bitcoin / Bitcoin Discussion / Re: Fee required? on: June 01, 2011, 01:29:05 PM
In bitcoin 0.4.0, the minimum fee (for transactions that require one, per default policy) will be lowered to 0.0005.

Yes, fees go to the miner who puts your transaction into the block chain.
873  Bitcoin / Development & Technical Discussion / Re: Pushpool question on: June 01, 2011, 01:27:10 PM
That looks like a hex-encoded block header, including padding done by the sha256 hasher.

Take the first 160 characters of it (80 bytes), decode each group of 2 characters as a hex to a byte, and feed those 80 bytes to a regular sha256 hasher, twice. That should give you the block's id.
874  Bitcoin / Development & Technical Discussion / Re: Backing up wallet.dat on: June 01, 2011, 10:24:46 AM
The key pool was introduced in 0.3.14

Restoring of a wallet backup is supported since 0.3.20 with -rescan, in earlier versions you had to remove the block database and redownload it.

Since 0.3.21, -rescan is done automatically.
875  Bitcoin / Project Development / Re: how do miners fill merkle_root field when mining? on: June 01, 2011, 09:59:58 AM
Miners receive the header, which contains: version number, previous block's hash, merkle root, timestamp, difficulty, nonce

This information is assembled by the bitcoin client they connect to, or the pool, and miners don't care what's in there.

The only thing they do, is try different values for nonce (knowing which bytes in the header constitute the nonce), and possibly the time stamp.
876  Bitcoin / Development & Technical Discussion / Re: Backing up wallet.dat on: June 01, 2011, 09:44:21 AM
The only actions that require fresh keys from the pool, are change sent back when sending a payment, and generations (mining). You can do at least 100 such actions before a new backup is required.
877  Bitcoin / Development & Technical Discussion / Re: Strong solution, weak solution "attack" on: May 31, 2011, 09:24:54 AM
When two successor blocks B1 and B2 are generated simultaneously for a single block A, part of the network will receive B1 first, and another part B2. Both will assume the one they saw first will win, and work with that. However, if B1 is extended first with a successor block C, while B2 isn't extended yet, all nodes that were working with B2 will realize the chain containing B1 is better now (as it longer, not because they individual blocks in it are better), and switch to A->B1->C as best chain.
878  Bitcoin / Development & Technical Discussion / Re: Strong solution, weak solution "attack" on: May 31, 2011, 09:15:24 AM
Blocks count proportional to their difficulty, i.e. the fraction of the target they had to beat - not the actual fraction of it they reached.

There is no way to have a better solution for a given block when one is already created, as the difficulty is fixed.

Only when doing a multi-block attack crossing a retarget boundary (height multiple of 2016), one can influence the effect of the retarget, and thereby the difficulty.
879  Bitcoin / Bitcoin Discussion / Re: Does CPU mining contribute anything to bitcoin network or economy? on: May 30, 2011, 03:46:51 PM
I know bitcoin mining is like a lottery - any hash has the same chance of winning a block. But the only way transactions are confirmed is by someone winning a block so that the transactions get added to the chain. At 2M hashes/sec, I can expect to get a block something like every 15 to 30 years at a difficulty of 434883. I am not confirming transactions. I am not winning blocks. Am I contributing anything to the bitcoin network in some other way? I was using a GPU miner (only 20M hashes/sec) in a pool for about 6 weeks and decided it was not worth the heat on the GPU. I like the idea of bitcoin and would be glad to keep the client mining if I thought it was doing anything at all to support the bitcoin concept.

You always contribute a bit, by verifying transactions - you don't need to mine for that.

Considering mining itself, IF you don't ever find a block, you haven't contributed anything. But you don't know you won't. If you have 2 Mhash/s, you have 3% chance of finding a block the next year - statistically speaking, you're contributing an expected 0.03 block per year (slightly more, even). It's up to you to decide whether that's worth it. For me, it wouldn't.
880  Bitcoin / Bitcoin Technical Support / Re: (Please help) Why can't I receive the bitcoin? on: May 30, 2011, 12:02:57 PM
In 0.3.22rc5 a bug was introduced that may cause this problem. Please try an earlier version, and use -rescan.
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!