novacoin.git
13 years agodirectory re-organization (keeps the old build system)
Jaromil [Sat, 23 Apr 2011 09:49:47 +0000]
directory re-organization (keeps the old build system)

there is no internal modification of any file in this commit

files are moved into directories according to established standards in
sourcecode distribution; these directories contain:

 src - Files that are used in constructing the executable binaries,
       but are not installed.

 doc - Files in HTML and text format that document usage, quirks of
       the implementation, and contributor checklists.

 locale - Files that contain human language translation of strings
          used in the program

 contrib - Files contributed from distributions or other third party
     implementing scripts and auxiliary programs

13 years agoBetter wording for transaction fee notification messages
Gavin Andresen [Wed, 20 Apr 2011 22:08:01 +0000]
Better wording for transaction fee notification messages

13 years agoMore 0.3.21 release prep
Gavin Andresen [Wed, 20 Apr 2011 18:45:43 +0000]
More 0.3.21 release prep

Bump version number in Windows installer file
Update READMEs.

13 years agoUpdate date in license.txt
Gavin Andresen [Wed, 20 Apr 2011 16:03:31 +0000]
Update date in license.txt

13 years agoMonitor incoming transactions for spends by (a copy of) your own wallet
Pieter Wuille [Thu, 14 Apr 2011 09:17:52 +0000]
Monitor incoming transactions for spends by (a copy of) your own wallet

13 years agogetbalance '*' was ignoring minconf param.
Gavin Andresen [Tue, 19 Apr 2011 00:40:50 +0000]
getbalance '*' was ignoring minconf param.

13 years agoAutomatically rescan after restoring wallet.dat
Pieter Wuille [Wed, 13 Apr 2011 14:16:30 +0000]
Automatically rescan after restoring wallet.dat

Information about the best known chain is added to wallet.dat. If this
information does not match the data in blkindex.dat, a rescan is automatically
performed, starting from the the last known block. When upgrading from a wallet
which does not have this information, no rescan is done automatically.

13 years agoMerge branch 'upnpfix' of https://github.com/TheBlueMatt/bitcoin
Gavin Andresen [Mon, 18 Apr 2011 18:53:13 +0000]
Merge branch 'upnpfix' of https://github.com/TheBlueMatt/bitcoin

13 years agoFix for #156: UPnP segfault when no valid UPnP IGDs are found.
Dan Helfman [Sat, 16 Apr 2011 18:35:45 +0000]
Fix for #156: UPnP segfault when no valid UPnP IGDs are found.

13 years agoMerge branch 'master' of https://github.com/gjs278/bitcoin
Gavin Andresen [Fri, 15 Apr 2011 16:09:50 +0000]
Merge branch 'master' of https://github.com/gjs278/bitcoin

13 years agoMerge branch 'localefix'
Gavin Andresen [Fri, 15 Apr 2011 16:03:50 +0000]
Merge branch 'localefix'

13 years agoSet time locale to POSIX in rfc1123Time so weekday/months in http responses are correct.
Gavin Andresen [Wed, 13 Apr 2011 19:06:48 +0000]
Set time locale to POSIX in rfc1123Time so weekday/months in http responses are correct.

13 years agoMerge branch 'http-version' of https://github.com/jgarzik/bitcoin
Gavin Andresen [Fri, 15 Apr 2011 15:41:39 +0000]
Merge branch 'http-version' of https://github.com/jgarzik/bitcoin

13 years agoSend/return full bitcoin version string in Server and User-Agent HTTP headers
Jeff Garzik [Wed, 13 Apr 2011 19:16:38 +0000]
Send/return full bitcoin version string in Server and User-Agent HTTP headers

13 years agoEnsure version number->string conversion is consistent
Jeff Garzik [Fri, 15 Apr 2011 07:58:28 +0000]
Ensure version number->string conversion is consistent

13 years agoExit when no UPnP router found and fUseUPnP gets set to 0.
Matt Corallo [Thu, 14 Apr 2011 22:37:50 +0000]
Exit when no UPnP router found and fUseUPnP gets set to 0.

