aboutsummaryrefslogtreecommitdiff
path: root/util.cpp
Commit message (Collapse)AuthorAgeFilesLines
* GUI-less build target bitcoind that links to wxBase and shouldn't need GTK,v0.2.7s_nakamoto2010-02-251-2/+3
| | | | | | | | split init and shutdown from ui.cpp into init.cpp, support wxUSE_GUI=0 -- version 0.2.7 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@71 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* run as daemon without GUI,v0.2.6s_nakamoto2010-02-231-1/+3
| | | | | | | | | hooked wxApp::Initialize to ignore gtk-init-check failure if no GUI, fork to daemonize, rpc getinfo, getconnectioncount, getbalance, getgenerate, setgenerate, -- version 0.2.6 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@70 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* Address Book with tabs instead of separate Your Address book, v0.2.4s_nakamoto2010-02-201-1/+5
| | | | | | | | | | | | with live update of default address in main window, New... button on main window for creating new receiving address, made receiving address labels more visible, ask user before paying transaction fee, when sending to bitcoin address also use a bitcoin address for the change, added some event.Skip() to fix UI glitches -- version 0.2.4 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@68 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* safer wxGetTranslation wrappers_nakamoto2010-02-171-0/+29
| | | | git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@67 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* all builds are now with wxWidgets-2.9.0, we are now using UTF-8, v0.2.2s_nakamoto2010-02-171-3/+3
| | | | | | | added support for language translation file locale/<lang>/LC_MESSAGES/bitcoin.mo -- version 0.2.2 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@66 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* command line and JSON-RPC first draft, requires Boost 1.35 or higher for ↵s_nakamoto2010-02-121-1/+2
| | | | | | | | | | | boost::asio, added SetBitcoinAddress and GetBitcoinAddress methods on CScript, critsect interlocks around mapAddressBook, added some random delays in tx broadcast to improve privacy, now compiles with MSVC 8.0 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@60 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* simplify AddAddress, s_nakamoto2010-01-281-1/+76
| | | | | | | | readcompactsize limit, fixed a 64-bit compile error in serialize.h, change status "# blocks" to "# confirmations" and widen the column. git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@53 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* retry IRC if name in use, s_nakamoto2009-12-111-23/+32
| | | | | | | | resize to fit ubuntu's giant default font, scroll debug.log, pause gen during initial block download git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@44 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* bugfix Db::open/close and zombie sockets bugs fix double-close of socket handle,s_nakamoto2009-11-181-4/+6
| | | | | | | | | | keep databases open, close db cursors, initial block download in batches of 500 blocks, fix misc warnings, subver linux-test8 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@40 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* monitor ThreadSocketHandler and terminate and restart if hung, convert ↵s_nakamoto2009-11-131-25/+23
| | | | | | _beginthread to CreateThread wrapper, disconnect inactive connections, ping, break up long messages to speed up initial download, better priorities for initiating connections, track how many nodes have requested our blocks and transactions, status #/offline and warning message on unsent blocks, minimize on close as separate option -- linux-test5 git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@38 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* UI tweaks, use BindListenPort to detect instance already running, ↵s_nakamoto2009-11-071-0/+11
| | | | | | setsockopt(SO_REUSEADDR) so can bind during TIME_WAIT after exit and restart git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@35 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* got rid of CheckForShutdown, replaced some thread-unsafe wxWidgets calls, ↵s_nakamoto2009-11-061-8/+4
| | | | | | Linux fixes, socket send MSG_NOSIGNAL, bind INADDR_ANY, works reliably on Linux now except if wxMessageBox is used in a thread other than the GUI thread git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@33 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* unix build merged in, bitmap resources from xpm instead of rc, better addr ↵s_nakamoto2009-11-051-1/+7
| | | | | | relay, better selection of addrs by time last seen for faster connect git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@32 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* move debug.log and db.log to data dir, portable GetDataDir, optimize ↵s_nakamoto2009-11-011-9/+73
| | | | | | GetBalance, fix repaint bogdown, -addnode and -? switches git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@25 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* better wallet.dat flush, consolidated QueryPerformanceCounter, PRI64d printf ↵s_nakamoto2009-10-291-12/+10
| | | | | | portability git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@20 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* CCriticalSection using wxWidgets instead of Windows OS callss_nakamoto2009-10-291-8/+12
| | | | git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@19 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* addr relaying fixes, proxy option and privacy patches, detect connect to ↵s_nakamoto2009-10-291-51/+119
| | | | | | self, non-final tx locktime changes, fix hide unconfirmed generated git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@18 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* flush wallet.dat, multi-proc, reorg options, revert to startup folder shortcuts_nakamoto2009-10-211-2/+2
| | | | git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@15 1a98c847-1fd6-4fd8-948a-caf3550aa51b
* First commitsirius-m2009-08-301-0/+383
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@1 1a98c847-1fd6-4fd8-948a-caf3550aa51b