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
0e08efc54a
Merge pull request #1808 from laanwj/2012_09_serialize_deadcode
...
Remove VC6 comment and pointless #ifdef'd benchmark code
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
eabc8f2c81
Merge pull request #1803 from luke-jr/md2k7_license
...
Apply MIT license to md2k7 art
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
23a44a7ad6
Apply MIT license to md2k7 art
...
[21:48:14] <md2k7> feel free to make it MIT if you like
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
5cb01b5714
Merge pull request #1799 from Diapolo/release-notes
...
small update to release-notes.txt
12 years ago
Philip Kaufmann
2dc953274d
small update to release-notes.txt
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
Wladimir J. van der Laan
7b1504ccb8
Merge pull request #1683 from Diapolo/Qt_Win_exe_version
...
Bitcoin-Qt (Windows only): add version info to Resource File
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
b9a4aaad1e
Merge pull request #1726 from laanwj/2012_08_gitian_qt_styles
...
Remove unused styles on Windows from gitian qt build
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
Gavin Andresen
3c28b335af
Minor build documentation fix
12 years ago
Gavin Andresen
004fa1441c
Merge branch 'master' of github.com:bitcoin/bitcoin
12 years ago
Gavin Andresen
4dc89fa875
Build doc updates
12 years ago
Wladimir J. van der Laan
97e02a8d52
Merge pull request #1792 from Diapolo/rem_double_errfunc
...
replace 2x WSAGetLastError() with 1x WSAGetLastError() call
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
Gavin Andresen
ace35a1997
Fix mac .dmg packager for latest macports qt4
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
aeea5e2a2d
Minor documentation updates
12 years ago
Gavin Andresen
91c218a1cb
Merge branch 'testnet_alert' of git://github.com/gavinandresen/bitcoin-git
12 years ago
Gavin Andresen
21327ebe93
Update gitian build setup notes
12 years ago
Jeff Garzik
32416e380b
Merge pull request #1791 from xanatos/patch-18
...
Correct LoadWallet() return value (false -> DB_LOAD_OK)
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
Jeff Garzik
b930a2a6be
Merge pull request #1788 from Diapolo/fix_unsigned_BlockFilePath
...
fix signed/unsigned usage in BlockFilePath()
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
13 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.
13 years ago
Jeff Garzik
2fd6f067db
Merge pull request #1777 from laanwj/2012_09_eliminate_sprintf
...
Remove last occurrence of potentially insecure function sprintf
13 years ago
Jeff Garzik
bec02998b4
Merge pull request #1779 from xanatos/patch-15
...
Useless vector declaration
13 years ago