13 years agobuild: add note for Snow Leopard users and fix typos in linking instructions
Dan Loewenherz [Wed, 13 Apr 2011 20:38:22 +0000]
build: add note for Snow Leopard users and fix typos in linking instructions

13 years agoNew checkpoint at block 118,000
Gavin Andresen [Wed, 13 Apr 2011 18:30:22 +0000]
New checkpoint at block 118,000

13 years agopidfile support for daemon
gjs278 [Wed, 13 Apr 2011 00:15:19 +0000]
pidfile support for daemon

13 years agoMerge branch 'listimmature' of /Users/gavin/src/gavin_btc
Gavin Andresen [Tue, 12 Apr 2011 21:31:31 +0000]
Merge branch 'listimmature' of /Users/gavin/src/gavin_btc

13 years agoMerge branch 'spentpertxout' of https://github.com/sipa/bitcoin
Gavin Andresen [Tue, 12 Apr 2011 21:27:15 +0000]
Merge branch 'spentpertxout' of https://github.com/sipa/bitcoin

13 years agoBugfix for spentpertxout: slow startup
Pieter Wuille [Tue, 12 Apr 2011 19:01:11 +0000]
Bugfix for spentpertxout: slow startup

When starting the client, ReacceptWalletTransaction didn't skip spent transactions in its loop, and processed all old spent transactions again.

13 years agoMerge branch 'upnp' of https://github.com/TheBlueMatt/bitcoin
Gavin Andresen [Tue, 12 Apr 2011 18:22:12 +0000]
Merge branch 'upnp' of https://github.com/TheBlueMatt/bitcoin

13 years agoMerge branch 'spentpertxout' of https://github.com/sipa/bitcoin
Gavin Andresen [Tue, 12 Apr 2011 17:31:44 +0000]
Merge branch 'spentpertxout' of https://github.com/sipa/bitcoin

13 years agoselect transaction outputs separately
Pieter Wuille [Thu, 17 Mar 2011 21:54:20 +0000]
select transaction outputs separately

Update to SelectCoins and CreateTransaction to select source transaction outputs separately instead of per whole transaction.

13 years agoSpent per txout
Pieter Wuille [Thu, 17 Mar 2011 21:51:59 +0000]
Spent per txout

Change some internal data structures to keep track of spentness of each wallet transaction output separately, to support partially-spent transactions:
* an update to the data structures (vfSpent in CWalletTx instead of fSpent)
* a backward-compatible update to the wallet disk format. Old clients reading back an updated wallet will ignore partially spent transactions when creating new ones, and may report a wrong balance, though.
* some helper functions (CWalletTx: IsSpent, MarkSpent, MarkDirty to reset cached values, GetAvailableCredit which only counts unredeemed outputs)

13 years agodisable -daemon on windows; bitcoind forks only with -daemon set
tcatm [Sat, 9 Apr 2011 03:59:32 +0000]
disable -daemon on windows; bitcoind forks only with -daemon set

[added setsid() call to ui.cpp, to regain consistency with init.cpp -jgarzik]

13 years agorfc1123Time: increase buffer size for time string
Jeff Garzik [Sat, 9 Apr 2011 02:50:14 +0000]
rfc1123Time: increase buffer size for time string

Make sure we can accomodate all possibilities.

13 years agoReport immature coinbase transactions in listtransactions
Gavin Andresen [Sun, 27 Mar 2011 18:56:18 +0000]
Report immature coinbase transactions in listtransactions

Report coin generation transactions as 'category':'immature' until they have 120 confirmations (when they are reported as 'category':'generate', as before).
If the block they are in is not part of the main chain (you lost a 'block race'), then they are reported as 'category':'orphan' (with 0 confirmations).

13 years agoFixed issue 76 -- RPC error where addresses from addressbook's sending tab appear...
Eric Swanson [Sun, 20 Mar 2011 22:32:39 +0000]
Fixed issue 76 -- RPC error where addresses from addressbook's sending tab appear in listaccounts

13 years agoMerge branch 'deadlock-fixes' of https://github.com/jgarzik/bitcoin
Gavin Andresen [Tue, 5 Apr 2011 23:34:06 +0000]
Merge branch 'deadlock-fixes' of https://github.com/jgarzik/bitcoin

