341
|
Bitcoin / Development & Technical Discussion / Re: New vulnerability: know your peer public addresses in 14 minutes
|
on: January 11, 2013, 04:38:45 AM
|
While we ponder this, if you are worried about this, there is a fairly straightforward workaround that will make you immune from this.
Run two bitcoin daemons. One that is a full peer in the network, but has an empty, never-used wallet.
And another with a full wallet that connects to the full peer. You could even run them both on the same machine (you'll use double the CPU and disk space, unfortunately).
RE: "I better alert people before they can be tracked" :
Dan Kaminsky demonstrated that it is pretty easy to tie bitcoin addresses to IP addresses by watching the network last year. If you are worried about being tracked, you should be running bitcoin over Tor and connecting to only trusted nodes. We make no anonymity guarantees.
|
|
|
342
|
Bitcoin / Development & Technical Discussion / Re: bitcoind vs. bitcoin --server
|
on: January 10, 2013, 09:29:53 PM
|
correction: bitcoin-qt/bitcoind command-line arguments have a single-dash, so it would be bitcoin-qt -server
Since you have to set a rpcuser/rpcpassword in the bitcoin.conf file for -server to work anyway, you might want to put "server=1" in the bitcoin.conf file instead of using the command-line argument...
|
|
|
344
|
Bitcoin / Development & Technical Discussion / Re: Help wanted: QA test spendfrom.py (coin control utility)
|
on: January 10, 2013, 06:16:20 PM
|
The only issues are 1) Balances in my P2SH Addresses don't show up, even though the key to spend them is in the wallet and Bitcoin-QT sends transactions from it just fine and they show up in listunspent (though I certainly understand if it isn't in the first version), and 2) The display of amounts seems to round to 4 decimal places, even when the actual amount is something to the full 8 places.
Thanks for helping test! Latest version fixes the p2sh issue. I had it 4-decimal-places because I personally don't care about less than 0.0001 BTC right now. It is 8 now, just because I know you won't be the last person to ask "why does it round." It does seem to have easy_install, but I got a "cannot import name ServiceProxy" when I tried that. If there are python command-line-tool packaging experts, suggestions on how to package this better are welcome. I thought all versions of jsonrpc had a ServiceProxy class, but I guess I'm wrong.
|
|
|
345
|
Bitcoin / Project Development / Re: [BOUNTY] Help test version 0.8, blockchain upgrade
|
on: January 09, 2013, 09:48:04 PM
|
Btw, don't 0.3.24 support timestamps in the logfile?
I think you're right, 0.3.24 does not support -logtimestamps. If I recall correctly, it does log the time at startup; for this particular test, I'm mostly interested in how long the upgrade process takes, so the old version not supporting timestamps isn't a problem.
|
|
|
346
|
Bitcoin / Project Development / [BOUNTY claimed] Help test version 0.8, blockchain upgrade
|
on: January 09, 2013, 06:53:03 PM
|
There are three 0.5 BTC bounties available for people who will help us test the upgrade-to-release-0.8 code.
I'm looking for:
CLAIMED: Somebody running (or willing to install and sync-up) bitcoind/bitcoin-qt version 0.3.24 (need to test upgrading from a very old version of Bitcoin)
CLAIMED: Somebody running a version of Windows with their bitcoin data directory on a FAT32 filesystem (need to test upgrading on a very old filesystem)
CLAIMED: Somebody running Windows XP with an NTFS filesystem (need to test upgrading on a very old operating system)
Detailed instructions on how to test and then claim a bounty are here: https://github.com/gavinandresen/QA/blob/master/HardLinksUpgrade.md
|
|
|
347
|
Bitcoin / Development & Technical Discussion / Re: The trasaction fetch memory exhaustion attack (TFMEA)
|
on: January 09, 2013, 04:17:56 PM
|
Yes, please do a proof-of-concept on testnet. I suspect this code in CTransaction::GetMinFee() makes the attacks either slower or more expensive than you estimate because fees increase for transactions larger than 250Kbytes: // Raise the price as the block approaches full if (nBlockSize != 1 && nNewBlockSize >= MAX_BLOCK_SIZE_GEN/2) { if (nNewBlockSize >= MAX_BLOCK_SIZE_GEN) return MAX_MONEY; nMinFee *= MAX_BLOCK_SIZE_GEN / (MAX_BLOCK_SIZE_GEN - nNewBlockSize); }
I don't think these vulnerabilities are serious enough to warrant Official CVE Numbers, because I think if we create CVE numbers for every expensive-to-mount, easy-to-recover-from DoS vulnerability we will be denial-of-service-ing the attention span of users, and they might start ignoring warnings.
|
|
|
351
|
Bitcoin / Bitcoin Discussion / Re: Automatic Coin Mixing Idea
|
on: January 08, 2013, 12:34:31 AM
|
It wouldn't be hard to prototype a coin mixer using the raw transactions API and a centralized web service (accessible via Tor, if you're worried about it recording your IP address).
If you want to do a really good job, though, you'll need: + Lots of people participating and/or + Lots of time so your mixes are spread out over time
The 'lots of people' will take time, because the mixing code needs very high trust since it'll be spending your coins.
The 'lots of time' might be a practical problem, because the mixer needs your wallet to be unlocked so it can sign mixing transactions.
Somebody should create a working prototype and then for a Bitcoin Foundation grant to fund the web service for a year...
|
|
|
353
|
Bitcoin / Bitcoin Discussion / Re: Formalised Bitcoin Protocol Standard
|
on: January 06, 2013, 04:57:53 PM
|
I completely agree that more documentation is better, as long as you don't fall into the trap of "if the documentation says it it MUST be true."
Suggestions on how to make the wiki better welcome (there is a discussion elsewhere about banning certain people from the wiki because they have a history of starting edit wars, which I would support, and discussion on the Foundation forums about making the wiki infrastructure independend of Mt. Gox, which I also support). Or volunteers to move technical documentation from the wiki to someplace better also welcome.
|
|
|
356
|
Bitcoin / Development & Technical Discussion / Re: Building current master branch - are these dependencies still current??
|
on: January 04, 2013, 03:33:49 AM
|
Yes, those instructions should work, but build-osx.txt tells you how to build bitcoind. See https://github.com/bitcoin/bitcoin/blob/master/doc/readme-qt.rst ... for very similar instructions on building Bitcoin-Qt readme-qt.rst suggests downloading and installing the `Qt Mac OS X SDK` from the QT website, but you can also: port install qt4-mac If something doesn't work, post here, or, even better, submit a patch for the documentation.
|
|
|
357
|
Bitcoin / Development & Technical Discussion / Re: Delayed transactions (using nTimeLock)
|
on: January 03, 2013, 09:21:28 PM
|
theymos is correct; if all the inputs have a UINT_MAX sequence number then lockTime is ignored. Are locked transactions supposed to be supported or not? Yes, they're supported by the network. - Can you easily introduce a locked transaction using the standard client? If not, how?
No, there is no easy way to create such a transaction using the reference code. * Super-duper-bitcoin-ninjas like gmaxwell who edit raw transaction hex to set lock times / sequence numbers don't count.
|
|
|
358
|
Bitcoin / Bitcoin Discussion / Re: Formalised Bitcoin Protocol Standard
|
on: January 02, 2013, 09:37:44 PM
|
In my experience, developers are really good at either ignoring documentation or interpreting it in a way different than the way the author intended.
And spec authors are really good at getting details wrong, no matter how careful they are. And they're really bad at keeping track of changes.
That's why I spent a lot of time over the past year developing test cases and tools that you can run your code against instead of writing specs.
I may just be cynical because I spent so much time in 1997 working on the ISO/IEC-14772-1 Official, Formal Standard.
|
|
|
|