aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-03-06src/script/script.h: endian compatibility for PUSHDATA sizesWladimir J. van der Laan
2015-03-06src/primitives/transaction.h: endian compatibility in serializationWladimir J. van der Laan
2015-03-06src/primitives/block.cpp: endian compatibility in GetHashWladimir J. van der Laan
2015-03-06src/net.cpp: endian compatibility in EndMessageWladimir J. van der Laan
2015-03-06src/main.cpp: endian compatibility in packet checksum checkWladimir J. van der Laan
2015-03-06src/hash.cpp: endian compatibilityWladimir J. van der Laan
2015-03-06build: Endian compatibilityWladimir J. van der Laan
- Detect endian instead of stopping configure on big-endian - Add `byteswap.h` and `endian.h` header for compatibility with Windows and other operating systems that don't come with them - Update `crypto/common.h` functions to use compat endian header
2015-03-06Merge pull request #5843Wladimir J. van der Laan
ba04c4a Limit message sizes before transfer (Pieter Wuille)
2015-03-06Merge pull request #5813Wladimir J. van der Laan
34e5015 Add unit tests for next difficulty calculations (Ross Nicoll)
2015-03-06Limit message sizes before transferPieter Wuille
This introduces a fixed limit for the size of p2p messages, and enforces it before download.
2015-03-05QT: remove unused parameterRob Van Mieghem
2015-03-05Merge pull request #5830Wladimir J. van der Laan
6f1274c qt: Don't save geometry for options and about/help window (Wladimir J. van der Laan)
2015-03-03Merge pull request #5775Wladimir J. van der Laan
deda3e1 [Qt] remove unused getNumBlocksAtStartup() from ClientModel (Philip Kaufmann) 47ee8cf [Qt] use qint64 in BitcoinGUI::setNumBlocks (Philip Kaufmann)
2015-03-03Merge pull request #5819Wladimir J. van der Laan
d23b0a2 depends: always use static qt5 for linux (Cory Fields) 3448b13 build: fix typo in configure help (Cory Fields) c95ac83 gitian: fix x86_64 build with static libstdc++ (Cory Fields) 0671516 build: change reduce exports/static libstdc++ options for gitian and travis (Cory Fields) aa36730 build: remove libstdc++ backwards-compat (Cory Fields) 3ee028f build: disable reduced exports by default (Cory Fields)
2015-03-03Merge pull request #5839Pieter Wuille
16a58a8 keys: remove libsecp256k1 verification until it's actually supported (Cory Fields)
2015-03-02keys: remove libsecp256k1 verification until it's actually supportedCory Fields
This was added a while ago for testing purposes, but was never intended to be used. Remove it until upstream libsecp256k1 decides that verification is stable/ready.
2015-03-01Merge pull request #5832Pieter Wuille
9abbeea Remove obsolete pubsub method definitions (Pieter Wuille)
2015-02-26Merge pull request #5694Wladimir J. van der Laan
25cf6f3 minor rework of SendMoney in rpcwallet (Philip Kaufmann)
2015-02-26Merge pull request #5820Wladimir J. van der Laan
85da07a Better fingerprinting protection for non-main-chain getdatas. (Pieter Wuille)
2015-02-26Remove obsolete pubsub method definitionsPieter Wuille
2015-02-26Merge pull request #5801Wladimir J. van der Laan
de5403f [GUI] Move fee dialog minimise button away from "Transaction Fee" (Michael Ford)
2015-02-26qt: Don't save geometry for options and about/help windowWladimir J. van der Laan
These dialogs will be something that people occasionally open, not keep open during their session, so just popping it up in a sensible place is good enough. Remembering only creates potential issues, like spawning it outside the current screen area. On Ubuntu this causes the dialogs to be positioned in the middle of the main dialog, so I didn't add code for that. YMMV. Inspired by github pull #5777 by @L-Cranston-Shadow
2015-02-25WIN32 Seed Cleanup: Move nLastPerfmon behind win32 ifdef.21E14
Code to avoid calling Perfmon too often is only needed when perfmon is actually going to get called. This is not intended to make any functional difference in the addition of entropy to the random pool.
2015-02-24Better fingerprinting protection for non-main-chain getdatas.Pieter Wuille
With headers-first we can compare against the best header timestamp, rather than using checkpoints which require code updates to maintain.
2015-02-23build: remove libstdc++ backwards-compatCory Fields
Backwards-compatibility for libstdc++ is not limited to straightforward abi changes. Symbol visibility also needs to be taken into consideration, and that really can't be addressed simply. Instead, just static-link libstdc++ for backwards-compat.
2015-02-21Add unit tests for next difficulty calculationsRoss Nicoll
Split GetNextWorkRequired() into two functions to allow the difficulty calculations to be tested without requiring a full blockchain. Add unit tests to cover basic difficulty calculation, plus each of the min/max actual time, and maximum difficulty target conditions.
2015-02-21[GUI] Move fee dialog minimise button away from "Transaction Fee"Michael Ford
Its original placement was causing confusion among some users.
2015-02-20Merge #5706: fix crash: RPC \Wladimir J. van der Laan
e5d9d77 fix crash: createmultisig and addmultisigaddress (fsb4000)
2015-02-19Merge #5689: openssl: abstract out OPENSSL_cleanseWladimir J. van der Laan
1630219 openssl: abstract out OPENSSL_cleanse (Cory Fields)
2015-02-18Merge #5366: No longer check osx compatibility in RenameThreadWladimir J. van der Laan
850c570 No longer check osx compatibility in RenameThread (Michael Ford)
2015-02-18Merge #5799: Rename Interval() to DifficultyAdjustmentInterval()Wladimir J. van der Laan
e5ece05 Rename Interval() to DifficultyAdjustmentInterval() (Shaul Kfir)
2015-02-18Merge #5784: Fix usage of NegateSignatureS in script_testsWladimir J. van der Laan
78c6bed Add test for DER-encoding edge case (Suhas Daftuar) 6f50dbd Fix NegateSignatureS to not duplicate last byte of S (Suhas Daftuar)
2015-02-17Rename Interval() to DifficultyAdjustmentInterval()Shaul Kfir
2015-02-16Merge #5710: Add more information to errors in ReadBlockFromDiskPieter Wuille
f5791c6 Add more information to errors in ReadBlockFromDisk (Wladimir J. van der Laan)
2015-02-15openssl: abstract out OPENSSL_cleanseCory Fields
This makes it easier for us to replace it if desired, since it's now only in one spot. Also, it avoids the openssl include from allocators.h, which essentially forced openssl to be included from every compilation unit.
2015-02-10Add test for DER-encoding edge caseSuhas Daftuar
The fix to NegateSignatureS caused a test which had been failing in IsValidSignatureEncoding to then fail in IsLowDERSignature. Add new test so the original check remains exercised.
2015-02-10Fix NegateSignatureS to not duplicate last byte of SSuhas Daftuar
NegateSignatureS is called with a signature without a hashtype, so do not save the last byte and append it after S negation. Updates the two tests which were affected by this bug.
2015-02-10Merge #5548: [REST] add /rest/chaininfosWladimir J. van der Laan
2c0f901 [REST] rest/chaininfos add documentation (Jonas Schnelli) 59582c8 [REST] add /rest/chaininfos (Jonas Schnelli)
2015-02-09Merge #5629: [Qt] prevent amount overflow problem with payment requestsWladimir J. van der Laan
a651668 [Qt] prevent amount overflow problem with payment requests (Philip Kaufmann)
2015-02-09Merge #5699: Split logic to undo txin's off DisconnectBlock.Wladimir J. van der Laan
eb1c2cd Split logic to undo txin's off DisconnectBlock. (Daniel Kraft)
2015-02-09Merge #5679: Get rid of DetectShutdownThreadWladimir J. van der Laan
28ee7e8 Get rid of DetectShutdownThread (Wladimir J. van der Laan)
2015-02-09Merge pull request #5739Wladimir J. van der Laan
f4b2078 Replace difficulty readjustment blocks with Interval() (Shaul Kfir)
2015-02-09Merge pull request #5753Wladimir J. van der Laan
d67a642 [Qt] add bitcoin logo to about screen (Jonas Schnelli)
2015-02-09[Qt] remove unused getNumBlocksAtStartup() from ClientModelPhilip Kaufmann
2015-02-09[Qt] use qint64 in BitcoinGUI::setNumBlocksPhilip Kaufmann
- as QDateTime.secsTo() returns a qint64 also store in a qint64 and not in an integer
2015-02-08Sanitize command strings before logging them.Gregory Maxwell
Normally bitcoin core does not display any network originated strings without sanitizing or hex encoding. This wasn't done for strcommand in many places. This could be used to play havoc with a terminal displaying the logs, especially with printtoconsole in use. Thanks to Evil-Knievel for reporting this issue.
2015-02-06Merge pull request #5721Wladimir J. van der Laan
cf008ac Acquire CCheckQueue's lock to avoid race condition (Suhas Daftuar)
2015-02-05Add more information to errors in ReadBlockFromDiskWladimir J. van der Laan
A lot of times, disk corruption problems appear here. To facilitate debugging and troubleshooting, add position information to the error messages.
2015-02-04[Qt] add bitcoin logo to about screenJonas Schnelli
2015-02-04fix getblocktemplate lock issueJonas Schnelli
getblocktemplate didn't have a wallet lock before #5711 and IMO there is no need for LEAVE/ENTER critical section.