13 years agoRPC sendmany must acquire cs_main lock
Jeff Garzik [Tue, 5 Apr 2011 19:15:20 +0000]
RPC sendmany must acquire cs_main lock

13 years agoFix deadlocks in setaccount, sendfrom RPC calls
Jeff Garzik [Tue, 5 Apr 2011 02:24:35 +0000]
Fix deadlocks in setaccount, sendfrom RPC calls

SendMoney*() now requires caller to acquire cs_main.
GetAccountAddress() now requires caller to acquire cs_main, cs_mapWallet.

Ordering is intended to match these two callchains[1]:

1. CRITICAL_BLOCK(cs_main)
    ProcessMessage(pfrom, strCommand, vMsg)
        AddToWalletIfMine()
              AddToWallet(wtx)
                  CRITICAL_BLOCK(cs_mapWallet)

2. CRITICAL_BLOCK(cs_main)
    ProcessMessage(pfrom, strCommand, vMsg)
        AddToWalletIfMine()
              AddToWallet(wtx)
                  CRITICAL_BLOCK(cs_mapWallet)
                      walletdb.WriteName(PubKeyToAddress(vchDefaultKey), "")
                          CRITICAL_BLOCK(cs_mapAddressBook)

Spotted by ArtForz.  Additional deadlock fixes by Gavin.

[1] http://www.bitcoin.org/smf/index.php?topic=4904.msg71897#msg71897

13 years agoUpdate DNS seed list
Jeff Garzik [Fri, 1 Apr 2011 15:33:35 +0000]
Update DNS seed list

13 years agoAllow UPnP mapping when USE_UPNP is defined and miniupnpc is installed at build time...
Matt Corallo [Sat, 26 Mar 2011 12:01:27 +0000]
Allow UPnP mapping when USE_UPNP is defined and miniupnpc is installed at build time(statically linked).

Thanks joepie91 for the translation of the new copyright notices into Dutch.
Thanks sipa for the translation of the new copyright notices into French.
Thanks megu for the translation of the new copyright notices into Spanish.
Thanks justmoon/Blitzboom for the translation of the new copyright notices into German.
Thanks Joozero for the translation of the new copyright notices into Italian.
Remaining translations were provided by Google Translate.

13 years agoallow coredumps by not catching SIGSEGV
tcatm [Fri, 25 Mar 2011 12:23:43 +0000]
allow coredumps by not catching SIGSEGV

13 years agoMerge branch 'master' of git://github.com/bitcoin/bitcoin
Jeff Garzik [Wed, 23 Mar 2011 22:28:50 +0000]
Merge branch 'master' of git://github.com/bitcoin/bitcoin

13 years ago[locale] Regenerate es, nl binary message catalogs
Jeff Garzik [Wed, 23 Mar 2011 22:27:09 +0000]
[locale] Regenerate es, nl binary message catalogs

13 years agoMerge branch 'master' of https://github.com/smola/bitcoin into tmp
Jeff Garzik [Wed, 23 Mar 2011 22:21:22 +0000]
Merge branch 'master' of https://github.com/smola/bitcoin into tmp

13 years agoMerge branch 'dutchloc' of https://github.com/sipa/bitcoin into tmp
Jeff Garzik [Wed, 23 Mar 2011 22:21:10 +0000]
Merge branch 'dutchloc' of https://github.com/sipa/bitcoin into tmp

13 years agocatch SIGINT, SIGHUP and SIGSEGV and shutdown cleanly
tcatm [Wed, 23 Mar 2011 17:27:30 +0000]
catch SIGINT, SIGHUP and SIGSEGV and shutdown cleanly

13 years agodaemon-mode: add sleep() loop to prevent defunct child process, call setsid() in...
tcatm [Mon, 21 Mar 2011 11:11:05 +0000]
daemon-mode: add sleep() loop to prevent defunct child process, call setsid() in child

13 years agoUpdated dutch translation
Sven Slootweg [Fri, 18 Mar 2011 23:44:57 +0000]
Updated dutch translation

13 years agoUpdate copyright in About box from 2010 to 2011
Gavin Andresen [Thu, 10 Mar 2011 15:48:32 +0000]
Update copyright in About box from 2010 to 2011

