novacoin.git
12 years agoBump version to 0.3.24.
Jeff Garzik [Sat, 2 Jul 2011 20:55:11 +0000]
Bump version to 0.3.24.

12 years agoMerge branch 'tmp2' into tmp3
Jeff Garzik [Sat, 2 Jul 2011 20:46:07 +0000]
Merge branch 'tmp2' into tmp3

12 years agoMerge pull request #374 from TheBlueMatt/neterror
Jeff Garzik [Sat, 2 Jul 2011 19:04:09 +0000]
Merge pull request #374 from TheBlueMatt/neterror

Give more detailed error messages for connection failure.

12 years agoGive more detailed error messages for connection failure.
Matt Corallo [Sat, 2 Jul 2011 01:59:37 +0000]
Give more detailed error messages for connection failure.

12 years agoMerge pull request #372 from TheBlueMatt/upnp
Jeff Garzik [Sat, 2 Jul 2011 02:39:05 +0000]
Merge pull request #372 from TheBlueMatt/upnp

Make UPnP default on Bitcoin but not on Bitcoind.

12 years agoMerge pull request #373 from EricJ2190/master
Jeff Garzik [Sat, 2 Jul 2011 00:38:24 +0000]
Merge pull request #373 from EricJ2190/master

Another Visual C++ Makefile Update

12 years agoAdd keystore.h to makefile.vs's header list.
Eric Hosmer [Sat, 2 Jul 2011 00:17:10 +0000]
Add keystore.h to makefile.vs's header list.

12 years agoFurther updated Visual C++ makefile.
Eric Hosmer [Sat, 2 Jul 2011 00:14:02 +0000]
Further updated Visual C++ makefile.

12 years agoMake UPnP default on Bitcoin but not on Bitcoind.
Matt Corallo [Fri, 1 Jul 2011 23:03:07 +0000]
Make UPnP default on Bitcoin but not on Bitcoind.

This is a bit of an ugly hack, but its the only way to do it.

12 years agoMerge pull request #343 from muggenhor/proper-http-server-rejection
Jeff Garzik [Fri, 1 Jul 2011 23:34:49 +0000]
Merge pull request #343 from muggenhor/proper-http-server-rejection

rpc server: send '403 Forbidden' to rejected clients

12 years agoMerge pull request #368 from TheBlueMatt/dnsseed
Jeff Garzik [Fri, 1 Jul 2011 23:33:28 +0000]
Merge pull request #368 from TheBlueMatt/dnsseed

Only use dnsseeds when not on testnet.

12 years agoMerge pull request #371 from EricJ2190/master
Jeff Garzik [Fri, 1 Jul 2011 23:31:33 +0000]
Merge pull request #371 from EricJ2190/master

Updated Visual C++ Makefile

12 years agoEnable DNS seeding by default.
Jeff Garzik [Fri, 1 Jul 2011 21:58:03 +0000]
Enable DNS seeding by default.

12 years agoMerge pull request #369 from sipa/limitblocksend
Jeff Garzik [Fri, 1 Jul 2011 21:51:48 +0000]
Merge pull request #369 from sipa/limitblocksend

Limit size of response to getblocks

12 years agoUpdated Visual C++ makefile.
Eric Hosmer [Fri, 1 Jul 2011 16:58:48 +0000]
Updated Visual C++ makefile.

12 years agoOnly use dnsseeds and static seeds when not on testnet.
Matt Corallo [Fri, 1 Jul 2011 00:09:51 +0000]
Only use dnsseeds and static seeds when not on testnet.

12 years agoLimit response to getblocks to half of output buffer size
Pieter Wuille [Thu, 30 Jun 2011 21:29:44 +0000]
Limit response to getblocks to half of output buffer size

Introduce SendBufferSize() and ReceiveBufferSize(), and limit
the blocks sent as response to the "getblocks" message to
half of the active send buffer size.

12 years agoMerge pull request #367 from TheBlueMatt/dnsseed
Jeff Garzik [Thu, 30 Jun 2011 21:51:55 +0000]
Merge pull request #367 from TheBlueMatt/dnsseed

Add new DNSSeed dnsseed.bluematt.me.

