Bitcoin Forum
June 04, 2024, 12:30:19 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 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 ... 113 »
961  Bitcoin / Bitcoin Technical Support / Re: Disappearing Bitcoins on: November 28, 2011, 08:10:15 PM
The version is 0.3.15.4 beta

0.3.15 is pretty old, and the way you're spending from a copy of the wallet is, I suspect, confusing it.  Pieter updated the wallet code to handle transactions with partially spent outputs a while back.

Try upgrading to version 0.4.1 or 0.5 and running -rescan and see if your missing bitcoins reappear.
962  Bitcoin / Development & Technical Discussion / Re: A proposal for a scalable blockchain. on: November 28, 2011, 01:16:54 AM
I agree that there are better optimisations that can be implemented first but I still think it might be worth discussing for the future. Can you see any obvious flaws in the proposal Gavin?
Ummm, yes.

It seems to me miners will have an incentive to lie about the transaction ledger, and put fake ledger hashes in their blocks. Either so their transactions might be considered 'unspent' by unsuspecting nodes that trust them, or so that other miners that don't have the full block chain create invalid blocks (eliminate the competition!)

And I don't see a proposal that everybody check the ledger and reject blocks that contain invalid ledger hashes.

I also don't see what the ledger hash accomplishes.  If you're going to trust some other node's version of unspent-transaction-reality, then you could just ask "send me the ledger state before (or after) the block with THIS block hash".

But if you're going to trust one or more nodes anyway... then it seems to me sending an ever-increasing-in-size ledger is a bad way to get scalable. If size-of-full-blockchain becomes a problem before the mining pools and big exchanges/merchants/transactions processors all have transaction processing clusters with a terabyte of ram and petabyte hard drive array then I think extending the protocol to make it easy to request all transactions involved in a given Merkle branch will probably be the way to go.

But before then I expect the bitcoin network will look very different from the way it looks today, and I expect there will be several different solutions for how to scale up. If (when!) Bitcoin gets that successful, there will be serious money hiring the same smart people who figured out how to scale up PayPal and Visa.
963  Bitcoin / Development & Technical Discussion / Re: Problems trying to build bitcoin-qt.exe (skycoin-qt.exe) on: November 27, 2011, 08:23:56 PM
How did you build Berkeley DB?  Something like this in the MSYS shell:
  sh ./dist/configure -enable-cxx -enable-mingw

... should do the trick (see this thread, for example).

I'm no longer develop on Windows, but I had to be very careful to make sure bdb/boost/miniupnpc/openssl/Qt were all compiled with the same compiler and compatible options (e.g. -arch i386 versus -arch x86_64) to successfully compile bitcoind and Bitcoin-Qt on my Mac.
964  Bitcoin / Bitcoin Discussion / Re: Can you put a deadline on a transaction? on: November 27, 2011, 07:02:13 PM
Can you say something like "this transaction becomes void at block X" so if it's not put in a block before then it becomes useless?

I give you a transaction that sends you 11 bitcoins... but I tell you "you better put that in the blockchain in the next 120 blocks, or I'll broadcast another transaction that sends the inputs somewhere else so the transaction to you will be seen as a double-spend."

I'd need a bitcoin client that let me do that, and you'd need one that could take a transaction in some format and then let you decide whether or not to broadcast it for inclusion in the block chain, or told you "sorry, too late, inputs already spent", but that all should work today.
965  Bitcoin / Development & Technical Discussion / Re: A proposal for a scalable blockchain. on: November 27, 2011, 06:38:19 PM
If scalability is a non-issue, then why is storing generic data like Namecoin banned/heavily discouraged?

As Mike said, help on "initial headers-only download" would be much appreciated.

Work-in-progress is here:  https://github.com/bitcoin/bitcoin/tree/blockheaders

... and my notes on issues that have to be worked out are here:  https://gist.github.com/1059233

As for scalability in general:  it looks to me like CPU time to validate transactions will be the bottleneck before bandwidth or disk space, so I don't see a strong reason to switching to a 'ledger' or 'balance sheet' method. Effective optimization/scalability is all about identifying and eliminating bottlenecks.

Quote
"Premature optimization is the root of all evil (or at least most of it) in programming." -- Donald Knuth
966  Bitcoin / Development & Technical Discussion / Re: What purpose was OP_CODESEPARATOR intended for? on: November 27, 2011, 03:49:54 PM
How would that work? The act of inserting sigA or sigB changes the hash of the transaction containing the output, invalidating the other signature.