13 years agoUpdate Spanish translation.
Santiago M. Mola [Wed, 16 Mar 2011 19:56:03 +0000]
Update Spanish translation.

13 years agoFix -logtimestamps to only print time prefix once per output line
Jeff Garzik [Wed, 16 Mar 2011 19:42:04 +0000]
Fix -logtimestamps to only print time prefix once per output line

Incorporate BlueMatt's fix to only timestamp upon new line, and
move -logtimestamp checking outside OutputDebugPrintF() to better
future-proof it.

13 years agoMerge branch 'shy'
Gavin Andresen [Mon, 14 Mar 2011 13:15:06 +0000]
Merge branch 'shy'

13 years agoMerge branch 'dns-seed' of https://github.com/jgarzik/bitcoin
Gavin Andresen [Sun, 13 Mar 2011 21:15:59 +0000]
Merge branch 'dns-seed' of https://github.com/jgarzik/bitcoin

13 years agoMerge branch 'log-timestamp' of https://github.com/TheBlueMatt/bitcoin
Gavin Andresen [Sun, 13 Mar 2011 21:15:57 +0000]
Merge branch 'log-timestamp' of https://github.com/TheBlueMatt/bitcoin

13 years agoMerge branch 'limitfree' of /Users/gavin/src/integration_btc
Gavin Andresen [Sun, 13 Mar 2011 21:15:44 +0000]
Merge branch 'limitfree' of /Users/gavin/src/integration_btc

13 years agoMerge branch 'daemon-mode' of https://github.com/tcatm/bitcoin
Gavin Andresen [Sun, 13 Mar 2011 21:15:34 +0000]
Merge branch 'daemon-mode' of https://github.com/tcatm/bitcoin

13 years agoMerge branch 'subcent-change' of https://github.com/tcatm/bitcoin
Gavin Andresen [Sun, 13 Mar 2011 21:15:28 +0000]
Merge branch 'subcent-change' of https://github.com/tcatm/bitcoin

13 years agosendmany RPC command, to send to multiple recipients in one transaction.
Gavin Andresen [Thu, 16 Dec 2010 20:48:04 +0000]
sendmany RPC command, to send to multiple recipients in one transaction.

13 years agoMake sure rate-limiting code is thread-safe
Gavin Andresen [Sun, 13 Mar 2011 18:38:07 +0000]
Make sure rate-limiting code is thread-safe

13 years agoContinuously rate-limit free transactions.
Gavin Andresen [Fri, 11 Mar 2011 16:50:16 +0000]
Continuously rate-limit free transactions.
Changed algorithm to use continuous exponential function instead of discrete 10-minute window.
Changed -limitfreerelay to be kilobytes-per-minute instead of boolean.

13 years agoremove from/message field from uiproject
tcatm [Sun, 13 Mar 2011 17:35:39 +0000]
remove from/message field from uiproject

13 years agoMerge branch 'smalltxfix' of https://github.com/gavinandresen/bitcoin-git into tmp
Jeff Garzik [Thu, 10 Mar 2011 19:32:19 +0000]
Merge branch 'smalltxfix' of https://github.com/gavinandresen/bitcoin-git into tmp

13 years agoMerge branch 'master' of https://github.com/devrandom/bitcoin into tmp
Jeff Garzik [Thu, 10 Mar 2011 17:58:49 +0000]
Merge branch 'master' of https://github.com/devrandom/bitcoin into tmp

13 years agoUpdate copyright in About box from 2010 to 2011
Gavin Andresen [Thu, 10 Mar 2011 15:48:32 +0000]
Update copyright in About box from 2010 to 2011

13 years agoBump version number to 0.3.21 (lest we forget)
Gavin Andresen [Thu, 10 Mar 2011 15:47:59 +0000]
Bump version number to 0.3.21 (lest we forget)

13 years agoOnly log timestamps if -logtimestamps is set.
Matt Corallo [Wed, 9 Mar 2011 20:48:11 +0000]
Only log timestamps if -logtimestamps is set.

