Wladimir J. van der Laan
552af52b45
Merge pull request #1851 from fanquake/OpenSSL-1.0.1c
...
Update to use OpenSSL 1.0.1c
12 years ago
Wladimir J. van der Laan
3b2eb49db9
Merge pull request #1883 from sipa/norandstack
...
Remove stack randomization
12 years ago
Jeff Garzik
3e37e7eca4
Merge pull request #1871 from jgarzik/wallet-deadcode
...
walletdb.h: remove dead code
12 years ago
Pieter Wuille
2e3ffb2d82
Remove stack randomization
12 years ago
Pieter Wuille
842a31ad1b
Merge pull request #1862 from kjj2/testports
...
Fix: when testnet=1 specified, change default RPC port to 18332
12 years ago
xanatos
50e01ee620
toHTML won't add empty wtx.mapValue elements
...
As the code was before, toHTML added empty elements to mapValue to check for their existance. Now first it check for their existance and then for their non-emptiness.
Removed a duplicated identical if
There are two equal ifs, one inside another. If the first one is true, then the second one is true.
12 years ago
Wladimir J. van der Laan
035cb4781d
Merge pull request #1868 from maaku/and_or_xor_sign_extension
...
Documented bug in sign-extension behavior of opcodes OP_AND, OP_OR, and OP_XOR
12 years ago
Virgil Dupras
fee10d800e
Fixed compilation error with clang.
...
Previously, trying to compile with clang would result in the error: assigning to 'objc_object *' from incompatible type 'DockIconClickEventHandler *'
12 years ago
Wladimir J. van der Laan
14ac0adcc7
Remove -Wformat* warnings from makefiles
...
commit 5a1a3622
effectively enabled these warnings, but they need
to be fixed before being enabled in the general build scripts.
12 years ago
Jeff Garzik
189eb6a989
walletdb.h: remove dead code
12 years ago
Wladimir J. van der Laan
5a1a362215
Merge pull request #1807 from laanwj/2012_09_printf_warnings
...
Add printf-style warnings to strprintf() and OutputDebugStringF()
12 years ago
Mark Friedenbach
95d7f00295
Documented bug in sign-extension behavior of opcodes OP_AND, OP_OR, and OP_XOR.
...
Due to a bug in the implementation of MakeSameSize(), using OP_AND, OP_OR, or OP_XOR with signed values of unequal size will result in the sign-value becoming part of the smaller integer, with nonsensical results. This patch documents the unexpected behavior and provides the basis of a solution should decision be made to fix the bug in the future.
12 years ago
Jeff Garzik
1381ad2b21
Merge pull request #1684 from jgarzik/bootstrap
...
Import $DataDir/bootstrap.dat automatically, if it exists.
12 years ago
Wladimir J. van der Laan
4d369ec30c
Update comment, we're no longer using boost::interprocess::scoped_lock
12 years ago
Wladimir J. van der Laan
1a52dd10a7
Merge pull request #1854 from Diapolo/fix_1843_V2
...
additional fix for #1843
12 years ago
kjj2
b202d43076
Fix: when testnet=1 specified, change default ports to 18332 and 18333
12 years ago
Jeff Garzik
22f9b06903
Send 'mempool' P2P command at the start of each P2P session
...
to query remote node mempool contents.
12 years ago
Jeff Garzik
52c90a2b2b
Import $DataDir/bootstrap.dat automatically, if it exists.
...
As discussed on IRC. Intended to make using an external blockchain download
solution just a bit easier.
12 years ago
Jeff Garzik
93dd68e924
P2P: Do not request blocks from peers with fewer blocks than us
...
If the remote node has a shorter chain, do not waste our
special getblocks request on them.
12 years ago
Wladimir J. van der Laan
feec18e329
Merge pull request #1836 from kjj2/stopdetach
...
Adds a stopdetach <detach> RPC command. <detach> defaults to true. Wor...
12 years ago
Wladimir J. van der Laan
49b09ec04f
Merge pull request #1853 from fanquake/qt-include
...
Update include for Qt5
12 years ago
kjj2
3731f5788e
Adds a stopdetach <detach> RPC command. <detach> defaults to true. Works just like stop, but overrides the commandline/config file
...
-detachdb option. Useful for upgrading, for example. Lets you use fast stops usually, but force a detach when needed. Also, allows
you to do a fast stop in a system normally configured for fast stops.
12 years ago
fanquake
ea9eaf9dec
Update Qt include
...
Update Qmenu include
This is to be more consistent with the rest of the source
Update Qt Includes
12 years ago
Wladimir J. van der Laan
2f91373a0a
Merge pull request #1852 from fanquake/bugreportlinks
...
Update links to Qt
12 years ago
Philip Kaufmann
bb86cffa56
additional fix for #1843
...
- a shortcut on "receive coins" was used twice
12 years ago
fanquake
e1eb3d4451
Update Bugreport Links
...
Update Qt Links
Revert Qt source link
Update Qt links
12 years ago
Wladimir J. van der Laan
f394f21594
Merge pull request #1844 from Diapolo/Qt5_compat1
...
enhance Qt5 compatibility
12 years ago
fanquake
0eaaa83ba5
Update Bitcoin to use OpenSSL 1.0.1c
...
Bump deps tp 0.0.5
Small docs corrections
12 years ago
Wladimir J. van der Laan
38682648c2
Remove unnecessary text from tooltip in AddressBookPage
12 years ago
Philip Kaufmann
da9413d913
fix #1843 by changing 2 GUI shortcuts
12 years ago
Philip Kaufmann
81605d90f5
enhance Qt5 compatibility
...
- replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported
in Qt4/5)
12 years ago
Wladimir J. van der Laan
e96a8c7d86
Merge pull request #1793 from Diapolo/fix_signed_unsigned_strprintf
...
fix signed/unsigned in strprintf and CNetAddr::GetByte()
12 years ago
Wladimir J. van der Laan
3ccbaa56f4
comment update: it's -> its
12 years ago
Wladimir J. van der Laan
1ba4925755
Merge pull request #1705 from Diapolo/cleanup_bitcoingui
...
Qt: re-order GUI code and remove FIRST_CLASS_MESSAGING
12 years ago
Wladimir J. van der Laan
2dca98511f
Merge pull request #1810 from laanwj/2012_09_rpcconsole_eventfilter
...
Improve RPC console key event behaviour
12 years ago
Gavin Andresen
f2b066da70
Update gitignore and Makefiles for build.h move from src/ to src/obj
12 years ago
Wladimir J. van der Laan
bfc24bd4ce
Merge pull request #1717 from Diapolo/Qt_change_TX_display
...
Qt: show mined transactions at depth 1
12 years ago
Gavin Andresen
6cbae37667
Merge branch 'testdata' of git://github.com/TheBlueMatt/bitcoin
12 years ago
Jeff Garzik
b1d3e95a0a
When rejected TX relay due to lack of fees, log full txid
12 years ago
Jeff Garzik
ea0796bde3
Trim trailing whitespace for src/*.{h,cpp}
12 years ago
Gavin Andresen
8b371316c5
Merge branch 'master' of github.com:bitcoin/bitcoin
12 years ago
Gavin Andresen
8f09e4cac4
Give makefiles 'test' and 'check' targets to compile and run unit tests
12 years ago
Jeff Garzik
f8c449b5c8
Merge pull request #1812 from jgarzik/misc-07
...
Two minor generic cleanups done during OP_DROP hacking
12 years ago
Gavin Andresen
a0971337d0
Merge branch 'refactor_times' of git://github.com/luke-jr/bitcoin
12 years ago
Gavin Andresen
5add0b0d0f
Bump client version to 0.7.0.99 now that 0.7.0 release is final.
12 years ago
Wladimir J. van der Laan
7fddf1210e
update comment, secure_allocator is defined in allocators.h
12 years ago
Philip Kaufmann
463a1cab43
fix signed/unsigned in strprintf and CNetAddr::GetByte()
...
- I checked every occurance of strprintf() in the code and used %u, where
unsigned vars are used
- the change to GetByte() was made, as ip is an unsigned char
12 years ago
Gavin Andresen
0a4e67afad
Bump client version number for 0.7.0rc3
12 years ago
Pieter Wuille
c1d79812f4
Do not abort if RPC listening for IPv6 fails
...
Instead, fall back to IPv4 listening.
12 years ago
Wladimir J. van der Laan
3b3d999618
Add format characters for (s)size_t and ptrdiff_t
12 years ago
Wladimir J. van der Laan
ac4e7f6269
HexStr: don't build a vector<char> first
...
Also const correctness for lookup tables in hex functions throughout the code.
12 years ago
Gregory Maxwell
ab91bf39b7
Apply BIP30 checks to all blocks except the two historic violations.
...
Matt pointed out some time ago that there existed a minor DOS
attack where a node in its initial block download could be wedged
by an overwrite attack in a fork created between checkpoints before
a time where BIP30 was enforced. Now that the BIP30 timestamp
is irreversibly past the check can be more aggressive and apply to
all blocks except the two historic violations.
12 years ago
Jeff Garzik
17f8d6e400
Improve debug logging, for mempool TXs that do not include sufficient fees
12 years ago
Jeff Garzik
76970091f1
Cosmetic: move CTransaction::GetMinFee out of header file
12 years ago
Wladimir J. van der Laan
62904b33f3
Improve RPC console key event behaviour
...
- Paging using PageUp / PageDown now works when entry widget has focus
- Typing or pasting while the messages widget has focus auto-selects entry widget
12 years ago
Wladimir J. van der Laan
b019ea17ec
Remove VC6 comment and pointless #ifdef'd benchmark code
...
We're in a wholly different world now, C++-compiler-wise.
Current std::stringstream implementations don't have the stated problem anymore,
and are just as fast as CDataStream.
The #ifdef'd block does not even compile anymore; CDataStream constructor changed,
and missing some std::. Also timing in whole seconds is also way too granular
to say anything sensible in such microbenchmarks. Just remove it,
it can always be found again in git history.
12 years ago
Wladimir J. van der Laan
963af6449f
Cleanup some unused macros from util.h
...
Encapsulate _snprintf/sprintf difference in implementation not header
12 years ago
Wladimir J. van der Laan
b0a90fbb0c
Add printf-style warnings to strprintf() and OutputDebugStringF()
...
This finds about ~150 potential problems with format characters on a 64 bit build.
12 years ago
Wladimir J. van der Laan
d8ecd21ff7
Merge pull request #1802 from luke-jr/bugfix_ts
...
Update translations from Transifex (100% coverage for Finnish and Chinese (China)
12 years ago
Luke Dashjr
85eb1e7e56
Update translations from Transifex (100% coverage for Finnish and Chinese (China)
12 years ago
Wladimir J. van der Laan
31fac119dc
Merge pull request #1796 from luke-jr/bugfix_ts
...
Various translation fixups and restorations
12 years ago
Luke Dashjr
4ee706243c
Partially Bugfix: Update English translation strings and translations from Transifex
...
Bugfix: Correct doubled-up &amp; in translations
Bugfix: Remove extra spaces after ampersand in translations (this fixes hotkeys)
Restore copyright translations, now split up
Restore old translations lost due to changes to English structure
Skipped: ca_ES et eu_ES fr_CA (under 10% coverage)
12 years ago
Luke Dashjr
da7b8c1260
Bugfix: Initialize CWallet::nOrderPosNext on an empty wallet, and save it in db
12 years ago
Wladimir J. van der Laan
db1967957d
Merge pull request #1798 from xanatos/patch-19
...
Wrong address added to collection in test (address1 instead of address2)
12 years ago
Philip Kaufmann
f875921176
Bitcoin-Qt (Windows only): add version info to Resource File
...
- add version information to bitcoin-qt.rc, which is displayed on Windows, when looking in the executable properties and selecting "Details"
- introduce a new clientversion.h (used in bitcoin-qt.rc to generate
version information), which takes only the version defines from
version.h and is included in it (to allow usage with the windres rc-file
compiler)
- move #define STRINGIFY(s) #s into clientversion.h as that is used in
bitcoin-qt.rc and rename to DO_STRINGIZE(X)
- add #define STRINGIZE(X) DO_STRINGIZE(X), which is needed to convert the
version defines into a version string in the rc-file
- this ensures we only need to update 1 file and have bitcoin-qt.exe
version information
- for RC-file documentation see:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa381058%28v=vs.85%29.aspx
12 years ago
xanatos
af8c050bff
Wrong address added to collection in test
...
The wrong address is added to the collection. As was written a second copy of address1 was added (and so address2 was useless).
12 years ago
Wladimir J. van der Laan
f106491fa2
Merge pull request #1786 from jgarzik/select-fix
...
select()'s first argument should be zero, if no file descriptors are selected
12 years ago
Gavin Andresen
1913b6e2fc
Fix double-paren typo
12 years ago
Matt Corallo
65786afb05
Add various tests for CTransaction::CheckTransaction()
12 years ago
Matt Corallo
1fcebc16c5
check tx.CheckTransaction for data-driven tx tests.
...
(and change so that only one case has to fail to make a tx_invalid
test correct)
12 years ago
Philip Kaufmann
4bd34b4966
replace 2x WSAGetLastError() with 1x WSAGetLastError() call
12 years ago
Jeff Garzik
2387944782
select(): Use precise fd presence check, rather than imprecise hSocketMax test
12 years ago
Gavin Andresen
8788221761
Bump version number for 0.7.0rc2
12 years ago
Gavin Andresen
91c218a1cb
Merge branch 'testnet_alert' of git://github.com/gavinandresen/bitcoin-git
12 years ago
xanatos
4f76be1dc5
Correct LoadWallet() return value (false -> DB_LOAD_OK)
...
Equivalent code. (false == 0 == DB_LOAD_OK). Fixes #1706 .
12 years ago
Jeff Garzik
e271c1d3d0
Merge pull request #1789 from Diapolo/fix_double_Startuptime
...
remove double logging of startup time, when !fLogTimestamps
12 years ago
Philip Kaufmann
274b7ab123
remove double logging of startup time, when !fLogTimestamps
12 years ago
Philip Kaufmann
8d367c7e66
fix signed/unsigned usage in BlockFilePath()
12 years ago
Jeff Garzik
42613c97d5
Add block file naming helper, BlockFilePath()
12 years ago
Jeff Garzik
dcb14198bb
init.cpp: fix build error, and possibly-uninit'd warning
12 years ago
Jeff Garzik
38e8f282d2
Merge pull request #1427 from rebroad/StartTimeFix
...
No need to log start time if it's already being done on every line.
12 years ago
Jeff Garzik
2fd6f067db
Merge pull request #1777 from laanwj/2012_09_eliminate_sprintf
...
Remove last occurrence of potentially insecure function sprintf
12 years ago
Jeff Garzik
bec02998b4
Merge pull request #1779 from xanatos/patch-15
...
Useless vector declaration
12 years ago
Jeff Garzik
8c7b6c05db
Merge pull request #1738 from laanwj/2012_08_boostthread
...
implement CreateThread with boost::thread
12 years ago
Wladimir J. van der Laan
9d7da11458
Merge pull request #1743 from xanatos/patch-14
...
Changed nprev->pprev
12 years ago
Wladimir J. van der Laan
acbe4a1f32
Merge pull request #1728 from xanatos/patch-11
...
Removed duplicated lock
12 years ago
xanatos
89fbd1f11c
Useless vector declaration
...
The vector isn't referenced in the small code block it's declared. I don't see any "useful" side effect in its declaration.
12 years ago
Wladimir J. van der Laan
9c80909452
Remove last occurrence of potentially insecure function sprintf.
...
%d can return up to 11 characters. Move away from fixed buffer completely and
use our own safe function strprintf.
12 years ago
Gavin Andresen
eaf00a3a5d
Merge pull request #1774 from luke-jr/refactor_times
...
Bugfix: Require OrderedTxItems to provide properly scoped accounting entry list
12 years ago
Wladimir J. van der Laan
4d0c2b6cf4
Merge pull request #1761 from Diapolo/timeout_desc
...
add default value in -timeout description
12 years ago
Luke Dashjr
ddb709e9de
Bugfix: Require OrderedTxItems to provide properly scoped accounting entry list
...
OrderedTxItems returns a multimap of pointers, but needs a place to store the actual CAccountingEntries it points to.
It had been using a stack item, which was clobbered as soon as it returned, resulting in undefined behaviour.
This fixes at least bug #1768 .
12 years ago
Jeff Garzik
0e1be81a4a
Merge pull request #1771 from luke-jr/bugfix_bip22_mode
...
Bugfix: getblocktemplate: Accept optional "mode" parameter not being provided
12 years ago
R E Broadley
016178132e
No need to log start time if it's already being done on every line.
12 years ago
Luke Dashjr
0689a7eb9c
Bugfix: getblocktemplate: Accept optional "mode" parameter not being provided
12 years ago
Wladimir J. van der Laan
9c94bdac06
RPC console: escaping within ' and " now handled differently
...
Should now mimic bash quoting and escaping (see http://wiki.bash-hackers.org/syntax/quoting ) exactly,
leaving out argument expansion and obscure syntax like $''.
12 years ago
Gregory Maxwell
ddbddcb31e
Merge pull request #1758 from laanwj/2012_08_uiconsole_parsing
...
Fix RPC console parser to handle escaped arguments more like bash
12 years ago
Wladimir J. van der Laan
b5c1467a7d
In RPC console, attempt to format errors
...
Try to display a nicer message instead of dumping raw JSON object when possible. If the error
somehow doesn't have the required 'code' and 'message' fields, fall back to printing raw JSON object.
12 years ago
Wladimir J. van der Laan
576b5efe93
Fix RPC console parser to handle escaped arguments more like bash
...
- Fix issue #1750
12 years ago
Philip Kaufmann
d93e5986d7
add default value in -timeout description
12 years ago
Philip Kaufmann
a4d4403a75
enable ASLR and DEP for bitcoind.exe via linker flags
...
- this is already active for bitcoin-qt.exe
12 years ago