12 years agoAdd new DNSSeed dnsseed.bluematt.me.
Matt Corallo [Thu, 30 Jun 2011 21:42:59 +0000]
Add new DNSSeed dnsseed.bluematt.me.

This seed will pull a random set of 20 nodes from the network which
are tested to be online instead of a static list.

12 years agoMerge pull request #357 from jrmithdobbs/osx-appbundle
Gavin Andresen [Wed, 29 Jun 2011 14:52:14 +0000]
Merge pull request #357 from jrmithdobbs/osx-appbundle

Add OSX App bundle and correct build instructions to reflect reality.

12 years agoMerge pull request #361 from spiechu/polish-translation
Gavin Andresen [Wed, 29 Jun 2011 14:13:04 +0000]
Merge pull request #361 from spiechu/polish-translation

added polish translation

12 years agoMerge pull request #362 from ius/issue340
Pieter Wuille [Tue, 28 Jun 2011 20:47:08 +0000]
Merge pull request #362 from ius/issue340

Fix connection failure debug output

12 years agoFix connection failure debug output
Joerie de Gram [Tue, 28 Jun 2011 20:16:12 +0000]
Fix connection failure debug output

12 years agoadded polish translation
Dawid Spiechowicz [Tue, 28 Jun 2011 18:37:51 +0000]
added polish translation

12 years agoFix AddressBook syncrhonization between a CWallet and CWalletDB
Stéphane Gimenez [Mon, 27 Jun 2011 21:22:30 +0000]
Fix AddressBook syncrhonization between a CWallet and CWalletDB

This problem was reported independently by laanwj in Issue #350.

12 years agoMerge pull request #356 from gavinandresen/unitTest
Gavin Andresen [Mon, 27 Jun 2011 20:30:44 +0000]
Merge pull request #356 from gavinandresen/unitTest

Boost unit-testing framework. Thanks to Steve (gasteve in irc) for original code.

12 years agoAdd OSX App bundle and correct build instructions to reflect reality.
Doug Huff [Mon, 27 Jun 2011 20:11:35 +0000]
Add OSX App bundle and correct build instructions to reflect reality.

12 years agoBoost unit-testing framework.
Gavin Andresen [Mon, 27 Jun 2011 18:05:02 +0000]
Boost unit-testing framework.
make -f makefile.{unix,osx,mingw} test_bitcoin
to compile dumb, do-almost-nothing placeholder unit tests.

12 years agorpc: don't send 403 when using SSL to prevent DoS
Giel van Schijndel [Sat, 25 Jun 2011 02:31:48 +0000]
rpc: don't send 403 when using SSL to prevent DoS

Signed-off-by: Giel van Schijndel <me@mortis.eu>

12 years agorpc server: send '403 Forbidden' to rejected clients
Giel van Schijndel [Fri, 24 Jun 2011 17:26:47 +0000]
rpc server: send '403 Forbidden' to rejected clients

In order to be a proper HTTP implementation clients that aren't allowed
to connect to the RPC server (using -rpcallowip), should receive a
proper HTTP response.  So instead of closing the connection on them send
a '403 Forbidden' status.

Signed-off-by: Giel van Schijndel <me@mortis.eu>

12 years agoMerge pull request #347 from sipa/delkeyuser
Pieter Wuille [Sun, 26 Jun 2011 10:04:39 +0000]
Merge pull request #347 from sipa/delkeyuser

Fix segfault when creating new wallet

12 years agoFix segfault when creating new wallet
Pieter Wuille [Sun, 26 Jun 2011 00:37:52 +0000]
Fix segfault when creating new wallet

The initialization of the default key used keyUser instead
of vchDefaultKey. keyUser is now complete removed.

12 years agoMerge branch 'totalblocksestimate1' of https://github.com/laanwj/bitcoin
Gavin Andresen [Fri, 24 Jun 2011 15:17:22 +0000]
Merge branch 'totalblocksestimate1' of https://github.com/laanwj/bitcoin

12 years agoMerge pull request #342 from jburkle/datadir_check
Jeff Garzik [Fri, 24 Jun 2011 04:43:30 +0000]
Merge pull request #342 from jburkle/datadir_check