13 years agoAdd timestamp prefix to each line in the debug log (this time with human-readable...
Matt Corallo [Wed, 9 Mar 2011 18:53:40 +0000]
Add timestamp prefix to each line in the debug log (this time with human-readable times)

13 years agodnsseed: fix printf
Jeff Garzik [Wed, 9 Mar 2011 03:55:29 +0000]
dnsseed: fix printf

13 years agoDNS seeding
Jeff Garzik [Wed, 9 Mar 2011 03:40:50 +0000]
DNS seeding

13 years agoshy patch from Hal
Gavin Andresen [Mon, 24 Jan 2011 15:42:17 +0000]
shy patch from Hal

13 years agoMerge branch 'TheBlueMatt-setaccountfix' into integration
tcatm [Sat, 5 Mar 2011 16:26:14 +0000]
Merge branch 'TheBlueMatt-setaccountfix' into integration

13 years agoMerge branch 'setaccountfix' of https://github.com/TheBlueMatt/bitcoin into TheBlueMa...
tcatm [Sat, 5 Mar 2011 16:24:34 +0000]
Merge branch 'setaccountfix' of https://github.com/TheBlueMatt/bitcoin into TheBlueMatt-setaccountfix

13 years agothrow JSONRPCError(-5, "Invalid bitcoin address") instead.
Matt Corallo [Sat, 5 Mar 2011 15:45:56 +0000]
throw JSONRPCError(-5, "Invalid bitcoin address") instead.

13 years agosetaccount should return if an invalid address is provided.
Matt Corallo [Sat, 5 Mar 2011 14:32:32 +0000]
setaccount should return if an invalid address is provided.
This prevents setaccount from creating new accounts which do not have any addresses.

13 years ago-help: do not show -server and -daemon in bitcoind
tcatm [Thu, 3 Mar 2011 21:34:13 +0000]
-help: do not show -server and -daemon in bitcoind

13 years agoforce fDaemon in bitcoind
tcatm [Thu, 3 Mar 2011 21:31:44 +0000]
force fDaemon in bitcoind

13 years agofix whitespace
tcatm [Thu, 3 Mar 2011 21:27:20 +0000]
fix whitespace

13 years agofix -daemon switch
tcatm [Thu, 3 Mar 2011 21:26:00 +0000]
fix -daemon switch

13 years agoMake send/receive limits bigger (10MB each)
Gavin Andresen [Thu, 3 Mar 2011 21:25:05 +0000]
Make send/receive limits bigger (10MB each)

13 years agoFix minimum transaction fee calculation mismatch between CreateTransaction and Create...
Gavin Andresen [Wed, 2 Mar 2011 21:27:24 +0000]
Fix minimum transaction fee calculation mismatch between CreateTransaction and CreateBlock

13 years agoMerge branch 'rounding'
Gavin Andresen [Wed, 2 Mar 2011 20:03:49 +0000]
Merge branch 'rounding'

13 years agoBugfix: avoid sub-cent change (lost in fees) whenever possible
Luke Dashjr [Fri, 28 Jan 2011 19:39:31 +0000]
Bugfix: avoid sub-cent change (lost in fees) whenever possible

13 years agoAvoid sprintf decimal-point localization
Gavin Andresen [Mon, 28 Feb 2011 21:34:36 +0000]
Avoid sprintf decimal-point localization

13 years agofix missing newline in help
tcatm [Mon, 28 Feb 2011 03:53:22 +0000]
fix missing newline in help

13 years agoMerge branch 'rounding' of https://github.com/gavinandresen/bitcoin-git into gavinand...
tcatm [Sat, 26 Feb 2011 03:37:13 +0000]
Merge branch 'rounding' of https://github.com/gavinandresen/bitcoin-git into gavinandresen-rounding

13 years agoAdded .gitignore, which prevents 'bitcoin' and 'bitcoind' from showing up in git.
Matt Giuca [Fri, 25 Feb 2011 07:40:43 +0000]
Added .gitignore, which prevents 'bitcoin' and 'bitcoind' from showing up in git.

13 years agoMerge branch 'mgiuca-wx-config' into integration
tcatm [Fri, 25 Feb 2011 23:59:55 +0000]
Merge branch 'mgiuca-wx-config' into integration

13 years agobuild-unix.txt: Updated (now OK to use wxWidgets > 2.9.0).
Matt Giuca [Fri, 25 Feb 2011 22:17:49 +0000]
build-unix.txt: Updated (now OK to use wxWidgets > 2.9.0).

13 years agomakefile.unix: Fixed errors building bitcoind without wxWidgets installed.
Matt Giuca [Fri, 25 Feb 2011 22:12:42 +0000]
makefile.unix: Fixed errors building bitcoind without wxWidgets installed.
    WXINCLUDEPATHS and WXLIBS now assigned with '=' instead of ':='.
    This means they are only evaluated on-demand, and they will never be
    requested by 'make bitcoind', so it won't try to call wx-config.

13 years agomakefile.unix: WXINCLUDEPATHS now only used for building GUI object files.
Matt Giuca [Fri, 25 Feb 2011 22:10:10 +0000]
makefile.unix: WXINCLUDEPATHS now only used for building GUI object files.
    Moved it out of CXXFLAGS and into the command-line for the GUI objects.
    It will no longer be invoked for non-GUI and crypto object files.

13 years agomakefile.unix: Removed redundant use of wx-config in DEFS (it was being included...
Matt Giuca [Fri, 25 Feb 2011 21:58:15 +0000]
makefile.unix: Removed redundant use of wx-config in DEFS (it was being included twice).
    Also changed wx-config --cppflags to --cxxflags. I am not sure what the
    difference is supposed to be, but --cppflags does not include -pthread.

13 years agoMerge https://github.com/ojab/bitcoin into wx-config
Matt Giuca [Fri, 25 Feb 2011 21:45:38 +0000]
Merge https://github.com/ojab/bitcoin into wx-config

13 years agoParseMoney: allow full precision
Gavin Andresen [Wed, 23 Feb 2011 21:26:15 +0000]
ParseMoney: allow full precision

13 years agoFormatMoney: show full-precision values
Gavin Andresen [Wed, 23 Feb 2011 21:01:17 +0000]
FormatMoney: show full-precision values

13 years agoDo not round input amounts; allow RPC full precision.
Gavin Andresen [Wed, 23 Feb 2011 19:41:19 +0000]
Do not round input amounts; allow RPC full precision.

13 years agoUse ValueFromAmount consistently
Gavin Andresen [Wed, 23 Feb 2011 19:24:16 +0000]
Use ValueFromAmount consistently

13 years agoBump version to 0.3.20.02
Gavin Andresen [Wed, 23 Feb 2011 19:12:20 +0000]
Bump version to 0.3.20.02

13 years agoSet SO_REUSEADDR on JSON port
tcatm [Wed, 23 Feb 2011 00:08:27 +0000]
Set SO_REUSEADDR on JSON port

13 years agoMerge branch 'master' of https://github.com/sandos/bitcoin into sandos-master
tcatm [Wed, 23 Feb 2011 00:07:43 +0000]
Merge branch 'master' of https://github.com/sandos/bitcoin into sandos-master

13 years agoremove From/Message fields from SendDialog
tcatm [Mon, 21 Feb 2011 14:56:58 +0000]
remove From/Message fields from SendDialog

13 years agoMerge branch 'master' of https://github.com/tcatm/bitcoin into tcatm-master
tcatm [Tue, 22 Feb 2011 02:00:09 +0000]
Merge branch 'master' of https://github.com/tcatm/bitcoin into tcatm-master

13 years agoChanged setup for mingw toolchain
Gavin Andresen [Fri, 18 Feb 2011 15:39:24 +0000]
Changed setup for mingw toolchain

13 years agoWindows mingw32 makefile and build notes (thanks m0mchil)
Gavin Andresen [Fri, 18 Feb 2011 14:49:00 +0000]
Windows mingw32 makefile and build notes (thanks m0mchil)

13 years agoBump version to 0.3.20.01
Gavin Andresen [Fri, 18 Feb 2011 00:22:08 +0000]
Bump version to 0.3.20.01

13 years agomove gitian descriptor file
devrandom [Thu, 17 Feb 2011 09:53:52 +0000]
move gitian descriptor file