I can't see how OP_CODESEPARATOR can be used, either. I'm tempted to suggest that any transactions using it be 'discouraged' (have miners refuse to build on blocks that contain transactions using it).

Transaction hashes might be another, separate discussion topic-- I've been thinking that the way transaction hashes are calculated/used could be improved, although I don't think it is a critical design flaw but in the category of "stuff we can live with but that maybe could have been done better".
967  Bitcoin / Bitcoin Discussion / Re: Important privacy issue on bitcoin (identity leak) on: November 24, 2011, 03:24:00 AM
Try running with the -nolisten -noirc flags, see if that works around the problem (and please let me know if it does/doesn't).

I'm not sure any of the current core developers regularly use TOR; getting somebody who does to contribute patches and review code for regressions is a good idea.
968  Bitcoin / Development & Technical Discussion / Re: Time for another testnet reset? on: November 24, 2011, 02:28:53 AM
Yes, who cares if you get extra testnet coins?

But... if somebody wanted to be annoying, they'd pre-generate as long a min-difficulty coinbase-only-transaction chain as the block timestamp rules allowed, and constantly broadcast those blocks.  Just to prevent transactions from getting confirmed.

To prevent that...

Testnet could prefer to build on blocks with more transactions from the memory pool over blocks with fewer transactions from the memory pool (that's not a bad rule for main net, either; might be worth considering if it works well for testnet). The rule now is "build on first valid block seen".

And "discourage" (refuse to directly build on or relay) blocks with timestamps in the future.
969  Bitcoin / Bitcoin Discussion / Re: Wired article on Bitcoin : The Rise and Fall of Bitcoin on: November 23, 2011, 10:16:29 PM
Good, accurate article.

I'm still not Satoshi, though.
970  Bitcoin / Development & Technical Discussion / Re: Time for another testnet reset? on: November 23, 2011, 09:01:58 PM
And just to be clear, this rule will fork the test blockchain between those running on the current or prior versions of the client, and those running on whatever version this change comes out in, right?

Yes.

Any opinions on whether to do a hard reset (new genesis block with the new rules) or a split ("new rules apply to blocks with timestamps after XYZ") ?


RE: scaling down difficulty:  good idea if we were thinking of implementing something like this for the main network.  But I'd want to give everybody lots of time to think long and hard about potential hacks/exploits/unintended consequences if this was being considered for the main network-- sudden drops in hashing power is NOT a problem for the main network, so I don't think it is worth considering now.
971  Bitcoin / Development & Technical Discussion / Re: Time for another testnet reset? on: November 23, 2011, 07:18:24 PM
How about, instead of sharp min difficulty, start scaling the difficulty down smoothly from, maybe 15 minutes and have it reach min difficulty at 20 minutes from last block.

Why?  What problem would that solve?
972  Bitcoin / Development & Technical Discussion / Re: Time for another testnet reset? on: November 23, 2011, 01:25:43 AM
In the spirit of "do the simplest possible thing that works..."  I think I see a very simple thing that will work.

The simple additional rule for the testnet:

If current_block_timestamp - previous_block_timestamp > 20 minutes:
  block difficulty = minimum difficulty

And that's it.

If mining is proceeding normally and most blocks are produced in less than 20 minutes, then the rules are exactly the same as the main network.

But if somebody has driven difficulty way up, then the new rule acts as a safety valve, ensuring that new blocks are created at least once every 20-something minutes or so.  After a month of "safety valve blocks" the difficulty would be calculated as normal, and would get cut in (approximately) half.

This does make the testnet block chain more susceptible to forks -- somebody with a bunch of hashing power can pretty easily invalidate a long chain of 20-minute, min-difficulty blocks if they want to. And there is likely to be a flurry min-difficulty blocks produced/announced every 20 minutes. But that could be considered a feature (test your block-chain-reorganization code!).
973  Bitcoin / Bitcoin Discussion / Re: Bitcoin-Qt/bitcoind version 0.5.0 on: November 22, 2011, 09:17:50 PM
Hm, I just downloaded the .zip version and noticed that the sha1sum doesn't match:
What's up?

I updated the .zip and .tar.gz and SHASUMS.asc a few hours ago, because the .zip and the .tar.gz were expanding to a "bitcoin-rc7" directory.

I'm confused, the file says "bitcoin-0.5.0-win32-setup.exe" but the GUI looks the same and in the version number inside the client it says
version 0.4.0-Beta.

Be sure you run bitcoin-qt.exe, not the old bitcoin.exe.
974  Bitcoin / Development & Technical Discussion / Re: [Bounty] BIP 0011 on: November 22, 2011, 09:10:10 PM
Would the majority of the miners have to upgarde to a BIP 0011 compatible version of the Bitcoin server before we could use this functionality ?
Yes.

I'm testing patches against the last two versions of Bitcoin (0.3.23 and 0.4.1) for BIPs 11 and 12 right now to make it as easy as possible for miners to support them.  Review or help testing is very welcome:

  https://github.com/gavinandresen/bitcoin-git/tree/v0.3.23_op_eval
  https://github.com/gavinandresen/bitcoin-git/tree/v0.4.1_op_eval

975  Bitcoin / Bitcoin Discussion / Re: wxBitcoin/bitcoind version 0.4.1 on: November 22, 2011, 05:45:43 PM
Yes, I forgot to rename the folder.

Uploading a fixed 0.5.0 linux.tar.gz and win32.zip now (and SHASUMS.asc), will do the same for 0.4.1.
976  Bitcoin / Bitcoin Discussion / Re: The new interface in Bitcoin 0.5.0 is BAD! on: November 22, 2011, 05:14:23 PM
i will contact Gavin shortly, i suggest you do the same, don't tell him what they did wrong... tell him why its important to do beta testing outside his the dev team b4 releasing new versions... in all honesty i don't give a fuck how long it take for the client to evolve i just NEED it to be perfect ever time

Mmm... perfect software...

You notice how we aren't at Bitcoin version 1.0 yet?  That the version is "0.5 BETA" ?

If you NEED it to be perfect then you're going to be waiting forever, because no software is ever perfect.

The criteria for a new 0.something release is "Is there general agreement that it is better than the last release."

There is general agreement that the new GUI is better; the huge problem with the old GUI is we have no wxWidgets GUI programmers willing to support the old GUI. There are several people contributing patches to the new Qt GUI.

I've said it before but I'll say it again:  Bitcoin is still a high-risk, high-potential-reward experiment, and you shouldn't invest time or money that you can't afford to lose. We're working hard to make it better, but we're not perfect.

977  Bitcoin / Bitcoin Discussion / Re: Bitcoin-Qt/bitcoind version 0.5.0 on: November 21, 2011, 10:29:22 PM
Gavin, aren't you going to post the hashes signed with your private key?

The download directory contains them in a file called SHASUMS.asc:
  http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.0/SHASUMS.asc/download

... which I'll reproduce here just because it is easy:

Code:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

d80b811852744aaa23bc7eddd23cdac4d56bb50f  bitcoin-0.5.0-linux.tar.gz
86b0de71d601176ba49a84da59baf37ec3b561ec  bitcoin-0.5.0-macosx.dmg
4649a78d3a55843b7ced690694b9b241a26f4d93  bitcoin-0.5.0-win32-setup.exe
97ef546d923e75f309a19f8a52b07affc0942948  bitcoin-0.5.0-win32.zip
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAk7Kdy8ACgkQdYgkL74406g2ogCgiMfivGR4xJOacx/DnYfIiBO0
tlgAmwRYs7eKIgz1v3t1tj1I3NrrBfij
=SFwh
-----END PGP SIGNATURE-----
978  Bitcoin / Development & Technical Discussion / Re: Need a couple of TTC to test a potential bug. on: November 21, 2011, 08:43:30 PM
Does anyone know if gen=1 in bitcoin.conf works in 0.5 on testnet?  It doesn't seem to do anything as far as I can tell.  What I want to do is generate a block so my test transactions get included in the block chain. Smiley
Yes, it aught to work (for bitcoind, at least-- I haven't tested with bitcoin-qt).  getinfo will tell you if it is working (look at "hashespersec").

You might want to run a testnet-in-a-box, it is 60 time easier to generate blocks on it:
  https://sourceforge.net/projects/bitcoin/files/Bitcoin/testnet-in-a-box/
979  Bitcoin / Development & Technical Discussion / Re: Need a couple of TTC to test a potential bug. on: November 21, 2011, 08:12:31 PM
http://testnet.freebitcoins.appspot.com/  has 11,000 testnet coins available.
980  Bitcoin / Bitcoin Discussion / Bitcoin-Qt/bitcoind version 0.5.0 on: November 21, 2011, 05:17:04 PM
Bitcoin version 0.5.0 is now available for download at:
  http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.0/

The major change for this release is a completely new graphical interface that uses the Qt user interface toolkit.

This release include German, Spanish, Spanish-Castilian, Norwegian and Dutch translations. More translations are welcome; join the project at Transifex if you can help:
  https://www.transifex.net/projects/p/bitcoin/

Please report bugs using the issue tracker at github:
  https://github.com/bitcoin/bitcoin/issues

For Ubuntu users, there is a new ppa maintained by Matt Corallo which you can add to your system so that it will automatically keep bitcoin up-to-date.  Just type "sudo apt-add-repository ppa:bitcoin/bitcoin" in your terminal, then install the bitcoin-qt package.

MAJOR BUG FIX  (CVE-2011-4447)

The wallet encryption feature introduced in Bitcoin version 0.4.0 did not sufficiently secure the private keys. An attacker who
managed to get a copy of your encrypted wallet.dat file might be able to recover some or all of the unencrypted keys and steal the
associated coins.

If you have a previously encrypted wallet.dat, the first time you run bitcoin-qt or bitcoind the wallet will be rewritten, Bitcoin will
shut down, and you will be prompted to restart it to run with the new, properly encrypted file.

If you had a previously encrypted wallet.dat that might have been copied or stolen (for example, you backed it up to a public
location) you should send all of your bitcoins to yourself using a new bitcoin address and stop using any previously generated addresses.

Wallets encrypted with this version of Bitcoin are written properly.

Technical note: the encrypted wallet's 'keypool' will be regenerated the first time you request a new bitcoin address; to be certain that the
new private keys are properly backed up you should:

1. Run Bitcoin and let it rewrite the wallet.dat file

2. Run it again, then ask it for a new bitcoin address.
 Bitcoin-Qt: Address Book, then New Address...
 bitcoind: run the 'walletpassphrase' RPC command to unlock the wallet,  then run the 'getnewaddress' RPC command.

3. If your encrypted wallet.dat may have been copied or stolen, send  all of your bitcoins to the new bitcoin address.

4. Shut down Bitcoin, then backup the wallet.dat file.
 IMPORTANT: be sure to request a new bitcoin address before backing up, so that the 'keypool' is regenerated and backed up.

"Security in depth" is always a good idea, so choosing a secure location for the backup and/or encrypting the backup before uploading it is recommended. And as in previous releases, if your machine is infected by malware there are several ways an attacker might steal your bitcoins.

Thanks to Alan Reiner (etotheipi) for finding and reporting this bug.

MAJOR GUI CHANGES

"Splash" graphics at startup that show address/wallet/blockchain loading progress.

"Synchronizing with network" progress bar to show block-chain download progress.

Icons at the bottom of the window that show how well connected you are to the network, with tooltips to display details.

Drag and drop support for bitcoin: URIs on web pages.

Export transactions as a .csv file.

Many other GUI improvements, large and small.

RPC CHANGES

getmemorypool : new RPC command, provides everything needed to construct a block with a custom generation transaction and submit a solution

listsinceblock : new RPC command, list transactions since given block

signmessage/verifymessage : new RPC commands to sign a message with one of your private keys or verify that a message signed by the private key associated with a bitcoin address.

GENERAL CHANGES

Faster initial block download.



Thanks to everybody who contributed code or helped test this release:

Alan Reiner
Alex B
Alex Waters
Ang Iong Chun
Celil
Chris Howie
Chris Moore
David Joel Schwartz
David Perry
Forrest Voight
Gavin Andresen
Janne Pulkkinen
Jeff Garzik
JoelKatz
Khalahan
Luke Dashjr
Matt Corallo
Misbakh-Soloviev Vadim A
Nils Schneider
Pieter Wuille
Victor Leschuk
Wladimir J. van der Laan
celil-kj
cjdelisle
flower
globalcitizen
gmaxwell
kwaaak
mark
p2k
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 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 ... 113 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!