Edited init.cpp to include a check that -datadir exists

12 years agoEdited init.cpp to include a check that -datadir exists
James Burkle [Fri, 24 Jun 2011 03:43:26 +0000]
Edited init.cpp to include a check that -datadir exists

12 years agoMerge pull request #334 from sipa/walletclass
Pieter Wuille [Mon, 20 Jun 2011 18:10:58 +0000]
Merge pull request #334 from sipa/walletclass

Bugfixes walletclass

12 years agoBugfixes walletclass
Pieter Wuille [Sun, 19 Jun 2011 16:32:36 +0000]
Bugfixes walletclass

Some problems found by ius:
* compiler complains with no return after critical section block
* CKeyStore::GetPrivKey(key) was undefined for unknown key
* missing return statement in GetChange()

12 years agoMerge pull request #332 from shanew/master
Jeff Garzik [Mon, 20 Jun 2011 03:04:24 +0000]
Merge pull request #332 from shanew/master

Include missing Boost header

12 years agoMerge pull request #331 from TheBlueMatt/translatefix
Jeff Garzik [Mon, 20 Jun 2011 03:03:08 +0000]
Merge pull request #331 from TheBlueMatt/translatefix

Update translations and remove obsolete translations.

12 years agoFix missing includes needed for Boost 1.46.
Shane Wegner [Sun, 19 Jun 2011 22:12:31 +0000]
Fix missing includes needed for Boost 1.46.

12 years agoCWalletTx::GetAmounts(): pass NULL for CKeyStore*, rather than false
Jeff Garzik [Sun, 19 Jun 2011 01:50:05 +0000]
CWalletTx::GetAmounts(): pass NULL for CKeyStore*, rather than false
to fix warning.

12 years agoMerge pull request #288 from sipa/walletclass
Pieter Wuille [Sun, 19 Jun 2011 00:36:25 +0000]
Merge pull request #288 from sipa/walletclass

CWallet class

12 years agoadd GetTotalBlocksEstimate() function, move magic number to constant
Wladimir J. van der Laan [Sat, 18 Jun 2011 17:05:39 +0000]
add GetTotalBlocksEstimate() function, move magic number to constant

12 years agoUpdate translations and remove obsolete translations.
Matt Corallo [Sat, 18 Jun 2011 13:06:24 +0000]
Update translations and remove obsolete translations.

12 years agodoc/release-process.txt: minor updates
Jeff Garzik [Thu, 16 Jun 2011 21:52:38 +0000]
doc/release-process.txt: minor updates

12 years agoCWallet class
Pieter Wuille [Wed, 1 Jun 2011 16:28:20 +0000]
CWallet class

* A new class CKeyStore manages private keys, and script.cpp depends on access to CKeyStore.
* A new class CWallet extends CKeyStore, and contains all former wallet-specific globals; CWallet depends on script.cpp, not the other way around.
* Wallet-specific functions in CTransaction/CTxIn/CTxOut (GetDebit, GetCredit, GetChange, IsMine, IsFromMe), are moved to CWallet, taking their former 'this' argument as an explicit parameter
* CWalletTx objects know which CWallet they belong to, for convenience, so they have their own direct (and caching) GetDebit/... functions.
* Some code was moved from CWalletDB to CWallet, such as handling of reserve keys.
* Main.cpp keeps a set of all 'registered' wallets, which should be informed about updates to the block chain, and does not have any notion about any 'main' wallet. Function in main.cpp that require a wallet (such as GenerateCoins), take an explicit CWallet* argument.
* The actual CWallet instance used by the application is defined in init.cpp as "CWallet* pwalletMain". rpc.cpp and ui.cpp use this variable.
* Functions in main.cpp and db.cpp that are not used by other modules are marked static.
* The code for handling the 'submitorder' message is removed, as it not really compatible with the idea that a node is independent from the wallet(s) connected to it, and obsolete anyway.

12 years agomove wallet code to separate file
Pieter Wuille [Wed, 1 Jun 2011 16:27:05 +0000]
move wallet code to separate file

