Jeff Garzik
d247a5d130
Move internal miner/block creation to separate miner.cpp module.
...
Public functions referenced elsewhere are added to miner.h.
12 years ago
Jeff Garzik
18946846d5
Minor miner fixes (hey hey it's fun to say)
...
* Fix UpdateCoins() definition in main.h
* Remove pwalletMain reference from BitcoinMiner(), as it is passed
a wallet argument.
12 years ago
Gavin Andresen
050d2e953f
Remove #define loop from util.h
...
Replace the loop macro with while (true). The #define caused
problems for Qt.
12 years ago
Philip Kaufmann
bef9f573b5
fix string in intro.cpp, which is untranslatable on Transifex
...
- seems the code tags in the original string cause errors, when using the
Transifex site for translation
12 years ago
Philip Kaufmann
c431e9f1f0
Bitcoin-Qt: save and restore position of debug window
...
- move the code for saving and restoring window positions from BitcoinGUI
to GUIUtil, make it more generic and also use it for saving/restoring
debug window positions
12 years ago
Pieter Wuille
c4316fefa5
Make sure new wallet variables are initialized
12 years ago
Philip Kaufmann
5bc6d8e580
fix possible infinite loop in intro.cpp thread
...
- it was possible to trigger an infinite loop in FreespaceChecker::check() by
simply removing the drive letter on Windows (which leads to an infinite
loop in the FreespaceChecker thread)
- this was caused by not checking if we make progress with
parentDir.parent_path()
12 years ago
Philip Kaufmann
852605d8d1
remove windows.h from crypter.cpp includes
...
- remove an unneeded windows.h include (comes from allocators.h, which is
included in crypter.h)
12 years ago
Philip Kaufmann
dd833a4cd8
cleanup compat.h Windows stuff
...
- remove an unneded include for mswsock.h as we use winsock2.h anyway
- move typedef u_int SOCKET; into the #ifndef WIN32 part
- remove typedef int socklen_t; as this is defined in ws2tcpip.h
12 years ago
Philip Kaufmann
a034c7ebb6
exclude CreatePidFile() function on WIN32 as it is unused
12 years ago
Peter Todd
1b3656d50b
Add 'chainwork' to getblock
...
Returns nChainWork from the block index, the total work done by all
blocks since the genesis block.
12 years ago
Matt Corallo
9bf2a4aba2
Fix multi-block reorg transaction resurrection
12 years ago
Matt Corallo
d9ace8abe8
Don't use checkpoints and accept nonstd txn on -regtest
12 years ago
Peter Todd
aff83e9c02
Add unittests for multiple ELSEs in a row
...
IF ELSE ELSE ENDIF is a valid construct; execution or non-execution
inverts on each ELSE encountered.
12 years ago
Philip Kaufmann
3960d2e4ab
update bitcoin_en.ts to current master (2013-07-23)
12 years ago
Philip Kaufmann
84ef729aa1
Bitcoin-Qt: fix QApplication includes to match our include defaults
...
- move all QApplication includes to top of included Qt headers
- undef our loop macro where it would cause compilation errors otherwise
12 years ago
constantined
2ecb7555a9
Switch to using raw_utf8
12 years ago
constantined
2227389fa8
JSON Spirit updated to v4.06
12 years ago
Matt Corallo
f65e7092a2
Better warning/"alert" messages for large-work forks.
12 years ago
Matt Corallo
f89faa2584
Call the -alertnotify script when we see a long or invalid fork.
12 years ago
Matt Corallo
b8585384da
Detect any sufficiently long fork and add a warning.
...
Such a fork is defined as being at least 7 blocks long and
having a tip which is within 72 blocks of our best block.
12 years ago
Luke Dashjr
dabd4bd48e
Bugfix: Include block creation and SSL options headings in usage
12 years ago
phelixbtc
eda7605dfe
makefile.mingw: Use normal boost libraries instead of debug for Windows
...
https://github.com/bitcoin/bitcoin/pull/2835#issuecomment-21231694
12 years ago
fcicq
98148a713e
Fix fcntl include in net.cpp & netbase.cpp
12 years ago
fcicq
b34255b758
Ignore SIGPIPE signal on Solaris
12 years ago
fcicq
9371403993
Add missing constant for solaris
12 years ago
fcicq
c391f9a47b
Fix boost uint type bug by reordering the includes
12 years ago
fcicq
eb8397a03e
Disable variadic template support in C++11
12 years ago
Luke Dashjr
cc6cfab38f
Bugfix: Supress "address" key in transaction details, when the destination isn't recognized
...
Previously, it would pass corrupt/random through base58.
12 years ago
Luke Dashjr
96ed682176
Bugfix: Avoid trying to parse outputs that aren't relevant to CWalletTx::GetAmounts
...
This fixes a warning when an output we aren't concerned with can't be parsed.
12 years ago
Luke Dashjr
203d1ae69b
Bugfix: Store last/next wallet resend times unique per CWallet object
12 years ago
Luke Dashjr
d4e2b040ed
Bugfix: Move boost/version include from db.cpp to walletdb.cpp where BOOST_VERSION is used
12 years ago
Pieter Wuille
a59db19ee3
BIP32 test vectors
12 years ago
Pieter Wuille
eb2c999050
BIP32 derivation implementation
12 years ago
Philip Kaufmann
b3e0aaf36e
fix invalid conversion error with MinGW 4.8.1 in net.cpp
...
- fixes src\net.cpp:1601: Error:invalid conversion from 'void*' to
'const char*' [-fpermissive] in a setsockopt() call on Win32 that was
found by using MinGW 4.8.1 compiler suite
12 years ago
Pieter Wuille
fb83a79b21
Fix minor backward incompatibility
...
The key refactor changed the way unencrypted private keys with compressed
public key are stored in the wallet. Apparently older versions relied on
this to verify the correctness of stored keys.
Note that earlier pre-release versions do risk creating wallets that can
not be opened by 0.8.3 and earlier.
12 years ago
Pieter Wuille
ec84e81e83
Prune provably-unspendable outputs
12 years ago
Gregory Maxwell
e5c4dfdfc0
Make the rand tests determinstic. ( fixes #2714 )
...
This avoids spurious errors with the old tests but still tests
enough that if the rng is replaced with a totally broken one
it should still fail.
12 years ago
Nils Schneider
674cb304b3
let user select wallet file with -wallet=foo.dat
...
use std::string instead of psz for WalletFile
only allow wallets within $DATADIR
Use strWalletFile in salvage/recover
fix: remove unused variable pszWalletFile
move strWalletFile to init.h/init.cpp
avoid conversion of strWalletfile to c-string
12 years ago
Jeff Garzik
091aa8dae9
RPC: add getbestblockhash, to return tip of best chain
12 years ago
Pieter Wuille
21cc8bdcbe
Fix build date for from-tarball builds
12 years ago
Eric Lombrozo
042da8bc0d
Added comments to sync.h to make it easier to understand the macros
12 years ago
Jeff Garzik
36bd46f1c4
RPC: keypoolrefill gains optional size parameter
12 years ago
Jeff Garzik
13dd2d090e
CWallet::TopUpKeyPool() takes optional pool size argument
...
Also, GetKeyPoolSize() now returns an accurate type, unsigned int.
12 years ago
Michael Ford
664aeb2871
Log aborted block database rebuilds
12 years ago
Peter Todd
c40a5aaaf4
Truncate oversize 'tx' messages before relaying/storing.
...
Fixes a memory exhaustion attack on low-memory peers.
12 years ago
Philip Kaufmann
dae158132d
translation update 2013-06-25
...
- updates bitcoinstrings.cpp and bitcoin_en.ts so new translations can be
made on Transifex
12 years ago
Pieter Wuille
f121db58e4
Move core implementations to core.cpp
12 years ago
Eric Lombrozo
e6fe8e77fb
Calling UnregisterAllWallets() instead of UnregisterWallet(pwalletMain) in init.cpp
12 years ago
Eric Lombrozo
e5cefb9be1
Added locks on the setpwalletRegistered functions in main.cpp and added an UnregisterAllWallets function.
12 years ago