#

msg3819

(2 articles)

Kicking the Hornet's Nest - part 16

# Kicking the Hornet's Nest - third edition - part 16 All links, digital (pdf, txt, docx, md) and book in print, can be found at https://hive.blog/@crrdlx/satoshi Edited by [crrdlx](nostr:nprofile1qyv8wumn8ghj7mn0wdj8y6tkv5hxzurs9aex2mrp0yq3wamnwvaz7tmjv4kxz7fwwpexjmtpdshxuet59uqzqqzmcn0yrn7ttq8hrjkk46ysn2tk26rr8f8k4y7xkl74hlh3rcdzm9d3t8), npub: ``` npub1qpdufhjpel94srm3ett2azgf49m9dp3n5nm2j0rt0l2mlmc3ux3qza082j ``` ---- ### Kicking the Hornet's Nest pages 350 - 375 ---- ##### BitcoinTalk #### Re: Bitcoin x86 for Windows ##### _2010-07-27 01:29:42 UTC_ - [-](https://bitcointalk.org/index.php?topic=572.msg5978#msg5978) [_**Quote from: Olipro on July 26, 2010, 01:04:41 PM**_](https://bitcointalk.org/index.php?topic=572.msg5851#msg5851) _Crypto++ 5.6.0:_ [_http://www.cryptopp.com/_](http://www.cryptopp.com/)_Cached SHA256:_ [_http://pastebin.com/rJAYZJ32_](http://pastebin.com/rJAYZJ32)_(although I'm pretty sure this is publically submitted elsewhere, I was linked to it on IRC)_ I added the cached SHA256 state idea to the SVN, rev 113. The speedup is about 70%. I credited it to tcatm based on your post in the x64 thread. I can compile the Crypto++ 5.6.0 ASM SHA code with MinGW but as soon as it runs it crashes. It says its for MASM (Microsoft's assembler) and the sample command line they give looks like Visual C++. Does it only work with the MSVC and Intel compilers? ##### BitcoinTalk #### Re: Proof-of-work difficulty increasing ##### _2010-07-27 03:04:58 UTC_ - [-](https://bitcointalk.org/index.php?topic=43.msg5990#msg5990) New difficulty factor 244.213223092 +35% I updated the first post. date, difficulty factor, % change 2009 1.00 30/12/2009 1.18 +18% 11/01/2010 1.31 +11% 25/01/2010 1.34 +2% 04/02/2010 1.82 +36% 14/02/2010 2.53 +39% 24/02/2010 3.78 +49% 08/03/2010 4.53 +20% 21/03/2010 4.57 +9% 01/04/2010 6.09 +33% 12/04/2010 7.82 +28% 21/04/2010 11.46 +47% 04/05/2010 12.85 +12% 19/05/2010 11.85 -8% 29/05/2010 16.62 +40% 11/06/2010 17.38 +5% 24/06/2010 19.41 +12% 06/07/2010 23.50 +21% 13/07/2010 45.38 +93% 16/07/2010 181.54 +300% 27/07/2010 244.21 +35% ##### BitcoinTalk #### Re: Bitcoin x86 for Windows ##### _2010-07-27 18:27:30 UTC_ - [-](https://bitcointalk.org/index.php?topic=572.msg6069#msg6069) [_**Quote from: BlackEye on July 25, 2010, 10:12:23 PM**_](https://bitcointalk.org/index.php?topic=453.msg5774#msg5774) _I was able to integrate the SHA256 functionality from Crypto++ 5.6.0 into Bitcoin. This is the fastest SHA256 yet using the SSE2 assembly code. Since Bitcoin was sending unaligned data to the block hash function, I had to change the MOVDQA instruction to MOVDQU. I think using the SHA256 functionality from Crypto++ 5.6.0 is the way forward right now._ I added a subset of the Crypto++ 5.6.0 library to the SVN. I stripped it down to just SHA and 11 general dependency files. There shouldn't be any other crypto in there other than SHA. I aligned the data fields and it worked. The ASM SHA-256 is about 48% faster. The combined speedup is about 2.5x faster than version 0.3.3. I guess it's using SSE2. It automatically sets its build configuration at compile time based on the compiler environment. It looks like it has some SSE2 detection at runtime, but it's hard to tell if it actually uses it to fall back if it's not available. I want the release builds to have SSE2. SSE2 has been around since the first Pentium 4. A Pentium 3 or older would be so slow, you'd be wasting your electricity trying to generate on it anyway. This is SVN rev 114. ##### BitcoinTalk #### Re: Bitcoin x86 for Windows ##### _2010-07-27 19:47:42 UTC_ - [-](https://bitcointalk.org/index.php?topic=572.msg6083#msg6083) OK, thanks. I'd also like to know if it runs fine as long as you don't turn on Generate. You'd think as long as it doesn't actually execute any SSE2 instructions, it would still load. At least Pentium 3's could run it without generating. ##### BitcoinTalk #### Re: Having problems specifing -datadir ##### _2010-07-28 20:58:26 UTC_ - [-](https://bitcointalk.org/index.php?topic=601.msg6268#msg6268) It was able to reproduce this. The database doesn't like the relative path. "bitcoind -datadir=./subdir getinfo" works against a running daemon, but trying to start the daemon as "bitcoind -datadir=./subdir" gets that exception. I guess we should resolve the full path before passing it to the database. It looks like you were the first one to ever use -datadir with a relative path. ##### BitcoinTalk #### Re: Build error SVN r115 on my Mac: workaround ##### _2010-07-28 21:23:23 UTC_ - [-](https://bitcointalk.org/index.php?topic=604.msg6273#msg6273) Was that the only thing I broke in the OSX build?! Does it actually work after just that one change? I had to do that for makefile.vc also. It compiled, but SHA-256 didn't work correctly; it returned the same incorrect hash each time. We'll disable it now, and if anyone figures out how to fix it, we can re-enable it then. It's still 1.7x faster from the midstate optimisation. The Crypto++ ASM SHA-256 works with GCC on Linux and Windows (MinGW). I uploaded this makefile.osx change to SVN. (let me know if that compiles now) ##### BitcoinTalk #### Re: Difficulty ##### _2010-07-29 01:16:23 UTC_ - [-](https://bitcointalk.org/index.php?topic=587.msg6301#msg6301) You were looking at the wrong code. Here's the code that applies: **Code:** bool CBlock::CheckBlock() const { ... // Check timestamp if (nTime > GetAdjustedTime() + 2 * 60 * 60) return error("CheckBlock() : block timestamp too far in the future"); ... bool CBlock::AcceptBlock() { ... // Check timestamp against prev if (nTime <= pindexPrev->GetMedianTimePast()) return error("AcceptBlock() : block's timestamp is too early"); The timestamp is limited to up to 2 hours in the future. It can be earlier than the previous block, but it must be greater than the median of the last 11 blocks. The reason for doing it that way is so the time can get corrected in the next block if the previous block had the time too far in the future, like what happened. ##### BitcoinTalk #### Re: Scalability and transaction rate ##### _2010-07-29 02:00:38 UTC_ - [-](https://bitcointalk.org/index.php?topic=532.msg6306#msg6306) The current system where every user is a network node is not the intended configuration for large scale. That would be like every Usenet user runs their own NNTP server. The design supports letting users just be users. The more burden it is to run a node, the fewer nodes there will be. Those few nodes will be big server farms. The rest will be client nodes that only do transactions and don't generate. [_**Quote from: bytemaster on July 28, 2010, 08:59:42 PM**_](https://bitcointalk.org/index.php?topic=532.msg6269#msg6269) _Besides, 10 minutes is too long to verify that payment is good. It needs to be as fast as swiping a credit card is today._ See the snack machine thread, I outline how a payment processor could verify payments well enough, actually really well (much lower fraud rate than credit cards), in something like 10 seconds or less. If you don't believe me or don't get it, I don't have time to try to convince you, sorry. [http://BitcoinTalk.org/index.php?topic=423.msg3819#msg3819](http://bitcointalk.org/index.php?topic=423.msg3819#msg3819) ##### BitcoinTalk #### Re: wiki registration email? ##### _2010-07-29 02:10:46 UTC_ - [-](https://bitcointalk.org/index.php?topic=338.msg6307#msg6307) WTF? How did we get on that? AFAIK, the only e-mail is if you tell the forum to do notifications, and I guess the wiki registration. I'd consider turning off the forum notification e-mails, I don't know why we have that. **Martii Malmi (AKA Sirius) “COPA trial” email #219** **Date: Thu, 29 Jul 2010 03:18:56 +0100** **From: Satoshi Nakamoto <satoshin@gmx.com>** **Subject: Forum e-mail notifications and PBL blacklist and wiki registration** **To: Martti Malmi <mmalmi@cc.hut.fi>** http://www.bitcoin.org/smf/index.php?topic=338.0 _> of e-mail blackhole list or at least the ISP that hosts the e-mail server for registration is on one of those lists._ _>_ _> "Looks like bitcoin.org is listed on the PBL."_ _> http://www.spamhaus.org/pbl/query/PBL340779_ I think our problem may be that we have forum notifications on, like e-mail you when you receive a PM, but we don't have e-mail verification of new accounts. Can someone put someone else's e-mail address without verifying it, then have stuff sent there? We need to stop that right away before it gets used for something bad. Either disallow all notification, or make sure e-mail addresses are verified. I'm more inclined to disallow notifications or anything where the forum sends you e-mail. I kinda like not requiring e-mail verification. But if that's the only way to make sure we don't send e-mails to un-verified addresses, then we could do that. If we request to get off of PBL, we'd better make sure we've got the problem secured first. I changed Registration->settings->registration of new members to "Member Activation". I assume that means it e-mail verifies. "Member Activation When this option is enabled any members registering to the forum will have a activation link emailed to them which they must click before they can become full members" I think that's the only way to make sure the forum can't be used to send to other people's e-mail addresses and potentially use it to spam. ##### BitcoinTalk #### *** ALERT *** Upgrade to 0.3.6 ##### _2010-07-29 19:13:06 UTC_ - [-](https://bitcointalk.org/index.php?topic=626.msg6451#msg6451) Please upgrade to 0.3.6 ASAP! We fixed an implementation bug where it was possible that bogus transactions could be displayed as accepted. Do not accept Bitcoin transactions as payment until you upgrade to version 0.3.6! If you can't upgrade to 0.3.6 right away, it's best to shut down your Bitcoin node until you do. Also in 0.3.6, faster hashing: - midstate cache optimisation thanks to tcatm - Crypto++ ASM SHA-256 thanks to BlackEye Total generating speedup 2.4x faster. Download: [http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.6/](http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.6/) Windows and Linux users: if you got 0.3.5 you still need to upgrade to 0.3.6. ##### BitcoinTalk #### Re: *** ALERT *** version 0.3.6 ##### _2010-07-29 19:55:51 UTC_ - [-](https://bitcointalk.org/index.php?topic=626.msg6469#msg6469) Haven't had time to update the SVN yet. Wait for 0.3.6, I'm building it now. You can shut down your node in the meantime. ##### BitcoinTalk #### Re: *** ALERT *** version 0.3.6 ##### _2010-07-29 20:30:15 UTC_ - [-](https://bitcointalk.org/index.php?topic=626.msg6480#msg6480) SVN is updated with version 0.3.6. Uploading Windows build of 0.3.6 to Sourceforge now, then will rebuild linux. ##### BitcoinTalk #### Re: *** ALERT *** Upgrade to 0.3.6 ASAP! ##### _2010-07-29 21:20:38 UTC_ - [-](https://bitcointalk.org/index.php?topic=626.msg6490#msg6490) 0.3.6 Linux build is back to the old makefile.unix. It static links libjpeg so that shouldn't be a problem. Is that working better? If you got 22DbRunRecoveryException and you've used someone else's build before, you may need to delete (or move the files somewhere else) database/log.000000* Windows and Linux users: if you got 0.3.5 you still need to upgrade to 0.3.6. ##### BitcoinTalk #### Re: *** ALERT *** Upgrade to 0.3.6 ASAP! ##### _2010-07-29 21:43:15 UTC_ - [-](https://bitcointalk.org/index.php?topic=626.msg6502#msg6502) "./bitcoin: /lib64/libc.so.6: version `GLIBC_2.11' not found (required by ./bitcoin)" isn't a new problem that started with 0.3.6 is it? This was built on the same OS installations as 0.3.0. Unfortunately I upgraded to Ubuntu 10.04 before 0.3.0. I will not upgrade anymore. I don't know when I might have time to reinstall to downgrade, but at least by not upgrading, it'll gradually fix itself. ##### BitcoinTalk #### Re: Implementation bug prior to 0.3.6 ##### _2010-07-29 22:04:15 UTC_ - [-](https://bitcointalk.org/index.php?topic=628.msg6508#msg6508) Actually, it works well to just PM me. I'm the one who's going to be fixing it. If you find a security flaw, I would definitely like to hear from you privately to fix it before it goes public. ##### BitcoinTalk #### Re: Transaction disappeared in the void... ##### _2010-07-29 22:08:31 UTC_ - [-](https://bitcointalk.org/index.php?topic=615.msg6512#msg6512) If the transaction didn't go out immediately at first, like if you weren't connected at the time, it may take up to 2 hours to resend it. Long term, it does keep relentlessly sending it. I'll shorten that length of time in a future version. You do need to have downloaded the complete block chain (currently 71040 blocks) before you'll see any confirms. Same with the recipient. ##### BitcoinTalk #### Re: Linux distribution download ##### _2010-07-29 22:17:24 UTC_ - [-](https://bitcointalk.org/index.php?topic=612.msg6516#msg6516) Yeah, acutely aware that I should have stayed on 9.04 or 9.10. It's a lot more work to downgrade than upgrade and I've been squeezed for time. Ubuntu is the most popular distro, so I'm staying with that. ##### BitcoinTalk #### Re: *** ALERT *** Upgrade to 0.3.6 ASAP! ##### _2010-07-29 23:12:12 UTC_ - [-](https://bitcointalk.org/index.php?topic=626.msg6542#msg6542) [_**Quote from: lachesis on July 29, 2010, 10:14:36 PM**_](https://bitcointalk.org/index.php?topic=626.msg6515#msg6515) _On Debian testing 32-bit, I get a few build errors, all resembling:_ _**Code:**_ _script.cpp:114: error: \u0091OP_NOP1\u0092 was not declared in this scope_ _I got these when attempting to "make bitcoind" without "make clean" or "make" first. It looks like the bitcoind build instructions don't compile the headers first, but they also don't delete the headers.h.gch, so the old headers are used if present. If anyone else gets this error, the simplest solution is to "make clean" and retry the build._ We don't really need pre-compiled header. It only makes it compile slightly faster. I think I'll just get rid of it. Even still, you'd still need to remember to "make -f makefile.unix clean" or delete headers.h.gch one more time to get rid of the leftover file. Damn that GLIBC_2.11. I thought I'd been careful not to accept any of the updates. **bitcoin-list** [**bitcoin-list**] Alert: upgrade to bitcoin 0.3.6 _2010-07-30 06:02:38 UTC_ - [-](https://sourceforge.net/p/bitcoin/mailman/message/25843947/) Please upgrade to 0.3.6 ASAP to get an important bugfix. See the bitcoin.org homepage for download links. **Martii Malmi (AKA Sirius) “COPA trial” email #220** **Date: Fri, 30 Jul 2010 06:34:38 +0100** **From: Satoshi Nakamoto <satoshin@gmx.com>** **Subject: [bitcoin-list] Alert: upgrade to bitcoin 0.3.6** **To: bitcoin-list@lists.sourceforge.net** Please upgrade to 0.3.6 ASAP to get an important bugfix. See the bitcoin.org homepage for download links. ##### BitcoinTalk #### Re: Bug: "Immature" coins lost in wallet.dat during transaction ##### _2010-07-30 19:19:05 UTC_ - [-](https://bitcointalk.org/index.php?topic=642.msg6701#msg6701) I don't get how it let you send if it was not matured. Your balance would have been lower than the amount. It would have said balance 0.01, right? If I try that it says "you don't have enough money" or "Insufficient funds" from the command line. How many blocks did it say it had left to mature when you sent? There's a chance it might still go through. Have you copied or moved your wallet.dat in any way? ##### BitcoinTalk #### Re: [PATCH] implement 'listtransactions' ##### _2010-07-30 19:40:54 UTC_ - [-](https://bitcointalk.org/index.php?topic=611.msg6706#msg6706) What are you needing to use listtransactions for? The reason I didn't implement listtransactions is I want to make sure web programmers don't use it. It would be very easy to latch onto that for watching for received payments. There is no reliable way to do it that way and make sure nothing can slip through the cracks. Until we have solid example code using getreceivedbyaddress and getreceivedbylabel to point to and say "use this! use this! don't use listtransactions!", I don't think we should implement listtransactions. When we do implement listtransactions, maybe one way to fight that is to make it all text. It should not break down the fields into e.g. comment, confirmations, credit, debit. It could be one pretty formatted string like "0/unconfirmed 0:0:0 date comment debit 4 credit 0" or something so it's hard for programmers to do the wrong thing and process it. It's only for viewing the status of your server. I guess that would be kinda annoying for web interfaces that would rather format it into html columns though. ##### BitcoinTalk #### Re: *** ALERT *** Upgrade to 0.3.6 ASAP! ##### _2010-07-30 19:53:06 UTC_ - [-](https://bitcointalk.org/index.php?topic=626.msg6711#msg6711) [_**Quote from: knightmb on July 30, 2010, 07:24:07 PM**_](https://bitcointalk.org/index.php?topic=626.msg6702#msg6702) _I can only imagine the pain you went through to get these builds because I'm trying to build the program on a Ubuntu 9.04 box and so far I can't seem to find all the dependencies to compile no matter how much I keep installing packages and compiling source, LOL._ I can't understand why you're having so much pain. I just followed the instructions in build-unix.txt. I made a couple little corrections for Boost 1.37, which I'll put on SVN the next time I update it, noted below: Dependencies ------------ sudo apt-get install build-essential sudo apt-get install libgtk2.0-dev sudo apt-get install libssl-dev sudo apt-get install libdb4.7-dev sudo apt-get install libdb4.7++-dev sudo apt-get install libboost-all-dev (or libboost1.37-dev) wxWidgets --------- cd /usr/local tar -xzvf wxWidgets-2.9.0.tar.gz cd /usr/local/wxWidgets-2.9.0 mkdir buildgtk cd buildgtk ../configure --with-gtk --enable-debug --disable-shared --enable-monolithic make sudo su make install ldconfig added a comment in makefile.unix: # for boost 1.37, add -mt to the boost libraries LIBS= \ -Wl,-Bstatic \ -l boost_system \ -l boost_filesystem \ -l boost_program_options \ -l boost_thread \ -l db_cxx \ -l crypto \ -Wl,-Bdynamic \ -l gthread-2.0 ##### BitcoinTalk #### Re: *** ALERT *** Upgrade to 0.3.6 ASAP! ##### _2010-07-30 21:44:04 UTC_ - [-](https://bitcointalk.org/index.php?topic=626.msg6728#msg6728) [_**Quote from: knightmb on July 30, 2010, 08:04:19 PM**_](https://bitcointalk.org/index.php?topic=626.msg6713#msg6713) _So that last command should simply be __**sudo apt-get install libboost1.37-dev**_ Except that wouldn't work for boost 1.40+ (on Ubuntu 10.04), where you need to get libboost-all-dev. Seems they changed everything around in Boost recently, "-mt" and all that, makes it hard. BTW, I tried Boost 1.34 but it didn't have the boost.interprocess stuff. Mac OSX version is available now. See bitcoin.org or the SourceForge link. ##### BitcoinTalk #### Re: 4 hashes parallel on SSE2 CPUs for 0.3.6 ##### _2010-07-31 00:29:20 UTC_ - [-](https://bitcointalk.org/index.php?topic=648.msg6751#msg6751) That's amazing... So are you saying you use 128-bit registers to SIMD four 32-bit data at once? I've wondered about that for a long time, but I didn't think it would be possible due to addition carrying into the neighbour's value. ##### BitcoinTalk #### Webpage idea: Next predicted difficulty change ##### _2010-07-31 01:32:08 UTC_ - [-](https://bitcointalk.org/index.php?topic=651.msg6760#msg6760) It would be neat if someone had a page (like that handy calculator at [http://www.alloscomp.com/bitcoin/calculator.php](http://www.alloscomp.com/bitcoin/calculator.php)) that projects what the next difficulty adjustment will be. projected difficulty adjustment multiplier = blocks_since_last_adjustment / 2016 ------------------------------------ time_since_last_adjustment / 14_days For instance, if it already got half way to the next adjustment in only 3.5 days instead of 7, we would expect difficulty to double: (1008/2016) / (3.5/14) = 0.5/0.25 = 2.0 Also, it could show the predicted time when the next adjustment will occur, and tell when the last adjustment was and how much it changed. ##### BitcoinTalk #### Re: Linux distribution download ##### _2010-07-31 14:38:52 UTC_ - [-](https://bitcointalk.org/index.php?topic=612.msg6822#msg6822) It can be built with Boost 1.37 or later. ##### BitcoinTalk #### Re: Linux version => No GUI after upgrade. WTF? ##### _2010-08-02 17:39:27 UTC_ - [-](https://bitcointalk.org/index.php?topic=655.msg7057#msg7057) Did it print anything to the console? Are you sure you didn't run "bitcoind"? Try version 0.3.7. ##### BitcoinTalk #### Re: Mac Client Problems Outlined... ##### _2010-08-02 18:02:20 UTC_ - [-](https://bitcointalk.org/index.php?topic=660.msg7068#msg7068) "Minimize to the tray instead of the taskbar" & "Minimize to the tray on close" must not be implemented yet on the Mac. We should grey them out in the next version. ##### BitcoinTalk #### Re: 4 hashes parallel on SSE2 CPUs for 0.3.6 ##### _2010-08-02 19:02:46 UTC_ - [-](https://bitcointalk.org/index.php?topic=648.msg7084#msg7084) Is it 2x fast on AMD and 1/2 fast on Intel? [_**Quote from: tcatm on July 31, 2010, 10:12:38 AM**_](https://bitcointalk.org/index.php?topic=648.msg6797#msg6797) _Btw. Why are you using this alignup<16> function when __attribute__ ((aligned (16))) will tell the compiler to align at compiletime?_ Tried that, but it doesn't work for things on the stack. I ran some tests. It doesn't even cause an error, it just doesn't align it. ##### BitcoinTalk #### Re: Protocol Buffers for Bitcoin ##### _2010-08-02 20:22:08 UTC_ - [-](https://bitcointalk.org/index.php?topic=632.msg7090#msg7090) The reason I didn't use protocol buffers or boost serialization is because they looked too complex to make absolutely airtight and secure. Their code is too large to read and be sure that there's no way to form an input that would do something unexpected. I hate reinventing the wheel and only resorted to writing my own serialization routines reluctantly. The serialization format we have is as dead simple and flat as possible. There is no extra freedom in the way the input stream is formed. At each point, the next field in the data structure is expected. The only choices given are those that the receiver is expecting. There is versioning so upgrades are possible. CAddress is about the only object with significant reserved space in it. (about 7 bytes for flags and 12 bytes for possible future IPv6 expansion) The larger things we have like blocks and transactions can't be optimized much more for size. The bulk of their data is hashes and keys and signatures, which are uncompressible. The serialization overhead is very small, usually 1 byte for size fields. On Gavin's idea about an existing P2P broadcast infrastructure, I doubt one exists. There are few P2P systems that only need broadcast. There are some libraries like Chord that try to provide a distributed hash table infrastructure, but that's a huge difficult problem that we don't need or want. Those libraries are also much harder to install than ourselves. **Martii Malmi (AKA Sirius) “COPA trial” email #221** **Date: Mon, 02 Aug 2010 21:56:06 +0100** **From: Satoshi Nakamoto <satoshin@gmx.com>** **Subject: [Fwd: no activation mail]** **To: Martti Malmi <mmalmi@cc.hut.fi>** Oh great, now we're screwed. We probably got spam blocked because we were allowing registrations without e-mail verification. But now that we've enabled it, our verification e-mails are blocked. There could still be some existing user accounts created before the registration requirement being used by spammers. We're kind of in a jam here. Can you make sure there's nothing else you can think of that might be acting as an open e-mail gateway or way for spammers to use our system for putting out spam? Check the e-mail logs and see if there's been a lot of traffic and what it's from. If you can figure out what the problem was and shut it down, then after you're sure it's fixed, request PBL to take us off the block list. If there's a way to prohibit the forum from sending e-mail notifications, maybe we should do that. -------- Original Message -------- Subject: no activation mail Date: Mon, 02 Aug 2010 22:30:35 +0200 From: Youri <youri.de.bruycker@telenet.be> To: satoshin@gmx.com Hey Satoshin, I tried to register me at the bitcoinforum, but I didn't get an activation mail. Tried the resend activation code option a few times, changed the mailadress from my telenet to my gmail and back, but no luck. Looked at my spam folder but it's not there. So I guess something went wrong, could you activate my account? My username is Skull88. Thanks in advance, Youri **Martii Malmi (AKA Sirius) “COPA trial” email #222** **Date: Mon, 02 Aug 2010 22:08:22 +0100** **From: Satoshi Nakamoto <satoshin@gmx.com>** **Subject: Disabled some notifications** **To: Martti Malmi <mmalmi@cc.hut.fi>** For "normal members" I disabled "Request notification on replies" and "Request notification on new topics". I'm pretty sure there's a notification option for when you receive PMs, but I don't see a way to disable it. If we have to, I guess we could edit the php code. **Martii Malmi (AKA Sirius) “COPA trial” email #223** **Date: Mon, 02 Aug 2010 22:09:20 +0100** **From: Satoshi Nakamoto <satoshin@gmx.com>** **Subject: [Fwd: Forum e-mail notifications and PBL blacklist and wiki registration]** **To: Martti Malmi <mmalmi@cc.hut.fi>** Here's the info about PBL again. -------- Original Message -------- Subject: Forum e-mail notifications and PBL blacklist and wiki registration Date: Thu, 29 Jul 2010 03:18:56 +0100 From: Satoshi Nakamoto <satoshin@gmx.com> To: Martti Malmi <mmalmi@cc.hut.fi> http://www.bitcoin.org/smf/index.php?topic=338.0 _> of e-mail blackhole list or at least the ISP that hosts the e-mail server for registration is on one of those lists._ _>_ _> "Looks like bitcoin.org is listed on the PBL."_ _> http://www.spamhaus.org/pbl/query/PBL340779_ I think our problem may be that we have forum notifications on, like e-mail you when you receive a PM, but we don't have e-mail verification of new accounts. Can someone put someone else's e-mail address without verifying it, then have stuff sent there? We need to stop that right away before it gets used for something bad. Either disallow all notification, or make sure e-mail addresses are verified. I'm more inclined to disallow notifications or anything where the forum sends you e-mail. I kinda like not requiring e-mail verification. But if that's the only way to make sure we don't send e-mails to un-verified addresses, then we could do that. If we request to get off of PBL, we'd better make sure we've got the problem secured first. I changed Registration->settings->registration of new members to "Member Activation". I assume that means it e-mail verifies. "Member Activation When this option is enabled any members registering to the forum will have a activation link emailed to them which they must click before they can become full members" I think that's the only way to make sure the forum can't be used to send to other people's e-mail addresses and potentially use it to spam. ##### BitcoinTalk #### Re: Builds for Ubuntu? ##### _2010-08-03 20:56:11 UTC_ - [-](https://bitcointalk.org/index.php?topic=454.msg7328#msg7328) [_**Quote from: nimnul on August 03, 2010, 05:51:15 PM**_](https://bitcointalk.org/index.php?topic=454.msg7282#msg7282) _Is satoshi noWx patch in 0.3.7 already? Before that bitcoind required wx, and I never seen Satoshi announcing that it's in trunk_ Yes, 0.3.7 has it. It was in rev 112. ##### BitcoinTalk #### Re: Bitcoind x86 binary for CentOS ##### _2010-08-03 21:05:08 UTC_ - [-](https://bitcointalk.org/index.php?topic=685.msg7331#msg7331) [_**Quote from: sgtstein on August 03, 2010, 05:30:37 PM**_](https://bitcointalk.org/index.php?topic=685.msg7275#msg7275) _I have successfully built it with 4.8, 4.7 never would but with 4.8 bitcoind locks up whenever it dumps the initial block download to disk._ ![](file:///tmp/lu30467eu8.tmp/lu30468mlr_tmp_457df10cc75579da.gif) I urge you not to use BDB 4.8. The database/log0000* files will be incompatible if anyone uses your build and then goes back to the official build. ##### BitcoinTalk #### Re: Content-Length header and 500 (was Re: Authentication, JSON RPC and Python) ##### _2010-08-03 21:26:26 UTC_ - [-](https://bitcointalk.org/index.php?topic=689.msg7335#msg7335) [_**Quote from: gavinandresen on August 03, 2010, 06:56:44 PM**_](https://bitcointalk.org/index.php?topic=689.msg7299#msg7299) [_**Quote from: jgarzik on August 03, 2010, 06:09:08 PM**_](https://bitcointalk.org/index.php?topic=689.msg7288#msg7288) _bitcoin requires the Content-Length header, but several JSON-RPC libraries do not provide it. When the Content-Length header is absent, bitcoin returns 500 Internal Server Error._ _Can you be more specific about which JSON libraries don't provide Content-Length ? It'd be nice to document that._ I guess we should try to support the case where there's no Content-Length parameter. I don't want to rip and replace streams though, even if it has to read one character at a time. Edit: That is, assuming there actually are any libraries that don't support Content-Length. ##### BitcoinTalk #### Re: What happens when network is split for prolonged time and reconnected? ##### _2010-08-03 22:45:07 UTC_ - [-](https://bitcointalk.org/index.php?topic=661.msg7356#msg7356) creighto: I agree with that idea. After a few hours, it should be possible for the client to notice if the flow of blocks has dropped off by more than would be likely just by chance. It could tell if it's not hearing the hum of the world anymore. [_**Quote from: knightmb on August 03, 2010, 07:02:13 PM**_](https://bitcointalk.org/index.php?topic=661.msg7303#msg7303) [_**Quote from: gavinandresen on August 03, 2010, 06:38:44 PM**_](https://bitcointalk.org/index.php?topic=661.msg7293#msg7293) _Or if the split lasted long enough (more than 100 blocks), transactions that involve generated coins on the shorter chain would be invalid at the merge._ _Interesting info, so other than some double-spending issues, as long as the block chain isn't separated for more than 100 or so blocks (or 16+ hours),_ In practice, splits are likely to be very asymmetrical. It would be hard to split the world down the middle. More likely it would be a single country vs the rest of the world, lets say a 1:10 split. In that case, it would take the minority fork 10 times as long to generate 100 blocks, so about 7 days. Also it would be super easy for the client to realize it's hearing way too few blocks and something must be wrong. [_**Quote from: knightmb on August 03, 2010, 07:02:13 PM**_](https://bitcointalk.org/index.php?topic=661.msg7303#msg7303) _If there a hard coded limit on split delay? Meaning if I had a small network split from the public network, spent some coin around, came back a few days later and got them sync up to the public network (other than coin generation if it happened) transactions should be fine?_ There's no time limit. Assuming you weren't spending coins generated in the minority fork, or spending someone's double-spends you received, your transactions can get into the other chain at any time later. ##### BitcoinTalk #### Please upgrade to 0.3.8! ##### _2010-08-03 23:40:18 UTC_ - [-](https://bitcointalk.org/index.php?topic=696.msg7364#msg7364) Version 0.3.8 adds an important security improvement. Everyone should upgrade to get this change. The new safety feature displays a warning message in the status bar and locks down RPC if it detects a problem that may require an upgrade. If it sees a longer chain, but it can't process it, then it knows something is wrong. It displays "WARNING: Displayed transactions may not be correct! You may need to upgrade." and makes most RPC commands return an error. It still keeps generating as normal, which is necessary for the stability of the network. There were important security updates in the versions before this too, so if you haven't upgraded recently, it's extremely important that you upgrade now! Also, don't forget, we recently added 2.4x faster generating thanks to tcatm's mid-state caching optimisation and BlackEye's help getting ASM SHA-256 working. Download: [http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.8/](http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.3.8/) ##### BitcoinTalk #### Re: Bitcoind x86 binary for CentOS ##### _2010-08-04 00:09:32 UTC_ - [-](https://bitcointalk.org/index.php?topic=685.msg7372#msg7372) [_**Quote from: knightmb on August 03, 2010, 11:46:46 PM**_](https://bitcointalk.org/index.php?topic=685.msg7365#msg7365) _There are two versions, one built from stock code, the other modified to accept up to 1,000 nodes (hence the super node name)_ I'd rather you didn't make a build of the 1000 node connecting version available. It won't take very many people running that before we have to make another release just to limit the incoming connections. ##### BitcoinTalk #### Re: Please upgrade to 0.3.8! ##### _2010-08-04 00:29:37 UTC_ - [-](https://bitcointalk.org/index.php?topic=696.msg7381#msg7381) I guess SourceForge hasn't updated its mirrors yet. The files are there on the admin side, but not on the user side. I have no idea how long that will take. It's always been immediate in the past. Edit: SourceForge is updated now. ##### BitcoinTalk #### Re: Building initial transaction trust through "coin ripping" ##### _2010-08-04 00:40:40 UTC_ - [-](https://bitcointalk.org/index.php?topic=635.msg7385#msg7385) The software is designed to support things like this. I was going to post details of the plans for Escrow, but since getting slashdotted I haven't had time. ##### BitcoinTalk #### Re: Flood attack 0.00000001 BC ##### _2010-08-04 16:25:36 UTC_ - [-](https://bitcointalk.org/index.php?topic=287.msg7524#msg7524) [_**Quote from: Insti on August 04, 2010, 02:58:31 PM**_](https://bitcointalk.org/index.php?topic=287.msg7498#msg7498) _It seems to do more harm than good because it prevents micropayment implementations such as the one bytemaster is suggesting._ Bitcoin isn't currently practical for very small micropayments. Not for things like pay per search or per page view without an aggregating mechanism, not things needing to pay less than 0.01. The dust spam limit is a first try at intentionally trying to prevent overly small micropayments like that. Bitcoin is practical for smaller transactions than are practical with existing payment methods. Small enough to include what you might call the top of the micropayment range. But it doesn't claim to be practical for arbitrarily small micropayments. ##### BitcoinTalk #### Re: Flood attack 0.00000001 BC ##### _2010-08-05 16:03:21 UTC_ - [-](https://bitcointalk.org/index.php?topic=287.msg7687#msg7687) Forgot to add the good part about micropayments. While I don't think Bitcoin is practical for smaller micropayments right now, it will eventually be as storage and bandwidth costs continue to fall. If Bitcoin catches on on a big scale, it may already be the case by that time. Another way they can become more practical is if I implement client-only mode and the number of network nodes consolidates into a smaller number of professional server farms. Whatever size micropayments you need will eventually be practical. I think in 5 or 10 years, the bandwidth and storage will seem trivial. I am not claiming that the network is impervious to DoS attack. I think most P2P networks can be DoS attacked in numerous ways. (On a side note, I read that the record companies would like to DoS all the file sharing networks, but they don't want to break the anti-hacking/anti-abuse laws.) If we started getting DoS attacked with loads of wasted transactions back and forth, you would need to start paying a 0.01 minimum transaction fee. 0.1.5 actually had an option to set that, but I took it out to reduce confusion. Free transactions are nice and we can keep it that way if people don't abuse them. That brings up the question: if there was a minimum 0.01 fee for each transaction, should we automatically add the fee if it's just the minimum 0.01? It would be awfully annoying to ask each time. If you have 50.00 and send 10.00, the recipient would get 10.00 and you'd have 39.99 left. I think it should just add it automatically. It's trivial compared to the fees many other types of services add automatically. [_**Quote from: FreeMoney on August 04, 2010, 07:30:32 PM**_](https://bitcointalk.org/index.php?topic=287.msg7569#msg7569) _Does including more slow down your hashing rate?_ No, not at all. ##### BitcoinTalk #### Re: Flood attack 0.00000001 BC ##### _2010-08-05 16:30:20 UTC_ - [-](https://bitcointalk.org/index.php?topic=287.msg7694#msg7694) _**Quote from: bytemaster**_ _Payments would generally be advanced, say 1 BTC at a time and when the connection closes any "change" would be returned. This rule makes it impossible to pay for a simple "search query" with no further transactions._ One alternative is to use a round-up system. You pay for, say, 1000 pages or images or downloads or searches or whatever at a time. When you've used up your 1000 pages, you pay for another 1000 pages. If you only use 1 page, then you have 999 left that you may never use, but it's not a big deal because the cost per 1000 is still small. Or you could pay per day. The first time you access the site on a given day, you pay for 24 hours of access. Per 1000 or per day may be easier for consumers to get their heads around too. They worry about per item because it's harder to figure if it might add up too fast. Unlimited for 24 hours they know what the cost will be. Or if 1000 seems like plenty, they're not worrying that it's costing more with each click if they figure 1000 is more than they'll probably use. ##### BitcoinTalk #### Re: Flood attack 0.00000001 BC ##### _2010-08-05 16:39:58 UTC_ - [-](https://bitcointalk.org/index.php?topic=287.msg7696#msg7696) [_**Quote from: bytemaster on August 05, 2010, 03:39:19 PM**_](https://bitcointalk.org/index.php?topic=287.msg7684#msg7684) _The only solution to this problem is to make broadcasting of a transaction "non free". Namely, if you want me to include it you have to pay me. The net (no pun intended) result is that each client would need to pay other clients to whom they even send their transaction, not just the individual who gets it in a block. In this way the laws of economics take over and no one gets a free ride on the transaction broadcast system._ I don't know a way to implement that. The transaction fee to the block creator uses a special trick to include the transaction fee without any additional size. If there was a transaction for each transaction fee, then what about the transactions fees for the transaction fee's transaction? ##### BitcoinTalk #### Re: Who's the Spanish jerk draining the Faucet? ##### _2010-08-05 17:06:03 UTC_ - [-](https://bitcointalk.org/index.php?topic=704.msg7703#msg7703) Silently failing would look bad. [_**Quote from: gavinandresen on August 04, 2010, 08:40:55 PM**_](https://bitcointalk.org/index.php?topic=704.msg7575#msg7575) _1. Rate limit based on the first byte of the IP address (79. or 81. in this case)._ Definitely needed. What rate are you thinking of? Ultimately, it's better to rate limit it than to let it all drain out. [_**Quote from: gavinandresen on August 04, 2010, 08:40:55 PM**_](https://bitcointalk.org/index.php?topic=704.msg7575#msg7575) _3. Rate limit based on last two domains of reverse DNS lookup of the IP address (rima-tde.net in this case)._ That might work surprisingly well. If it works, it keeps them from hitting the rate limit, but the rate limit is there as the last line of defence. [_**Quote from: gavinandresen on August 04, 2010, 08:40:55 PM**_](https://bitcointalk.org/index.php?topic=704.msg7575#msg7575) _4. Make the standard amount given away 0.5 Bitcoins (Bitcoins have gone up 10 times in value since I started the Faucet)._ Definitely time to lower it. ##### BitcoinTalk #### Re: bitcoind transaction to ip address ##### _2010-08-05 17:28:40 UTC_ - [-](https://bitcointalk.org/index.php?topic=711.msg7705#msg7705) It's not implemented. It turned out nobody liked that mode of transfer anyway, so it hasn't had much development attention. ##### BitcoinTalk #### Re: Transaction Overload Solution ##### _2010-08-05 17:38:21 UTC_ - [-](https://bitcointalk.org/index.php?topic=713.msg7706#msg7706) I can't think of a way to implement that. All the transaction fees would be additional transactions. What about the transaction fees for the transaction fee's transaction? ##### BitcoinTalk #### Re: Flood attack 0.00000001 BC ##### _2010-08-05 17:49:43 UTC_ - [-](https://bitcointalk.org/index.php?topic=287.msg7710#msg7710) [_**Quote from: bytemaster on August 05, 2010, 04:46:52 PM**_](https://bitcointalk.org/index.php?topic=287.msg7699#msg7699) _Right now the transaction fee address is left "blank" and the block generator fills it out. Now you would fill it in with the address of the person you are asking to build the block._ If you're only going to have one person work on building the block, that could take days. Oh, do you mean send a different variation to each node with the tx fee written to them? The way it is now, it's whoever builds this gets it. If we needed to, we could have a BitTorrent-esque tit-for-tat for transaction broadcast. Relay paying transactions to me, or I won't relay them to you. It probably won't be an actual problem though. It only takes one node relaying like it should to cancel out 7 others greedily not relaying. ##### BitcoinTalk #### Re: A proposal for a semi-automated Escrow mechanism ##### _2010-08-05 18:08:30 UTC_ - [-](https://bitcointalk.org/index.php?topic=645.msg7712#msg7712) A transaction can be written that requires two signatures to spend it next. You write a payment that requires the signature of both the recipient and the sender to spend it. To release the escrow, you give the recipient the signature for your half, or the payee can return it by giving you his signed half. There's no mediator in this simple case. The recourse is to refuse to ever release it, essentially burning the money. ##### BitcoinTalk #### Re: latency and locality ##### _2010-08-07 16:28:17 UTC_ - [-](https://bitcointalk.org/index.php?topic=723.msg8103#msg8103) Once you get away from a system where each node's influence is proportional to their CPU power, then what else do you use to determine who is (approximately) one person? ----