This introduces two new source files, keystore.cpp and wallet.cpp with
corresponding headers. Code is moved from main and db, in a preparation
for a follow-up commit which introduces the classes CWallet and CKeyStore.

12 years agoMerge pull request #226 from jordanlewis/betterheaders
Jeff Garzik [Tue, 14 Jun 2011 09:05:57 +0000]
Merge pull request #226 from jordanlewis/betterheaders

Optimize header dependencies; improve Makefile dependency graph

12 years agoFormatFullVersion: build fix related to recent translation improvement
Jeff Garzik [Tue, 14 Jun 2011 08:50:51 +0000]
FormatFullVersion: build fix related to recent translation improvement

12 years agoMerge pull request #314 from codler/translate
Jeff Garzik [Tue, 14 Jun 2011 08:33:04 +0000]
Merge pull request #314 from codler/translate

Update swedish translation

12 years agoMerge pull request #315 from codler/consistent-address
Jeff Garzik [Tue, 14 Jun 2011 08:32:40 +0000]
Merge pull request #315 from codler/consistent-address

Consistent Bitcoin example address

12 years agoConsistent Bitcoin example address
Han Lin Yap [Tue, 14 Jun 2011 08:17:07 +0000]
Consistent Bitcoin example address

12 years agoUpdate swedish translation
Han Lin Yap [Tue, 14 Jun 2011 07:07:30 +0000]
Update swedish translation

12 years agoMerge pull request #300 from sipa/connecttimeout
Jeff Garzik [Sat, 11 Jun 2011 23:17:13 +0000]
Merge pull request #300 from sipa/connecttimeout

non-blocking connect (by phantomcircuit)

12 years agoFaster timeout when connecting
Pieter Wuille [Mon, 6 Jun 2011 18:35:01 +0000]
Faster timeout when connecting

Use non-blocking connects, and a select() call to wait a predefined
time (5s by default, but configurable with -timeout) for either
success or failure. This allows much more connections to be tried
per time unit.

Based on a patch by phantomcircuit.

12 years agoDouble check translation and improved a translation string
Han Lin Yap [Sat, 11 Jun 2011 22:18:34 +0000]
Double check translation and improved a translation string

12 years agoMerge pull request #312 from codler/patch-1
Jeff Garzik [Sat, 11 Jun 2011 16:58:02 +0000]
Merge pull request #312 from codler/patch-1

Remove unused variable

12 years agoRemove unused variable
Han Lin Yap [Sat, 11 Jun 2011 10:21:32 +0000]
Remove unused variable

12 years agoMerge pull request #311 from codler/master
Jeff Garzik [Sat, 11 Jun 2011 07:27:16 +0000]
Merge pull request #311 from codler/master

Added Swedish translation

12 years agoAdded Swedish translation
Han Lin Yap [Sat, 11 Jun 2011 06:52:07 +0000]
Added Swedish translation

12 years agoAdd minimal release process docs.
Jeff Garzik [Fri, 10 Jun 2011 06:14:56 +0000]
Add minimal release process docs.

12 years agoLower minimum relay TX fee to 0.0001 (from 0.0005) BTC.
Jeff Garzik [Fri, 10 Jun 2011 06:07:13 +0000]
Lower minimum relay TX fee to 0.0001 (from 0.0005) BTC.

12 years agoMerge pull request #304 from TheBlueMatt/cpufix
Jeff Garzik [Fri, 10 Jun 2011 05:42:25 +0000]
Merge pull request #304 from TheBlueMatt/cpufix

Fix CPU Usage bug when using -nolisten and have no connections.

12 years agoMerge pull request #310 from xslidian/master
Jeff Garzik [Thu, 9 Jun 2011 19:11:07 +0000]
Merge pull request #310 from xslidian/master

Updated Chinese Simp translation

12 years agoUpdated Chinese Simp translation
Dean Lee [Thu, 9 Jun 2011 08:47:17 +0000]
Updated Chinese Simp translation

12 years agoMerge pull request #293 from tcatm/keypool-fix
Gavin Andresen [Tue, 7 Jun 2011 18:38:35 +0000]
Merge pull request #293 from tcatm/keypool-fix

create keypool in LoadWallet()

