Gavin Andresen
ed02c95d50
obtain cs_wallet mutex to protect vchDefaultKey
13 years ago
Gavin Andresen
123e5bd998
Fix RPC call name in error message.
13 years ago
Gavin Andresen
7db3b75b3e
Logic running with -keypool=0 was wrong (empty keys were being returned). Fixes #445
...
Renames GetOrReuseKeyFromKeyPool to GetKeyFromPool, with fAllowReuse arg and bool result.
13 years ago
Gavin Andresen
f662cefd85
Merge pull request #470 from fabianhjr/master
...
Checkpoints
13 years ago
Gavin Andresen
e3c26b2573
SetCrypted() obtains keystore lock, to be safe.
13 years ago
Gavin Andresen
541e585d8e
Fix typo ("you own security")
13 years ago
Gavin Andresen
cb6c4b883d
Merge pull request #480 from gavinandresen/deadlocks
...
Simplify mutex locking, fix deadlocks. Fixes issue #453
13 years ago
Gavin Andresen
471426fb3b
Fixed potential deadlocks in GUI code.
...
Also changed semantics of CWalletTx::GetTxTime(); now always returns the time the transaction was received by this node, not the average block time.
And added information about -DDEBUG_LOCKORDER to coding.txt.
13 years ago
Gavin Andresen
6cc4a62c0e
Fix rpc-hanging deadlocks
...
Collapsed multiple wallet mutexes to a single cs_wallet, to avoid deadlocks with wallet methods that acquired locks in different order.
Also change master RPC call handler to acquire cs_main and cs_wallet locks before executing RPC calls; requiring each RPC call to acquire the right set of locks in the right order was too error-prone.
13 years ago
Gavin Andresen
b0243da77c
Highlight mis-matching locks
13 years ago
Jeff Garzik
21189a42a7
Merge pull request #463 from TheBlueMatt/encreadme
...
Encryption readme update and minor rpc.cpp fixes
13 years ago
Jeff Garzik
927aaa0f27
Add reference python miner, in contrib/pyminer/
13 years ago
Jeff Garzik
ce39dfe425
Merge pull request #475 from ovdeathiam/patch-1
...
Edited locale/pl/LC_MESSAGES/bitcoin.po via GitHub
13 years ago
Jeff Garzik
8af99d1893
Merge pull request #464 from TheBlueMatt/upnp1.6
...
Upgrade dependancies and tweak build process.
13 years ago
Gavin Andresen
829e21733b
CHECKMULTISIG unit tests.
13 years ago
Dev Random
e40bef3c0a
Add Gitian Build descriptors for Boost and wxWidgets.
13 years ago
Gavin Andresen
1224a14ae4
Merge pull request #474 from xHire/master
...
Updated czech translation [only .po]
13 years ago
Dev Random
3bb23e5c8b
Mingw gitian build with deterministic bitcoin.exe by use of faketime
13 years ago
Dev Random
bef41ada0d
Mingw gitian with separate wxWidgets and boost
13 years ago
Dev Random
d2cbb14d7c
Linux gitian config with separate wxWidgets build
13 years ago
Matt Corallo
b4ada906c0
Upgrade dependancies and tweak build process.
...
* Upgrade to use miniupnpc 1.6
* Upgrade to wxWidgets 2.9.2
* Upgrade to Bost 1.47 for Win32 Builds
13 years ago
ovdeathiam
98deeaef15
Edited locale/pl/LC_MESSAGES/bitcoin.po via GitHub
13 years ago
Gavin Andresen
865ed8a1e5
Compile with DEBUG_LOCKORDER to detect inconsistent lock orderings that can cause deadlocks
13 years ago
Michal Zima
dac48972d5
Updated czech translation
13 years ago
Gavin Andresen
c7286112ef
Remove unused ScanMessageStart function
13 years ago
Jeff Garzik
b2fd0ca1cb
src/makefile.unix: remove -DFOURWAYSSE2
...
Spotted by Venkatesh Srinivas <me@endeavour.zapto.org>
13 years ago
Fabian H jr.
d0d9486f44
Updated checkpoints, maybe Tx fee should be reduced to 0.0001 from 0.0005 and maximum minimum tx should be 0.0010.
13 years ago
Gavin Andresen
eb72eae304
Don't std::advance past beginning of transactions array. Fixes #465
13 years ago
Matt Corallo
59ed5cb398
Add specific wallet encryption details to doc/README
13 years ago
Matt Corallo
8acb491eef
Fix incorrect RPC error messages
13 years ago
Matt Corallo
2f8f51d1e4
Missed a 'password' should be 'passphrase'.
13 years ago
Gavin Andresen
498a2c9b16
Merge pull request #458 from TheBlueMatt/copyright
...
Unify copyright notices.
13 years ago
Gavin Andresen
c648b589be
Merge pull request #459 from jgarzik/char-msgstart
...
Use 'unsigned char' rather than 'char' for pchMessageStart.
14 years ago
Gavin Andresen
72173ffaca
Merge pull request #460 from jgarzik/make-tuple
...
Qualify make_tuple with boost:: namespace.
14 years ago
Venkatesh Srinivas
25133bd74b
Use 'unsigned char' rather than 'char' for pchMessageStart.
...
Regarding https://bitcointalk.org/index.php?topic=28022.0
main.cpp has: "char pchMessageStart[4] = { 0xf9, 0xbe, 0xb4, 0xd9 };"
Per discussion on the thread linked, leaving the signedness of
pchMessageStart is unsafe for values > 0x80. This patch specifies
'unsigned char' in main.cpp and net.h.
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
14 years ago
Venkatesh Srinivas
7c3002bf27
Qualify make_tuple with boost:: namespace.
...
db.cpp has a number of uses of make_tuple and has 'using namespace
std' and 'using namespace boost'. Without qualifying make_tuple,
std::make_tuple is preferred, which is incorrect. This patch qualifies
make_tuple.
Signed-off-by: Jeff Garzik <jgarzik@exmulti.com>
14 years ago
Venkatesh Srinivas
ec93a0e219
Test for SO_NOSIGPIPE rather than assuming all BSDs support it.
...
Signed-off-by: Jeff Garzik <jgarzik@exmulti.com>
14 years ago
Gavin Andresen
9f0ac16942
Do-nothing MapPort() ifndef USE_UPNP. fixes #450
14 years ago
Matt Corallo
b2120e223a
Unify copyright notices.
...
To a variation on:
// Copyright (c) 2009-2010 Satoshi Nakamoto
// Copyright (c) 2011 The Bitcoin developers
14 years ago
Matt Corallo
2c3691d53d
Cleanup test suite output to be more useful.
14 years ago
Matt Corallo
3c8cecda1f
Add file for transaction tests.
14 years ago
Vegard Nossum
a8330e0049
Add a file for script tests
14 years ago
Vegard Nossum
5f6a654d3e
Add prototype for EvalScript() to script.h
...
This is needed for the script unit tests.
14 years ago
Vegard Nossum
e707d29dd6
Fix testing setup
...
There were some problems with the existing testing setup:
- Makefile rules for test-file compilation used CFLAGS instead of
CXXFLAGS in makefile.unix
14 years ago
Matt Corallo
02962ba848
Add missing include to serialize.h
14 years ago
Vegard Nossum
8a62fec3ee
Add missing includes to net.h
14 years ago
Vegard Nossum
437173f430
Add missing include to script.h
14 years ago
Vegard Nossum
fcedd45c3c
Add missing includes to key.h
14 years ago
Gavin Andresen
4e5d88ce26
Merge pull request #443 from TheBlueMatt/dupin
...
Check for duplicate txins in CheckTransaction.
14 years ago
Jeff Garzik
bd1e54bc0b
Merge branch 'tmp2'
14 years ago