Roman Mindalev
2b6a8993fb
Add missing 0x prefix in chainparams.cpp
11 years ago
Cozz Lovan
c7fa1a3586
do not call BuildMerkleTree() unnecessarily twice
11 years ago
Han Lin Yap
1511769239
Use existing RPC_INVALID_PARAMETER constant
11 years ago
Philip Kaufmann
265e2657b4
remove a newline from a string in init.cpp
...
- to match all other translatable strings in init.cpp and to simplify
translations via Transifex
11 years ago
Philip Kaufmann
0f1c8f23eb
translations update for Transifex 2013-08-05
11 years ago
Gavin Andresen
159bc48193
Simplify storage of orphan transactions
...
Orphan transactions were stored as a CDataStream pointer;
this changes the mapOrphanTransactions data structures to
store orphans as a CTransaction.
This also fixes CVE-2013-4627 by always re-serializing
transactions before relaying them.
11 years ago
Gavin Andresen
8f6f92c72b
Revert "Truncate oversize 'tx' messages before relaying/storing."
...
This reverts commit c40a5aaaf4
.
11 years ago
Jeff Garzik
d247a5d130
Move internal miner/block creation to separate miner.cpp module.
...
Public functions referenced elsewhere are added to miner.h.
11 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.
11 years ago
Gavin Andresen
050d2e953f
Remove #define loop from util.h
...
Replace the loop macro with while (true). The #define caused
problems for Qt.
11 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
11 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
11 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
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
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
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
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
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
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
Jeff Garzik
79f6925fac
main.h->core.h include dependency improvements.
12 years ago
Pieter Wuille
c43da3f183
Dump addresses every 15 minutes instead of 10 seconds
12 years ago
Eric Lombrozo
33944573ca
Moved CBlock from main.h to core.h
12 years ago
Eric Lombrozo
2a4d3464fd
Pulled AcceptBlock out of CBlock.
12 years ago
Eric Lombrozo
38991ffa8a
Pulled CheckBlock out of CBlock.
12 years ago
Eric Lombrozo
1959997afb
Pulled AddToBlockIndex out of CBlock.
12 years ago
Eric Lombrozo
f3ae51dcce
Pulled ConnectBlock out of CBlock.
12 years ago
Eric Lombrozo
5c363ed622
Pulled DisconnectBlock out of CBlock.
12 years ago
Eric Lombrozo
8031399494
Moved ReadBlockFromDisk implementation to main.cpp
12 years ago
Eric Lombrozo
7db120d531
Moved CBlock::ReadFromDisk out of CBlock to functions ReadBlockFromDisk in main.h
12 years ago
Eric Lombrozo
226f821942
Moved WriteBlockToDisk implementation from main.h to main.cpp
12 years ago