12 years agoFix CPU Usage bug when using -nolisten and have no connections.
Matt Corallo [Mon, 6 Jun 2011 22:48:37 +0000]
Fix CPU Usage bug when using -nolisten and have no connections.

12 years agoMerge pull request #303 from jrmithdobbs/demystify-magic-numbers
Jeff Garzik [Mon, 6 Jun 2011 18:17:39 +0000]
Merge pull request #303 from jrmithdobbs/demystify-magic-numbers

Demystify a few magic numbers.

12 years agoDemystify a few magic numbers.
Doug Huff [Mon, 6 Jun 2011 17:47:19 +0000]
Demystify a few magic numbers.

12 years agoReduce minimum TX fee for new transactions, to 0.0005.
Jeff Garzik [Sun, 5 Jun 2011 18:28:14 +0000]
Reduce minimum TX fee for new transactions, to 0.0005.

12 years agoBump version to 0.3.23.
Jeff Garzik [Sun, 5 Jun 2011 14:39:01 +0000]
Bump version to 0.3.23.

12 years agoMerge pull request #264 from sipa/mintxfeefix
Jeff Garzik [Sun, 5 Jun 2011 14:32:58 +0000]
Merge pull request #264 from sipa/mintxfeefix

Fix for small change outputs

12 years agoMerge pull request #291 from jrmithdobbs/ignore-vim-swp-files
Jeff Garzik [Sun, 5 Jun 2011 14:31:09 +0000]
Merge pull request #291 from jrmithdobbs/ignore-vim-swp-files

Add common temp files to .gitignore.

12 years agoMerge pull request #255 from sipa/rescanupdate
Jeff Garzik [Sun, 5 Jun 2011 14:30:47 +0000]
Merge pull request #255 from sipa/rescanupdate

Update transactions already in the wallet when rescanning.

12 years agoMerge pull request #290 from jrmithdobbs/ip-filter-rfc1918-rfc3927
Jeff Garzik [Sun, 5 Jun 2011 14:30:05 +0000]
Merge pull request #290 from jrmithdobbs/ip-filter-rfc1918-rfc3927

Fix rfc1918 and rfc3927 compliance for ignoring non-internet-routable hosts

12 years agocreate keypool in LoadWallet()
Nils Schneider [Fri, 3 Jun 2011 16:03:12 +0000]
create keypool in LoadWallet()

12 years agoAdd common temp files to .gitignore.
Doug Huff [Fri, 3 Jun 2011 01:27:27 +0000]
Add common temp files to .gitignore.

12 years agoFix rfc1918 and rfc3927 compliance for ignoring non-internet-routable hosts.
Doug Huff [Thu, 2 Jun 2011 19:46:41 +0000]
Fix rfc1918 and rfc3927 compliance for ignoring non-internet-routable hosts.

12 years agoBugfix for dnsseed introduced by dnslookup
Pieter Wuille [Thu, 2 Jun 2011 14:22:49 +0000]
Bugfix for dnsseed introduced by dnslookup

12 years agoMerge remote branch 'upstream/master'
Pieter Wuille [Thu, 2 Jun 2011 14:17:37 +0000]
Merge remote branch 'upstream/master'

12 years agoMerge pull request #278 from TheBlueMatt/win32ssl
Pieter Wuille [Sat, 28 May 2011 20:00:33 +0000]
Merge pull request #278 from TheBlueMatt/win32ssl

Update to openssl-1.0.0d and enable RPC-SSL on Win32

12 years agobugfix: accept free transactions
Pieter Wuille [Sat, 28 May 2011 14:43:49 +0000]
bugfix: accept free transactions

12 years agoMerge remote branch 'bluematt/dpifix'
Pieter Wuille [Fri, 27 May 2011 10:44:56 +0000]
Merge remote branch 'bluematt/dpifix'

12 years agoFix GUI build on UNIX.
Matt Corallo [Fri, 27 May 2011 10:37:18 +0000]
Fix GUI build on UNIX.

12 years agoUpdate to openssl-1.0.0d and enable RPC-SSL on Win32
Matt Corallo [Fri, 27 May 2011 00:53:13 +0000]
Update to openssl-1.0.0d and enable RPC-SSL on Win32

