xanatos
commented at 11:57 AM on September 28, 2012:
none
There are two equal ifs, one inside another. If the first one is true, then the second one is true.
I'll add that I don't think it's a good idea to use the [] operator for checking the existance of items in a map in the context of a method that should only "show" the wtx (the map::[] operator adds a new item if it isn't found). I think the method should work with a const CWalletTx &wtx.
Diapolo
commented at 12:31 PM on September 28, 2012:
none
The patch makes absolutely sense and why not create a patch for your second suggestions, too :)?
Diapolo
commented at 1:25 PM on September 28, 2012:
none
Can you squash the 2 commits into one please.
xanatos closed this on Sep 28, 2012
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
254ea5d477
small update to release-notes.txt94f74c9a01
Partially Bugfix: Update English translation strings and translations from Transifex
Bugfix: Correct doubled-up & 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)
41f58d3fe7
Update translations from Transifex (100% coverage for Finnish and Chinese (China)6382e52c1b
Apply MIT license to md2k7 art
[21:48:14] <md2k7> feel free to make it MIT if you like
68476a24e1
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.
62a4ab03a7
Cleanup on doc/build-unix.txtc374cbb615
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.
953f3d5c85
Do not abort if RPC listening for IPv6 fails
Instead, fall back to IPv4 listening.
941728b100
Bump client version number for 0.7.0rc343354924a3
update comment, secure_allocator is defined in allocators.h6d4395e58d
Bump client version to 0.7.0.99 now that 0.7.0 release is final.84c128767e
Bugfix: Initialize CWallet::nOrderPosNext on an empty wallet, and save it in db6574cca9d7
Reset release notes for release-after-0.7.0a350d52206
Give makefiles 'test' and 'check' targets to compile and run unit testsf7bd84ed59
Cosmetic: move CTransaction::GetMinFee out of header file474451d1a6
Improve debug logging, for mempool TXs that do not include sufficient fees07185e6ee0
Trim trailing whitespace for src/*.{h,cpp}d43ac2f555
When rejected TX relay due to lack of fees, log full txid489d9ced41
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)
0629771e15
Add various tests for CTransaction::CheckTransaction()c18029514b
Qt: show mined transactions at depth 1
- before, we used to show them in GUI when depth >= 2, which could lead to
confusion of users, as the RPC behaviour already showed the Tx
b9924c0747
Update gitignore and Makefiles for build.h move from src/ to src/obj36d62d41dd
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
2d3f9d86ab
remove FIRST_CLASS_MESSAGING support from the client
- removes the FIRST_CLASS_MESSAGING support from the client, which was no
default setting anyway
6dbbff2337
Qt: re-order GUI code
- re-order Qt Actions and connect() calls to match the real GUI layout,
which makes things easier to read and understand
- remove signMessageAction and verifyMessageAction from tabGroup as we
didn't use them anyway (as tooltips are not displayed in the menu remove
these too)
- update 2 comments
b7b92217e5
comment update: it's -> itsbc210ebf7c
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
844d0173cb
fix #1843 by changing 2 GUI shortcuts7bd5a690ea
Remove unnecessary text from tooltip in AddressBookPaged6fb320268
enhance Qt5 compatibility
- replace Q_WS_MAC (not supported anymore in Qt5) with Q_OS_MAC (supported
in Qt4/5)
d5a285606b
Update Bugreport Links
Update Qt Links
Revert Qt source link
Update Qt links
a8e9d6ad8e
Update Qt include
Update Qmenu include
This is to be more consistent with the rest of the source
Update Qt Includes
57eb8283ac
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.
This patch currently excludes our Windows executable!
- change to use -fstack-protector-all
- the minimum size of buffers (i.e. arrays) that will receive stack
smashing protection was changed to 1 byte (GCC default: 8)
- warn about functions that will not be protected against stack
smashing by adding -Wstack-protector
98e4485012
Compile/link Bitcoin-Qt.app with -pthreadbdc83e906b
change last occurance of mac to macx in Qt project-fileffdbc3c45a
Update comment, we're no longer using boost::interprocess::scoped_lock25dd9c6e77
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.
e1162b2a19
Add printf-style warnings to strprintf() and OutputDebugStringF()
This finds about ~150 potential problems with format characters on a 64 bit build.
7167bdcdc7
Cleanup some unused macros from util.h
Encapsulate _snprintf/sprintf difference in implementation not header
ffe3a29e4a
HexStr: don't build a vector<char> first
Also const correctness for lookup tables in hex functions throughout the code.
1e64deae25
Add format characters for (s)size_t and ptrdiff_ta30ae79db8
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.
047f3a8eed
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.
9b67f2ba20
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.
ed1b863c40
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.
fe064cbb42
xanatos
commented at 1:44 PM on September 28, 2012:
none
@Diapolo Aaaah... I hate github... I hate git... I was trying to rebase everything in local and I closed the pull...
xanatos reopened this on Sep 28, 2012
xanatos closed this on Sep 28, 2012
Diapolo
commented at 2:33 PM on September 28, 2012:
none
git fetch upstreamgit rebase upstreamgit rebase origin -i
use squash before your 2nd commit
git push origin patch-20 -f
KolbyML referenced this in commit 7bba3947af on Dec 5, 2020
KolbyML referenced this in commit 051719e2af on Dec 5, 2020
DrahtBot locked this on Sep 8, 2021
DrahtBot added the label CI failed on Apr 11, 2023
MarcoFalke removed the label CI failed on Apr 11, 2023
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2026-04-29 03:16 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me