Kicking the Hornet's Nest - part 14

# Kicking the Hornet's Nest - third edition - part 14 All links, digital (pdf, txt, docx, md) and book in print, can be found at https://hive.blog/@crrdlx/satoshi Edited by [crrdlx](nostr:nprofile1qyv8wumn8ghj7mn0wdj8y6tkv5hxzurs9aex2mrp0yq3wamnwvaz7tmjv4kxz7fwwpexjmtpdshxuet59uqzqqzmcn0yrn7ttq8hrjkk46ysn2tk26rr8f8k4y7xkl74hlh3rcdzm9d3t8), npub: ``` npub1qpdufhjpel94srm3ett2azgf49m9dp3n5nm2j0rt0l2mlmc3ux3qza082j ``` ---- ### Kicking the Hornet's Nest pages 300 - 325 ---- ##### BitcoinTalk #### Re: Security ##### _2010-07-10 12:58:02 UTC_ - [-](https://bitcointalk.org/index.php?topic=240.msg2132#msg2132) I'll start thinking about how to do this. At the moment, you can kind of use -connect. You can use -connect to make it connect to local computers on your LAN, like -connect=192.168.0.100. If you start it out blank and don't let it connect to the main network, the difficulty is still at the original low difficulty. If you've port-forwarded though, then outside nodes might still connect inward to you. With -connect it still uses IRC, do you think it shouldn't get on IRC when you're telling it to only connect to specific nodes with -connect? The main scenario for -connect is where you have a server farm, with two connected to the network and the rest connected to the first two. In that case, you wouldn't want the -connect computers on IRC. void ThreadIRCSeed(void* parg) { if (mapArgs.count("-connect")) return; ##### BitcoinTalk #### Re: Major Meltdown ##### _2010-07-10 13:36:17 UTC_ - [-](https://bitcointalk.org/index.php?topic=202.msg2133#msg2133) [_**Quote from: llama on July 01, 2010, 10:21:47 PM**_](https://bitcointalk.org/index.php?topic=202.msg1920#msg1920) _However, if something happened and the signatures were compromised (perhaps integer factorization is solved, quantum computers?), then even agreeing upon the last valid block would be worthless._ True, if it happened suddenly. If it happens gradually, we can still transition to something stronger. When you run the upgraded software for the first time, it would re-sign all your money with the new stronger signature algorithm. (by creating a transaction sending the money to yourself with the stronger sig) ##### BitcoinTalk #### Re: No blocks downloaded... why? ##### _2010-07-14 16:22:03 UTC_ - [-](https://bitcointalk.org/index.php?topic=323.msg2867#msg2867) So that was responsible for keeping blocks from downloading? The link: "Win32 CPU Cycles vs 'Live Protection' Engines" For BitcoinFX, Live Protection was keeping it from getting CPU for generating coins. You said your friend was getting 1400-1600 khash/s, so it was getting CPU. I guess Live Protection must have been blocking some other part of the program then? ##### BitcoinTalk #### Re: resource hog ##### _2010-07-14 16:29:39 UTC_ - [-](https://bitcointalk.org/index.php?topic=327.msg2871#msg2871) In Windows, you select the process in the task manager, right click, Set Priority. Set it to BelowNormal or Low. That shouldn't make a difference though. If you turn off Generate Coins, does the CPU usage go flat? That would confirm that all the CPU time it's taking is generate, which is idle priority already. It could be it's slow just because you have too many things running at once and you're out of memory. When you switch from one thing to another, it has to page it in from disk. ##### BitcoinTalk #### Re: stopped prodicing coins ##### _2010-07-14 17:04:02 UTC_ - [-](https://bitcointalk.org/index.php?topic=343.msg2880#msg2880) Thanks for making that calculator. The difficulty doubled a day or two ago, plus it's just random and you can have surprisingly long dry spells. ##### BitcoinTalk #### Re: Building Bitcoin 0.3 ##### _2010-07-14 17:34:50 UTC_ - [-](https://bitcointalk.org/index.php?topic=298.msg2885#msg2885) It doesn't work with wxWidgets 2.8, it needs wxWidgets 2.9. Unfortunately, there isn't a Debian package of wxWidgets 2.9 yet. ##### BitcoinTalk #### Re: bitcoin auto-renice-ing ##### _2010-07-14 17:38:31 UTC_ - [-](https://bitcointalk.org/index.php?topic=72.msg2886#msg2886) Laszlo corrected this, but unfortunately it was too late to make it into 0.3.0. There will probably be a 0.3.1 soon though. The problem is I used PRIO_MIN, I should have used PRIO_MAX for the lowest priority. The OS isn't supposed to let you increase priority, so the PRIO_MIN ought to leave it at priority 0. ##### BitcoinTalk #### Re: Stuck on 513 blocks ##### _2010-07-14 18:02:28 UTC_ - [-](https://bitcointalk.org/index.php?topic=305.msg2895#msg2895) This is the second time I've seen this "Live Protection" problem reported. It must be blocking the program's network communication. It sounds like it's allowing connections to be made, hence the 10 connections shown, but not allowing any data to be sent or received on them. We need to understand this problem better. Can someone write some instructions on the wiki explaining how to turn off or add an exclusion to Live Protection or whatever its full proper name is. **Martii Malmi (AKA Sirius) “COPA trial” email #202** **Date: Wed, 14 Jul 2010 22:52:46 +0100** **From: Satoshi Nakamoto <satoshin@gmx.com>** **Subject: Fwd: Re: bitcoin!!!!** **To: Martti Malmi <mmalmi@cc.hut.fi>** I see the interior pages of the old sourceforge wiki are still up, though the homepage forwards. -------- Original Message -------- Subject: Re: bitcoin!!!! Date: Wed, 14 Jul 2010 10:56:21 -0400 From: Sam <samm@sammaloney.com> To: Satoshi Nakamoto <satoshin@gmx.com> References: <201004111508.52168.samm@sammaloney.com> <201007111859.29171.samm@sammaloney.com> <4C3DCD97.8030003@gmx.com> It was an old FAQ on sourceforge that had been linked from slashdot (on a highly visible comment). people were going there because bitcoin.org was down for a while. http://bitcoin.sourceforge.net/wiki/index.php?page=FAQ Probably not an issue anymore, but might be a good idea to delete or update that wiki page. > I don't see any 0.1.5 download links on the FAQ. Do you mean > bitcoin.org/faq? Is it on one of the other languages? Or maybe someone > else fixed it already. > ##### BitcoinTalk #### Re: Error on Ubuntu 10.04 ##### _2010-07-14 18:25:41 UTC_ - [-](https://bitcointalk.org/index.php?topic=318.msg2903#msg2903) What language is your computer set to? Is it set to German, Dutch or Italian? Is it one of those sub-languages like "nl-??"? It's trying to load a translation and failing. You could delete the locale directory that came with bitcoin so it doesn't try to use it. Can someone test each language on Ubuntu and see if there's a problem with just one of them or maybe all three? ##### BitcoinTalk #### Re: Runaway CPU usage for 64bit BitCoin (Linux Client) ##### _2010-07-14 18:45:53 UTC_ - [-](https://bitcointalk.org/index.php?topic=299.msg2908#msg2908) After it initially tries incorrectly to set itself to the lowest priority, the generate thread only changes its priority again temporarily when it finds a block. When you've found a block, you should want it to hurry up and broadcast it as soon a possible before someone else finds one and makes yours invalid. The generate thread only changes to higher priority for less than a second every few days. There should be a 0.3.1 release for this soon. There are a few other issues we need to look at fixing in 0.3.1 before making a release. [_**Quote from: knightmb on July 12, 2010, 10:39:13 PM**_](https://bitcointalk.org/index.php?topic=299.msg2409#msg2409) _On a side note, I've tracked down the other GUI issue. The "minimize to tray instead of taskbar" is what was eating up all the CPU on my system. After I turned this off, the issue was resolved with Runaway CPU. This only seems to affect the 64 bit Client, as the 32 bit Clients I have don't seem to be affected by this. I did notice on the 64 bit Client, what happens is, it spawns multiple "tray" icons until X server finally kills over, so I guess I should submit that as a bug to somewhere?_ ![](file:///tmp/lu30467eu8.tmp/lu30468k10_tmp_e9e08f5cd556c787.gif) That's interesting. I know the minimize to tray on Ubuntu is very clunky, but I didn't know it had a CPU peg problem too. Anyone else able to reproduce this problem? We had this feature disabled on Linux before, but then it seemed better to have the imperfect UI than to lose the feature entirely. I'm thinking we should disable it again on Linux. ##### BitcoinTalk #### Re: Warning this block was not received by any other nodes ##### _2010-07-14 18:56:29 UTC_ - [-](https://bitcointalk.org/index.php?topic=291.msg2913#msg2913) Microsoft Security Essentials Live Protection is blocking your communication with the network. You have connections, which tricks Bitcoin into thinking it's connected, but they are silent because the data is being blocked. You need to make bitcoin.exe an excluded process in Live Protection. This is becoming a common problem. Someone should write this up in a pegged thread. The message "Warning: This block was not received by any other nodes" occurs when Bitcoin broadcasts a block, but nobody confirms they received it. The warning is there just for this kind of situation, where for some reason you have connections, but they have gone dead and nobody can hear you. Your block will never become valid because nobody received it. ##### BitcoinTalk #### Re: Hash/sec Throttling for Democracy ##### _2010-07-14 20:25:06 UTC_ - [-](https://bitcointalk.org/index.php?topic=325.msg2935#msg2935) [_**Quote from: knightmb on July 14, 2010, 07:17:43 PM**_](https://bitcointalk.org/index.php?topic=325.msg2917#msg2917) _So if your computer was only 1% towards solving block 68000_ This is a common point of confusion. There's no such thing as being 1% towards solving a block. You don't make progress towards solving it. After working on it for 24 hours, your chances of solving it are equal to what your chances were at the start or at any moment. It's like trying to flip 37 coins at once and have them all come up heads. Each time you try, your chances of success are the same. The RNG is the OpenSSL secure random number generator. On Windows it's seeded with the complete set of all hardware performance counters since your computer started, on Linux it's dev/random. ##### BitcoinTalk #### Re: Scalability ##### _2010-07-14 21:10:52 UTC_ - [-](https://bitcointalk.org/index.php?topic=286.msg2947#msg2947) The design outlines a lightweight client that does not need the full block chain. In the design PDF it's called Simplified Payment Verification. The lightweight client can send and receive transactions, it just can't generate blocks. It does not need to trust a node to verify payments, it can still verify them itself. The lightweight client is not implemented yet, but the plan is to implement it when it's needed. For now, everyone just runs a full network node. I anticipate there will never be more than 100K nodes, probably less. It will reach an equilibrium where it's not worth it for more nodes to join in. The rest will be lightweight clients, which could be millions. At equilibrium size, many nodes will be server farms with one or two network nodes that feed the rest of the farm over a LAN. ##### BitcoinTalk #### Re: Runaway CPU usage for 64bit BitCoin (Linux Client) ##### _2010-07-15 00:18:23 UTC_ - [-](https://bitcointalk.org/index.php?topic=299.msg3008#msg3008) OK, the undocumented switch "-minimizetotray" which re-enables the option. I uploaded the change to SVN. ##### BitcoinTalk #### Re: [Bitcoin 0.3.0] Runtime error ##### _2010-07-15 14:05:20 UTC_ - [-](https://bitcointalk.org/index.php?topic=373.msg3150#msg3150) More directly, this: [http://BitcoinTalk.org/index.php?topic=246.0](http://bitcointalk.org/index.php?topic=246.0) I will be posting release candidate of 0.3.1 with this fix shortly. Please try that and let me know if it fixes the problem. ##### BitcoinTalk #### Re: Static Linux x86_64 bins for those having libcrypto troubles ##### _2010-07-15 14:33:04 UTC_ - [-](https://bitcointalk.org/index.php?topic=326.msg3157#msg3157) We don't even specify linking glibcxx_3.4.11, so gcc must automatically link it behind the scenes. There's probably a compiler switch that would tell it to static link it. I'm not sure what the licensing issues would be. Typically, compiler stuff is fully redistributable. ##### BitcoinTalk #### Re: resource hog ##### _2010-07-15 14:59:00 UTC_ - [-](https://bitcointalk.org/index.php?topic=327.msg3162#msg3162) Then all the CPU time is the generate thread, which definitely runs at the lowest possible priority, idle priority. It's normal that your CPU meter is 100%. Since it's idle priority, it won't actually slow anything else down, even though the CPU meter is 100%. ##### BitcoinTalk #### Bitcoin 0.3.1 released ##### _2010-07-15 17:05:54 UTC_ - [-](https://bitcointalk.org/index.php?topic=383.msg3198#msg3198) This is a bugfix maintenance release. It is now uploaded to SourceForge. Mac OS X didn't need any fixes so we don't really need to update it, 0.3.0 is still good. The download links are on bitcoin.org Changes: - Added Portuguese translation by Tiago Faria Windows - Fix for 22DbRunRecoveryException if your username has non-ascii characters in it Linux - Laszlo's fix for lowering generate thread to lowest priority - Fix for if you're having trouble with libcrypto linkage - Gavin Andresen's implementation of "start on windowing system startup" option ##### BitcoinTalk #### Re: 0.3.1 release candidate, please test ##### _2010-07-15 17:23:48 UTC_ - [-](https://bitcointalk.org/index.php?topic=383.msg3205#msg3205) Well, it can't hurt to do a backup and it's a good idea to backup regularly, but no, a backup is not required before installing this. ##### BitcoinTalk #### Re: 0.3.1 release candidate, please test ##### _2010-07-15 17:56:43 UTC_ - [-](https://bitcointalk.org/index.php?topic=383.msg3221#msg3221) I don't think you have a particular problem, I think your system is laggy because you're running a lot of things at once and hitting the pagefile because memory is full. You confirmed when you shut off generation that your CPU drops to 0%, so the CPU usage is definitely all idle priority. There's nothing in the 0.3.1 that would affect these things. ##### BitcoinTalk #### Re: Website and software translations ##### _2010-07-15 18:30:22 UTC_ - [-](https://bitcointalk.org/index.php?topic=151.msg3238#msg3238) [_**Quote from: aidos on July 15, 2010, 12:49:11 AM**_](https://bitcointalk.org/index.php?topic=151.msg3017#msg3017) _Ok here is the .po file for French. While I'm at it, I noted a couple of issues: 1. The "About" box didn't take the translation into account, it still displays the english version to me, even though the rest of the software is using the translated strings, and the .po file contains the translation string of the "About" box message. Same problem with the "Apply" button in the Settings window._ I need to give an updated .po file. [_**Quote from: aidos on July 15, 2010, 12:49:11 AM**_](https://bitcointalk.org/index.php?topic=151.msg3017#msg3017) _2. If an transaction's description in the list of transaction in the main window contains a diacritical character (such as "\u00e9\u00e0\u00e8\u00e7"), it's not displayed. I suppose the string is not being properly handled as UTF8 somewhere._ OK, this must be a problem somewhere, I'll have to take a look at it or one of the other devs can. [_**Quote from: aidos on July 15, 2010, 12:49:11 AM**_](https://bitcointalk.org/index.php?topic=151.msg3017#msg3017) _4. About the .po file : - There are a few strings in the .po file that don't needs translation (ie: "Bitcoin"). Maybe those shouldn't be inside _("...") ? - Others shouldn't be split. I can remember one message about transaction fee where the string is split in two to insert the fee value, where you could simply have put a %s. It makes the message harder to translate as I had to go in the source to find exactly what was going on. - Some strings have whitespace at the end or start, which necessity is very debatable, and it's easy to miss in PoEdit._ Many of the strings are in code automatically generated from uiproject.fbp where nothing can be done about these things. I have a program I use to find all the spacing inconsistencies at the beginning and ending of strings in your .po file and manually fix them up before I upload them to SVN. ##### BitcoinTalk #### Re: Website and software translations ##### _2010-07-15 18:37:13 UTC_ - [-](https://bitcointalk.org/index.php?topic=151.msg3242#msg3242) I uploaded an updated bitcoin.po for 0.3.1 attached to this message: [http://BitcoinTalk.org/index.php?topic=151.msg1259#msg1259](http://bitcointalk.org/index.php?topic=151.msg1259#msg1259) please use it if you're starting a new translation. If you already have a po file, poedit can update it. - Get the src directory from the 0.3.1 release candidate posted in the development forum, any version will do: [http://BitcoinTalk.org/index.php?topic=383.0](http://bitcointalk.org/index.php?topic=383.0) - Make a subdirectory under src: locale/??/LC_MESSAGES (?? could be anything really, "en" or your language 2-letter code) - Put your .po file there - Open it with poedit - In poedit, Catalog->Update from sources The key is that the src directory with the sourcefiles needs to be 3 directories up from the .po file. **Martii Malmi (AKA Sirius) “COPA trial” email #203** **Date: Thu, 15 Jul 2010 18:41:10 +0100** **From: Satoshi Nakamoto <satoshin@gmx.com>** **Subject: bitcoin.org drupal users** **To: Martti Malmi <mmalmi@cc.hut.fi>** Is it possible for the translators (at least the more trusted ones) to have user accounts on drupal so they can update their translated text directly? The user accounts on drupal appear to be pretty weak. I created a satoshi account and it can't even edit the side bar stuff, just the main text of pages. I don't think user accounts can access any of the admin stuff. Do you think it's safe, or do you feel insecure about doing that? If you're worried, maybe there's a way to lock just the english version of the homepage. It would be nice if when I need to make changes to the homepage, I could enlist someone like Xunie to do the rote work of reflecting it to all the translations instead of having to do all that work myself. (many light changes don't require understanding the language to fix the translated pages) ##### BitcoinTalk #### Re: Website and software translations ##### _2010-07-15 18:43:54 UTC_ - [-](https://bitcointalk.org/index.php?topic=151.msg3247#msg3247) [**Quote from: SmokeTooMuch on July 13, 2010, 06:55:55 PM**](https://bitcointalk.org/index.php?topic=151.msg2619#msg2619) I recommend to remove the download links at the bottom of the main page. As you can see the links on the English page points to the new 0.3 release, but the other languages only contain links for the old 0.2 version. There's a download box with the current releases on the right anyway, so why not remove the links from the translated pages. I updated them to 0.3.0. I am tempted to remove the download links from the other languages and only keep it on English. They will need to be updated for 0.3.1 soon. Perhaps there's a way for someone to manage the updating of the translated drupal pages. **Martii Malmi (AKA Sirius) “COPA trial” email #204** **Date: Thu, 15 Jul 2010 18:43:55 +0100** **From: Satoshi Nakamoto <satoshin@gmx.com>** **Subject: Fwd: Please update the bitcoin FAQ so new member can have the right info** **To: Martti Malmi <mmalmi@cc.hut.fi>** -------- Original Message -------- Subject: Please update the bitcoin FAQ so new member can have the right info Date: Mon, 12 Jul 2010 14:13:20 -0700 From: Jim Nguyen <jimmy.winn@gmail.com> To: satoshin@gmx.com Hi, In the FAQ of bitcoin.org <http://bitcoin.org> the backing up of the wallet had old instructions, right? Should it just be to back up wallat.dat instead of the entire folder??? See below. "How do I backup my wallet? Your data is stored in the directory ''%appdata%\Bitcoin'', which is typically: Windows XP: C:\Documents and Settings\username\Application Data\Bitcoin Windows Vista: C:\Users\username\AppData\Roaming\Bitcoin It’s recommended that you stop Bitcoin before backing it up to make sure the backup will be correct." ##### BitcoinTalk #### Re: Website and software translations ##### _2010-07-15 19:12:14 UTC_ - [-](https://bitcointalk.org/index.php?topic=151.msg3257#msg3257) Thanks for the Spanish and French translations! The edited and updated .po files are attached. I uploaded these to the SVN. **Martii Malmi (AKA Sirius) “COPA trial” email #205** **Date: Thu, 15 Jul 2010 21:00:12 +0100** **From: Satoshi Nakamoto <satoshin@gmx.com>** **Subject: bitcoin.org server** **To: Martti Malmi <mmalmi@cc.hut.fi>** You did some research when choosing hosting, this was a well chosen one, right? It seems like it would be a tremendous hassle to change, and we've had good luck with this one. Cheaper will usually have some offsetting drawback in quality. I wonder if that extra memory is just disk cache or something. I take it you haven't received anything from that donor yet? He seemed pretty certain he was going to send it, maybe more. (if you get anything, we need to keep private for him the fact that we got a donation) ##### BitcoinTalk #### Re: 0.3.1 release candidate, please test ##### _2010-07-15 21:40:34 UTC_ - [-](https://bitcointalk.org/index.php?topic=383.msg3295#msg3295) [_**Quote from: knightmb on July 15, 2010, 07:37:10 PM**_](https://bitcointalk.org/index.php?topic=383.msg3269#msg3269) _On Windows, the priority of the Coin Generation is still net for normal. If you run BitCoin in Generate Coin mode, then load up something to eat up all the CPU (like CPU hog for example:_ [_http://www.microtask.ca/cpuhog.html_](http://www.microtask.ca/cpuhog.html)_) you'll see that both BitCoin and CPU hog share the CPU 50/50 instead of CPU Hog taking all the CPU and BitCoin running only on idle/low process. The khash/s is also reduced in half, so further evidence that the threads are not running in a lower than normal prioirty._ I was not able to reproduce this. I have dual-proc, so I ran two memory hogs. Bitcoin got 0% of CPU according to the task manager. The khash/sec meter stayed stuck because it couldn't get any CPU to update it. Do you have dual-proc? Are you sure you weren't running a single processor hog? ##### BitcoinTalk #### Re: 0.3.1 release candidate, please test ##### _2010-07-15 22:07:35 UTC_ - [-](https://bitcointalk.org/index.php?topic=383.msg3305#msg3305) [_**Quote from: knightmb on July 15, 2010, 08:15:46 PM**_](https://bitcointalk.org/index.php?topic=383.msg3274#msg3274) _On the Linux client (64 bit), the "minimize on close" will still minimize to tray (causing X server hang after a short while by spawning multiple tray icons)._ I updated the first post with a link to rc2 for linux with the fix for this. Please check that this is fixed for you. Thanks! [http://www.bitcoin.org/download/bitcoin-0.3.1.rc2-linux.tar.gz](http://www.bitcoin.org/download/bitcoin-0.3.1.rc2-linux.tar.gz) ##### BitcoinTalk #### Re: 0.3.1 release candidate, please test ##### _2010-07-15 22:10:19 UTC_ - [-](https://bitcointalk.org/index.php?topic=383.msg3306#msg3306) [_**Quote from: db on July 15, 2010, 08:39:08 PM**_](https://bitcointalk.org/index.php?topic=383.msg3278#msg3278) _The listreceivedbyaddress and getreceivedbyaddress commands are duplicated in bincoind help. (Same in 0.3.0.)_ Yes a bug. It'll have to be fixed in the next version. ##### BitcoinTalk #### Re: "SetIcons(): icon bundle doesn't contain any suitable icon" ##### _2010-07-16 02:43:29 UTC_ - [-](https://bitcointalk.org/index.php?topic=391.msg3362#msg3362) That must be it then. It must be looking for a larger icon like 20x20 but we don't have one. ##### BitcoinTalk #### Re: Proof-of-work difficulty increasing ##### _2010-07-16 14:46:12 UTC_ - [-](https://bitcointalk.org/index.php?topic=43.msg3488#msg3488) The proof-of-work difficulty is currently 45.38. (see [http://www.alloscomp.com/bitcoin/calculator.php](http://www.alloscomp.com/bitcoin/calculator.php)) It's about to increase again in a few hours. It's only been 3-4 days since the last increase, so I expect it will increase by the max of 4 times, or very nearly the max. That would put it at 181.54. The target time between adjustments is 14 days, 14/3.5 days = 4.0 times increase. ##### BitcoinTalk #### Re: Assertion Failure - Ubuntu Lucid ##### _2010-07-16 14:52:04 UTC_ - [-](https://bitcointalk.org/index.php?topic=400.msg3492#msg3492) That's the first time I've seen this error. How many blocks do you have? (in the status bar) You should move your blk*.dat files (in ~/.bitcoin) to another directory and let it start over downloading the block chain again. If you don't mind, could you keep the old blk*.dat files for a little while in case I need to look at them? ##### BitcoinTalk #### Re: Fedora 13 libcrypto ##### _2010-07-16 14:55:23 UTC_ - [-](https://bitcointalk.org/index.php?topic=296.msg3495#msg3495) Please try the 0.3.1 release candidate, it should at least resolve the libcrypto dependency: [http://BitcoinTalk.org/index.php?topic=383.0](http://bitcointalk.org/index.php?topic=383.0) Let me know if that works. ##### BitcoinTalk #### Re: Resending transaction ##### _2010-07-16 15:01:33 UTC_ - [-](https://bitcointalk.org/index.php?topic=303.msg3499#msg3499) Bitcoin automatically rebroadcasts your transactions if it receives new blocks that don't contain them. It may take about an hour to get rebroadcasted. It is relentless though. It will keep nagging the network forever until your transaction gets into a block. ##### BitcoinTalk #### Re: 0.3.1 release candidate, please test ##### _2010-07-16 15:09:59 UTC_ - [-](https://bitcointalk.org/index.php?topic=383.msg3505#msg3505) Because of all the dependencies that different systems don't have. It's easier to just static link what we can. It doesn't increase the size by very much. ##### BitcoinTalk #### Re: Source code documentation ##### _2010-07-16 15:37:00 UTC_ - [-](https://bitcointalk.org/index.php?topic=393.msg3510#msg3510) I like that in libraries for the external API's, but you can probably tell from the code that I'm not a fan of it for interior functions. Big obligatory comment headers for each function space out the code and make you hesitate about creating a small little function where the comment header would be bigger than the function. They're some trouble for maintenance, as changes to the function then require duplicate changes in the comment header. I like to keep code compact so you can see more code on the screen at once. To add them now at this point, what would be written would just be what's obvious from looking at the function. The external API we have, in rpc.cpp, the usage documentation is in the help string. Sorry to be a wet blanket. ##### BitcoinTalk #### Re: Hash() function not secure ##### _2010-07-16 16:13:53 UTC_ - [-](https://bitcointalk.org/index.php?topic=360.msg3520#msg3520) SHA256 is not like the step from 128 bit to 160 bit. To use an analogy, it's more like the step from 32-bit to 64-bit address space. We quickly ran out of address space with 16-bit computers, we ran out of address space with 32-bit computers at 4GB, that doesn't mean we're going to run out again with 64-bit anytime soon. SHA256 is not going to be broken by Moore's law computational improvements in our lifetimes. If it's going to get broken, it'll be by some breakthrough cracking method. An attack that could so thoroughly vanquish SHA256 to bring it within computationally tractable range has a good chance of clobbering SHA512 too. If we see a weakness in SHA256 coming gradually, we can transition to a new hash function after a certain block number. Everyone would have to upgrade their software by that block number. The new software would keep a new hash of all the old blocks to make sure they're not replaced with another block with the same old hash. ##### BitcoinTalk #### Re: Request: expected bitcoins per day display ##### _2010-07-16 16:47:14 UTC_ - [-](https://bitcointalk.org/index.php?topic=397.msg3524#msg3524) Many businesses are like that. For a car salesman, when will the next customer walk in the door? On the OP's question, it's a good feature, but the question is, how would we word it so people don't expect to get something after that specific amount of time? "it said 7 days and I waited more than a week and didn't get anything!" Approx, average, but still they're going to think that way. It can't be a whole sentence, unless we think of somewhere else to put it, but where would that be? Suggestions? The difficulty quadrupled a few minutes ago to 181.54. It's going to take typically about a week to generate now. ##### BitcoinTalk #### Re: Proof-of-work difficulty increasing ##### _2010-07-16 16:56:54 UTC_ - [-](https://bitcointalk.org/index.php?topic=43.msg3526#msg3526) It adjusted to 181.54 a few minutes ago. Typical time to get a block is about a week now. The difficulty can adjust down as well as up. The network should be generating close to 6 blocks per hour now. ##### BitcoinTalk #### Re: Source code documentation ##### _2010-07-16 17:15:47 UTC_ - [-](https://bitcointalk.org/index.php?topic=393.msg3534#msg3534) It's in init.cpp. It's a wxWidgets app, so it doesn't have a main() function. It may in a little while, since I'm pretty close to making bitcoind build w/o wxBase. (it'll be in init.cpp) Sorry about my choice of the filename "main.cpp", another possible name would have been "core.cpp". It's much too late to change. I still prefer main.cpp. We're still in great need of sample code showing the recommended way to use the JSON-RPC functions, like for a basic account system on a typical storefront website. Using getreceivedbylabel using the username as the label, changing to a new bitcoin address once the stored one for that account gets used. I posted a sample code fragment on the forum somewhere. (search on getreceivedbylabel or getnewaddress) The sample code could be a plain vanilla bank site where you can deposit and send payments. ##### BitcoinTalk #### Re: 0.3.1 release candidate, please test ##### _2010-07-16 17:26:17 UTC_ - [-](https://bitcointalk.org/index.php?topic=383.msg3536#msg3536) Good point. If you're going to have more than 8 LAN nodes connect to one gateway node, then you'd better have the gateway node set up so it can receive incoming connections. Otherwise, while the gateway node has 8 or more connections, it will not try to add any more outbound connections. As the outside nodes you're connected to come and go, it doesn't make new outbound connections to replace them. You'll be fine if you can accept incoming connections, then there will be plenty of others connecting to you. ##### BitcoinTalk #### Re: Proof-of-work difficulty increasing ##### _2010-07-16 17:29:28 UTC_ - [-](https://bitcointalk.org/index.php?topic=43.msg3537#msg3537) Yes, about 20 hours. (120 conf / 6 blocks per hour = 20 hours) That's the normal length of time before you can spend it. You know long before that that you won one. ##### BitcoinTalk #### Re: bitcoin trademark? ##### _2010-07-16 17:47:05 UTC_ - [-](https://bitcointalk.org/index.php?topic=378.msg3540#msg3540) No, not related at all. ##### BitcoinTalk #### Re: The dollar cost of bitmining energy ##### _2010-07-16 17:58:44 UTC_ - [-](https://bitcointalk.org/index.php?topic=403.msg3545#msg3545) Neat chart. Difficulty just increased by 4 times, so now your cost is US$0.02/BTC. ##### BitcoinTalk #### Re: Website integration for bitcoin ##### _2010-07-16 18:23:04 UTC_ - [-](https://bitcointalk.org/index.php?topic=364.msg3559#msg3559) I've been trying to encourage someone to write and release some sample Python code showing the recommended way to do the typical accounting stuff, but to no avail. It would be nice if you didn't have to re-invent the wheel like you're doing here. Search on getnewaddress and you should find a thread where I gave a small fragment of sample pseudocode. ##### BitcoinTalk #### Re: Proof-of-work difficulty increasing ##### _2010-07-16 18:43:51 UTC_ - [-](https://bitcointalk.org/index.php?topic=43.msg3565#msg3565) Right, the difficulty adjustment is trying to keep it so the network as a whole generates an average of 6 blocks per hour. The time for your block to mature will always be around 20 hours. The recent adjustment put us back to close to 6 blocks per hour again. There's a site where you can see the time between blocks, and since block 68545, it's been more like 10 minutes per block: [http://nullvoid.org/bitcoin/statistix.php](http://nullvoid.org/bitcoin/statistix.php) ##### BitcoinTalk #### Sample account system using JSON-RPC needed ##### _2010-07-16 19:45:10 UTC_ - [-](https://bitcointalk.org/index.php?topic=417.msg3579#msg3579) We need someone to write sample code, preferably Python or Java, showing the recommended way to use the JSON-RPC interface to create an account system. Most sites that sell things will need something like this. Someone who's kept up on the JSON-RPC threads here should have some idea how it should work. When a user is logged in to their account, you show the bitcoin address they can send to to add funds. Before showing it, you check if it's been used, if it has then you replace it with a new one (getnewaddress <username>). You only need to keep the latest bitcoin address for the account in your database. (I posted a sample code fragment for this in an earlier thread somewhere, search on getnewaddress) You use getreceivedbylabel <username> with the username as the label to get the "credit" amount of the account. You need to keep a "debit" amount in your database. The current balance of the account is (credit - debit). When the user spends money, you increase debit. If you're requiring more than 0 confirmations, it's nice if you show the current balance (0 confirmations) and the available balance (1 or more confirmations), so they can immediately see that their payment is acknowledged. Not all sites need to wait for confirmations, so the dual current & available should be optional. Most sites selling digital goods are fine to accept 0 confirmations. A nice sample app for this would be a simple bank site, which would have the above, plus the option to send a payment to a bitcoin address. The sample code should be the simplest possible with the minimum extra stuff to make it a working site. vekja.net is an example of a site like this. ##### BitcoinTalk #### Re: Bitcoin 0.3.1 released ##### _2010-07-16 21:06:57 UTC_ - [-](https://bitcointalk.org/index.php?topic=383.msg3590#msg3590) I uploaded windows 0.3.1 rc1 and linux 0.3.1 rc2 to SourceForge and updated the links on the homepage. You don't need to update to 0.3.1 unless you had one of the problems listed in the first post. If you've got it working already, stay with 0.3.0. ##### BitcoinTalk #### Re: A New Currency System for the World ##### _2010-07-16 22:20:09 UTC_ - [-](https://bitcointalk.org/index.php?topic=128.msg3605#msg3605) [_**Quote from: hugolp on May 08, 2010, 10:38:51 AM**_](https://bitcointalk.org/index.php?topic=128.msg1082#msg1082) _When I run bitcoin it becomes very sluggish, almost unusable. When I stop bitcoin everything goes ok again. Its running Ubuntu desktop 10.04 amd64 using ia32libs and the binary in bitcoin 0.20 tarball._ 0.3.1 fixes that, sets the generate threads to the lowest priority. Download links are on the homepage now. ##### BitcoinTalk #### Re: BUG Report: Rounding glitch ##### _2010-07-17 16:06:12 UTC_ - [-](https://bitcointalk.org/index.php?topic=432.msg3769#msg3769) It must be a rounding error when getinfo converts to floating point to return the JSON-RPC result. The only place where it uses floating point to represent money is returning a value in JSON-RPC. 1.139999999999 is longer than bitcoin can internally represent. internally, it could only be: 1.13999999 or 1.14000000 1.139999999999 is much much closer to 1.14000000 than 1.13999999, so it must be 1.14000000. The code is this: (double)GetBalance() / (double)COIN. (I can't think of an easy way to fix it at the moment) ##### BitcoinTalk #### Re: Privacy versus Safety: handling change ##### _2010-07-17 16:27:39 UTC_ - [-](https://bitcointalk.org/index.php?topic=434.msg3770#msg3770) We should queue up a supply of pre-made addresses in the wallet to use when a new address is needed. They aren't very big, so it wouldn't hurt to have a lot of them. This would more generally cover the case also where someone backs up, then requests a new address and receives a big payment with it. Maybe there should be separate queues so one type of demand on addresses doesn't deplete it for the others. The addresses would be created and stored in the normal place, but also listed on a separate list of created-but-never-used addresses. When an address is requested, the address at the front of the never-used queue is handed out, and a new address is created and added to the back. There's some kind of rescan in the block loading code that was made to repair the case where someone copied their wallet.dat. I would need to check that the rescan handles the case of rediscovering received payments in blocks that were already received, but are forgotten because the wallet was restored. ##### BitcoinTalk #### Re: Nenolod, the guy that wants to prove Bitcoin doesn't work. ##### _2010-07-17 16:56:06 UTC_ - [-](https://bitcointalk.org/index.php?topic=431.msg3773#msg3773) 0.3.2 has some security safeguards to lock in the block chain up to this point and limit the damage a little if someone gets 50%. But if someone has 50%+ of the CPU power and malicious intent, they can prove what it already says in the design document. ##### BitcoinTalk #### Bitcoin 0.3.2 released ##### _2010-07-17 21:35:51 UTC_ - [-](https://bitcointalk.org/index.php?topic=437.msg3807#msg3807) Download links available now on bitcoin.org. Everyone should upgrade to this version. - Added a simple security safeguard that locks-in the block chain up to this point. - Reduced addr messages to save bandwidth now that there are plenty of nodes to connect to. - Spanish translation by milkiway. - French translation by aidos. The security safeguard makes it so even if someone does have more than 50% of the network's CPU power, they can't try to go back and redo the block chain before yesterday. (if you have this update) I'll probably put a checkpoint in each version from now on. Once the software has settled what the widely accepted block chain is, there's no point in leaving open the unwanted non-zero possibility of revision months later. ##### BitcoinTalk #### Re: Bitcoin snack machine (fast transaction problem) ##### _2010-07-17 22:29:13 UTC_ - [-](https://bitcointalk.org/index.php?topic=423.msg3819#msg3819) I believe it'll be possible for a payment processing company to provide as a service the rapid distribution of transactions with good-enough checking in something like 10 seconds or less. The network nodes only accept the first version of a transaction they receive to incorporate into the block they're trying to generate. When you broadcast a transaction, if someone else broadcasts a double-spend at the same time, it's a race to propagate to the most nodes first. If one has a slight head start, it'll geometrically spread through the network faster and get most of the nodes. A rough back-of-the-envelope example: 1 0 4 1 16 4 64 16 80% 20% So if a double-spend has to wait even a second, it has a huge disadvantage. The payment processor has connections with many nodes. When it gets a transaction, it blasts it out, and at the same time monitors the network for double-spends. If it receives a double-spend on any of its many listening nodes, then it alerts that the transaction is bad. A double-spent transaction wouldn't get very far without one of the listeners hearing it. The double-spender would have to wait until the listening phase is over, but by then, the payment processor's broadcast has reached most nodes, or is so far ahead in propagating that the double-spender has no hope of grabbing a significant percentage of the remaining nodes. ##### BitcoinTalk #### Re: Assertion Failure - Ubuntu Lucid ##### _2010-07-17 22:37:06 UTC_ - [-](https://bitcointalk.org/index.php?topic=400.msg3823#msg3823) [_**Quote from: singpolyma on July 17, 2010, 10:19:48 PM**_](https://bitcointalk.org/index.php?topic=400.msg3815#msg3815) _My coins disappeared, but I assume they'll come back when it's up to current?_ Right, they'll re-appear when it's finished downloading all the blocks. ##### BitcoinTalk #### Re: Bitcoin 0.3.2 released ##### _2010-07-17 22:54:24 UTC_ - [-](https://bitcointalk.org/index.php?topic=437.msg3825#msg3825) [_**Quote from: llama on July 17, 2010, 09:56:25 PM**_](https://bitcointalk.org/index.php?topic=437.msg3810#msg3810) _However, it's important that you don't lock all the way up the very latest block. Otherwise, the attacker could generate a fake block (or a few) right before you happen to lock it, and then his attack would be far easier than it would have been without the block lock._ I went about 200 blocks back. The block chain was a clean straight line without branches, and there was only one known version of the locked block. [_**Quote from: llama on July 17, 2010, 09:56:25 PM**_](https://bitcointalk.org/index.php?topic=437.msg3810#msg3810) _Also, I'm assuming that the block lock means that the blocks will also come prepackaged with the client. Is this so?_ Sorry, not yet, but I do want to make the initial block download faster. ##### BitcoinTalk #### Re: Source code documentation ##### _2010-07-17 23:18:30 UTC_ - [-](https://bitcointalk.org/index.php?topic=393.msg3828#msg3828) I didn't realize you were going to document all the intentionally undocumented commands. They're unsupported and not intended to be used by users. All the user-facing commands are listed in the -? help. ##### BitcoinTalk #### Re: Network Size ##### _2010-07-17 23:25:16 UTC_ - [-](https://bitcointalk.org/index.php?topic=419.msg3830#msg3830) [_**Quote from: NewLibertyStandard on July 17, 2010, 10:22:09 PM**_](https://bitcointalk.org/index.php?topic=419.msg3817#msg3817) _Version 0.3 was supposed to reduce the number of outgoing connections on non-port forwarded clients from 15 to 8, but I don't think it really happened. I'm not positive if this is the case. Correct me if I'm wrong._ In 0.3.0, the change to 8 only ended up in the Windows version, the other versions still had 15. Please upgrade to 0.3.2, it's available now. ----