12 years agoMerge pull request #277 from TheBlueMatt/dpifix
Jeff Garzik [Fri, 27 May 2011 00:24:56 +0000]
Merge pull request #277 from TheBlueMatt/dpifix

Handle high DPI a bit more gracefully on Win32.

12 years agoHandle high DPI a bit more gracefully on Win32. #243
Matt Corallo [Thu, 26 May 2011 23:25:28 +0000]
Handle high DPI a bit more gracefully on Win32. #243

Not ideal, icons for send and address book don't show, just the
standard bitcoin icon, and balance is still cut off, but the
number is readable.

12 years agoloss of significance in difficulty (by lfm)
Pieter Wuille [Thu, 26 May 2011 21:35:00 +0000]
loss of significance in difficulty (by lfm)

For instance any nBits compressed value from 0x1a44b800 thru
0x1a44b9ff will show as difficulty 244139.4816. This patch will
more accurately convert the nBits compressed values to the double
difficulty.

This will display any of the recent difficulty levels slightly
differently though. Early difficulties and testnet difficulties are
not large enough to trigger this bug.

None of the actual targets or compressed targets are changed, only
the conversion to the floating point difficulty is changed and afaik
it is only ever displayed, never converted back so the patch does not
effect the target calculations, binary files, databases nor the binary
protocol.

12 years agoReset Last-Translator on de po to the proper value.
Matt Corallo [Thu, 26 May 2011 21:08:59 +0000]
Reset Last-Translator on de po to the proper value.

Sorry, Jakob, it was changed on accident by poedit.

12 years agoCzech translation
xHire [Thu, 26 May 2011 20:32:39 +0000]
Czech translation

12 years agoMerge remote branch 'bluematt/itfix2'
Pieter Wuille [Thu, 26 May 2011 20:44:41 +0000]
Merge remote branch 'bluematt/itfix2'

12 years agoMerge remote branch 'bluematt/defix2'
Pieter Wuille [Thu, 26 May 2011 20:44:35 +0000]
Merge remote branch 'bluematt/defix2'

12 years agoFixed some mistakes in the German translation.
Jakob Kramer [Thu, 26 May 2011 13:06:01 +0000]
Fixed some mistakes in the German translation.

12 years agoMerge pull request #267 from sipa/mintxrelay
Pieter Wuille [Thu, 26 May 2011 20:33:51 +0000]
Merge pull request #267 from sipa/mintxrelay

Separate required fee for relaying and creation

12 years agoFixed 2 things on the italian translation
HostFat [Thu, 26 May 2011 07:57:37 +0000]
Fixed 2 things on the italian translation

12 years agoMerge pull request #268 from TheBlueMatt/deletefix
Jeff Garzik [Thu, 26 May 2011 20:25:58 +0000]
Merge pull request #268 from TheBlueMatt/deletefix

Fixes #240 and #244 - delete delete[] mismatch.

12 years agoFixes #240 and #244 - delete delete[] mismatch.
Matt Corallo [Thu, 26 May 2011 00:24:01 +0000]
Fixes #240 and #244 - delete delete[] mismatch.

12 years agoSeparate required fee for relaying and creation
Pieter Wuille [Wed, 25 May 2011 22:38:20 +0000]
Separate required fee for relaying and creation

Transactions created with the new minimal fee policy would not be
relayed by the network. Therefore, we separate the minimal fee that
is necessary to relay and to create, leaving the creation one at
the old amount, for now.

12 years agoMerge pull request #265 from TheBlueMatt/esfix2
Pieter Wuille [Wed, 25 May 2011 19:31:16 +0000]
Merge pull request #265 from TheBlueMatt/esfix2

Updated spanish translation

12 years agoFix for small change outputs
Pieter Wuille [Wed, 25 May 2011 16:40:27 +0000]
Fix for small change outputs

With the separation of CENT and MIN_TX_FEE, it is now reasonable
to create change outputs between 0.01 and 0.0005, as these are
spendable according to the policy, even though they require a fee
to be paid.

Also, when enough fee was already present, everything can go into
a change output, without further increasing the fee.