aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-11-18Always build and link libsecp256k1Pieter Wuille
2014-11-18Squashed 'src/secp256k1/' content from commit ad2028fPieter Wuille
git-subtree-dir: src/secp256k1 git-subtree-split: ad2028f9890ca40bdd32055aa0fe5c1c9af0e485
2014-11-18Merge commit 'd48555b36ac512161b81f9b6bca7bea16a0cd806' as 'src/secp256k1'Pieter Wuille
2014-11-18Delete src/secp256k1 before subtree importPieter Wuille
2014-11-18Properly lock cs_main in rest_blockPieter Wuille
2014-11-18HTTP REST: minor fixesJeff Garzik
1) const-ify internal helper ParseHashStr() 2) use HTTPError() helper when returning HTTP_NOT_FOUND
2014-11-18Merge pull request #2844Jeff Garzik
2014-11-18Merge pull request #5290Wladimir J. van der Laan
5d60b69 Coin Control: Make list mode default (Luke Dashjr) 4ff81d6 Bugfix: Clarify coin control dialog labels (Luke Dashjr)
2014-11-18[Qt, OSX] fix usage of osx 10.8+ user notification centerJonas Schnelli
Currently Bitcoin-Qts support for OSX User Notification Center is broken. This pull will fix a known issue of non-official-apple-built apps having problems sending user notifications.
2014-11-17Discourage NOPs reserved for soft-fork upgradesPeter Todd
NOP1 to NOP10 are reserved for future soft-fork upgrades. In the event of an upgrade such NOPs have *VERIFY behavior, meaning that if their arguments are not correct the script fails. Discouraging these NOPs by rejecting transactions containing them from the mempool ensures that we'll never accept transactions, nor mine blocks, with scripts that are now invalid according to the majority of hashing power even if we're not yet upgraded. Previously this wasn't an issue as the IsStandard() rules didn't allow upgradable NOPs anyway, but 7f3b4e95 relaxed the IsStandard() rules for P2SH redemptions allowing any redeemScript to be spent. We *do* allow upgradable NOPs in scripts so long as they are not executed. This is harmless as there is no opportunity for the script to be invalid post-upgrade.
2014-11-17Merge pull request #5212Wladimir J. van der Laan
219a147 script: check ScriptError values in script tests (Cory Fields) ab9edbd script: create sane error return codes for script validation and remove logging (Cory Fields)
2014-11-17Merge pull request #5293Wladimir J. van der Laan
c63a73d Update comments in util to be doxygen compatible (Michael Ford)
2014-11-17Merge pull request #5289Wladimir J. van der Laan
5617267 Fix typo in listreceivedbyaddress and listaccounts help text (Michael Ford)
2014-11-17Merge pull request #5292Wladimir J. van der Laan
7329fdd Update comments in txmempool to be doxygen compatible (Michael Ford)
2014-11-17regression test only setmocktime RPC callGavin Andresen
2014-11-17Merge pull request #5275Gavin Andresen
1837987 Optimize -regtest setgenerate block generation (Gavin Andresen) Signed-off-by: Gavin Andresen <gavinandresen@gmail.com>
2014-11-17[Qt, OSX] QProgressBar CPU-Issue workaroundJonas Schnelli
fixes #5295
2014-11-17Update comments in util to be doxygen compatibleMichael Ford
2014-11-17Update comments in txmempool to be doxygen compatibleMichael Ford
Fix typo in Read() error message
2014-11-16Coin Control: Make list mode defaultLuke Dashjr
2014-11-16Bugfix: Clarify coin control dialog labelsLuke Dashjr
2014-11-16Fix typo in listreceivedbyaddress and listaccounts help textMichael Ford
2014-11-16[Qt] Fix height of BitcoinAmountFieldCozz Lovan
2014-11-14script: check ScriptError values in script testsCory Fields
2014-11-14script: create sane error return codes for script validation and remove loggingCory Fields
Attempt to codify the possible error statuses associated with script validation. script/types.h has been created with the expectation that it will be part of the public lib interface. The other flag enums will be moved here in a future commit. Logging has also been removed in order to drop the dependency on core.h. It can be re-added to bitcoind as-needed. This makes script verification finally free of application state and boost!
2014-11-14Optimize -regtest setgenerate block generationGavin Andresen
Speed up generating blocks in regression test mode, by moving block-creating and nonce-finding directly into the setgenerate RPC call (instead of starting up a mining thread and waiting for it to find a block). This makes the forknotify RPC test three times quicker, for example (10 seconds runtime instead of 30 seconds, assuming the initial blockchain cache is already built).
2014-11-13Merge pull request #5198Wladimir J. van der Laan
1c0aa91 Update serialize comments to be doxygen compatible (Michael Ford)
2014-11-13Merge pull request #5252Wladimir J. van der Laan
b9a36b1 Make comments in /src/script doxygen compatible (Michael Ford)
2014-11-13Win32: change buffer size for gethotsname in Discover()Philip Kaufmann
- 256 byte is the maximum, as per http://msdn.microsoft.com/en-us/library/windows/desktop/ms738527%28v=vs.85%29.aspx
2014-11-13Win32: log addresses found in Discover() callsPhilip Kaufmann
2014-11-13Merge pull request #5203Wladimir J. van der Laan
0d91ae3 The first thing that SelectParams does is call SelectBaseParams. Therefore, we do not need to call SelectBaseParams immediately prior to calling SelectParams. (mruddy)
2014-11-12Merge pull request #5256Pieter Wuille
f4e0aef Do signature-s negation inside the tests (Pieter Wuille)
2014-11-12Merge pull request #5161Wladimir J. van der Laan
845c86d Do not use third party services for IP detection. (Gregory Maxwell)
2014-11-12Reset setBlockIndexCandidates once block index db loaded21E14
2014-11-11Add unauthenticated HTTP REST interface to public blockchain data.Jeff Garzik
2014-11-10Don't show wallet options in the preferences menu when running with ↵sinetek
-disablewallet
2014-11-10Merge pull request #5246Wladimir J. van der Laan
a8a5e01 Adding license. (sinetek)
2014-11-10Merge pull request #5239Wladimir J. van der Laan
65e3a1e Make sure that GetRandomBytes never fails (Wladimir J. van der Laan)
2014-11-10Do signature-s negation inside the testsPieter Wuille
To avoid the need for libsecp256k1 to expose such functionality.
2014-11-10Merge pull request #5249Pieter Wuille
38c62ae Adding const. (sinetek)
2014-11-10Make comments in /src/script doxygen compatibleMichael Ford
2014-11-08Adding const.sinetek
2014-11-08Adding license.sinetek
2014-11-08Merge pull request #5210Pieter Wuille
1f84793 Avoid a bunch of copying/conversion in script/sign (Pieter Wuille)
2014-11-07Do not use third party services for IP detection.Gregory Maxwell
This is a simplified re-do of closed pull #3088. This patch eliminates the privacy and reliability problematic use of centralized web services for discovering the node's addresses for advertisement. The Bitcoin protocol already allows your peers to tell you what IP they think you have, but this data isn't trustworthy since they could lie. So the challenge is using it without creating a DOS vector. To accomplish this we adopt an approach similar to the one used by P2Pool: If we're announcing and don't have a better address discovered (e.g. via UPNP) or configured we just announce to each peer the address that peer told us. Since peers could already replace, forge, or drop our address messages this cannot create a new vulnerability... but if even one of our peers is giving us a good address we'll eventually make a useful advertisement. We also may randomly use the peer-provided address for the daily rebroadcast even if we otherwise have a seemingly routable address, just in case we've been misconfigured (e.g. by UPNP). To avoid privacy problems, we only do these things if discovery is enabled.
2014-11-07Make sure that GetRandomBytes never failsWladimir J. van der Laan
We're using GetRandomBytes in several contexts where it's either unwieldy to return an error, or an error would mean a fatal exception anyhow. @gmaxwell checked OpenSSL a while ago and discovered that it never actually fails, but it can't hurt to be a bit paranoid here.
2014-11-07Add a locking mechanism to IsInitialBlockDownload to ensure it never goes ↵Ruben Dario Ponticelli
from false to true.
2014-11-06Fixing warning C4099: 'CExtPubKey' : type name first seen using 'class' now ↵ENikS
seen using 'struct'
2014-11-06Reduce bitcoin-tx dependenciesPieter Wuille
2014-11-06Merge pull request #5221Pieter Wuille
93a6022 Reduce bitcoin-cli dependencies (Pieter Wuille)