aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Increase coverage of DERSIG edge casesPieter Wuille2015-02-012-0/+20
|
* BIP66 changeover logicPieter Wuille2015-02-014-1/+15
|
* Example unit tests from BIP66Pieter Wuille2015-02-013-0/+217
|
* Change IsDERSignature to BIP66 implementationPieter Wuille2015-02-011-63/+63
|
* Merge pull request #5707Wladimir J. van der Laan2015-01-311-21/+32
|\ | | | | | | 14d023f change hardcoded character constants to a set of descriptive named constants for database keys (Earlz)
| * change hardcoded character constants to a set of descriptive named constants ↵Earlz2015-01-251-21/+32
| | | | | | | | for database keys
* | Format build flags in src/Makefile.am.randy-waterhouse2015-01-301-25/+27
| |
* | Merge pull request #5477Wladimir J. van der Laan2015-01-291-1/+12
|\ \ | | | | | | | | | 6bbca99 LSSharedFileListItemResolve() was deprecated in Mac OS X 10.10, use LSSharedFileListItemCopyResolvedURL() instead (Cory Fields)
| * | LSSharedFileListItemResolve() was deprecated in Mac OS X 10.10, use ↵Cory Fields2015-01-211-1/+12
| | | | | | | | | | | | LSSharedFileListItemCopyResolvedURL() instead
* | | Merge pull request #5620Wladimir J. van der Laan2015-01-297-13/+137
|\ \ \ | | | | | | | | | | | | 6715efb [Qt] Payment request expiration bug fix (re-done) (Philip Kaufmann)
| * | | [Qt] Payment request expiration bug fix (re-done)Philip Kaufmann2015-01-157-13/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - this is based on #4122 (which can be closed) Currently a payment request is only checked for expiration upon receipt. It should be checked again immediately before sending coins to prevent the user from paying to an expired invoice which would then require a customer service interaction. - add static verifyExpired() function to PaymentServer to be able to use the same validation code in GUI and unit-testing code - extend unit tests to use that function and also add an unit test which overflows, because payment requests allow expires as uint64, whereas we use int64_t for verification of expired payment requests
* | | | Change Coin Control first column labelfsb40002015-01-291-0/+4
| | | |
* | | | Merge pull request #5506Wladimir J. van der Laan2015-01-2628-673/+1193
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | 7873633 Squashed 'src/secp256k1/' changes from bccaf86..50cc6ab (Pieter Wuille) 1a9576d Use libsecp256k1's RFC6979 implementation (Pieter Wuille)
| * \ \ \ Update libsecp256k1Pieter Wuille2015-01-0623-529/+1172
| |\ \ \ \
| | * | | | Squashed 'src/secp256k1/' changes from bccaf86..50cc6abPieter Wuille2015-01-0617-446/+1052
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50cc6ab Merge pull request #178 941e221 Add tests for handling of the nonce function in signing. 10c81ff Merge pull request #177 7688e34 Add magnitude limits to secp256k1_fe_verify to ensure that it's own tests function correctly. 4ee4f7a Merge pull request #176 70ae0d2 Use secp256k1_fe_equal_var in secp256k1_fe_sqrt_var. 7767b4d Merge pull request #175 9ab9335 Add a reference consistency test to ge_tests. 60571c6 Rework group tests d26e26f Avoid constructing an invalid signature with probability 1:2^256. b450c34 Merge pull request #163 d57cae9 Merge pull request #154 49ee0db Add _normalizes_to_zero_var variant eed599d Add _fe_normalizes_to_zero method d7174ed Weak normalization for secp256k1_fe_equal 0295f0a weak normalization bbd5ba7 Use rfc6979 as default nonce generation function b37fbc2 Implement SHA256 / HMAC-SHA256 / RFC6979. c6e7f4e [API BREAK] Use a nonce-generation function instead of a nonce cf0c48b Merge pull request #169 603c33b Make signing fail if a too small buffer is passed. 6d16606 Merge pull request #168 7277fd7 Remove GMP field implementation e99c4c4 Merge pull request #123 13278f6 Add explanation about how inversion can be avoided ce7eb6f Optimize verification: avoid field inverse a098f78 Merge pull request #160 38acd01 Merge pull request #165 6a59012 Make git ignore bench_recover when configured with benchmark enabled 1ba4a60 Configure options reorganization 3c0f246 Merge pull request #157 808dd9b Merge pull request #156 8dc75e9 Merge pull request #158 28ade27 build: nuke bashisms 5190079 build: use subdir-objects for automake 8336040 build: disable benchmark by default git-subtree-dir: src/secp256k1 git-subtree-split: 50cc6ab0625efda6dddf1dc86c1e2671f069b0d8
| * | | | | Use libsecp256k1's RFC6979 implementationPieter Wuille2015-01-065-144/+21
| | | | | |
* | | | | | Merge pull request #5575Wladimir J. van der Laan2015-01-263-43/+34
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | 7b782f5 RPCWallet: Notate all account stuff as deprecated (Luke Dashjr)
| * | | | | | RPCWallet: Notate all account stuff as deprecatedLuke Dashjr2014-12-303-43/+34
| | | | | | |
* | | | | | | Merge pull request #5626Wladimir J. van der Laan2015-01-263-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 652eb90 [Qt] change transaction table column width (Jonas Schnelli) af95b17 [Qt] resize oversized icons (Jonas Schnelli)
| * | | | | | | [Qt] change transaction table column widthJonas Schnelli2015-01-163-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make enought space for the new icons
| * | | | | | | [Qt] resize oversized iconsJonas Schnelli2015-01-162-0/+0
| | | | | | | |
* | | | | | | | Merge pull request #5628Wladimir J. van der Laan2015-01-261-0/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | 785bb81 [Qt] remove size grip to get rid of the right margin (Jonas Schnelli)
| * | | | | | | | [Qt] remove size grip to get rid of the right marginJonas Schnelli2015-01-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IMO nobody needs a size grip and it looks bad
* | | | | | | | | Merge pull request #5243Wladimir J. van der Laan2015-01-261-0/+5
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ff09e31 sleep-wait on genesis block during init with -reindex (Matt Corallo)
| * | | | | | | | | sleep-wait on genesis block during init with -reindexMatt Corallo2014-12-201-0/+5
| | | | | | | | | |
* | | | | | | | | | Merge pull request #4805Wladimir J. van der Laan2015-01-268-19/+30
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 44bc988 [Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..) (Cozz Lovan)
| * | | | | | | | | | [Wallet] Do not flush the wallet in AddToWalletIfInvolvingMe(..)Cozz Lovan2014-10-038-19/+30
| | | | | | | | | | |
* | | | | | | | | | | Merge pull request #5627Wladimir J. van der Laan2015-01-264-5/+11
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | 2fa9a8e Make empty byte arrays pass CheckSignatureEncoding() (Peter Todd)
| * | | | | | | | | | Make empty byte arrays pass CheckSignatureEncoding()Peter Todd2015-01-094-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Makes it possible to compactly provide a delibrately invalid signature for use with CHECK(MULTI)SIG. For instance with BIP19 if m != n invalid signatures need to be provided in the scriptSig; prior to this change those invalid signatures would need to be large DER-encoded signatures. Note that we may want to further expand on this change in the future by saying that only OP_0 is a "valid" invalid signature; BIP19 even with this change is inherently malleable as the invalid signatures can be any validly encoded DER signature.
* | | | | | | | | | | Merge pull request #5599Wladimir J. van der Laan2015-01-245-65/+2
|\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0cc0d8d Get rid of the internal miner's hashmeter (jtimon)
| * | | | | | | | | | | Get rid of the internal miner's hashmeterjtimon2015-01-045-65/+2
| | | | | | | | | | | |
* | | | | | | | | | | | fix crash: CoinControl "space" bugfsb40002015-01-231-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Just like https://github.com/novacoin-project/novacoin/commit/baf80c26a2e7f1ba6061d63d174eff0a09111e6f
* | | | | | | | | | | | Delete RecvLine functionWladimir J. van der Laan2015-01-202-51/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No longer necessary since #5161 / 845c86d128fb97d55d125e63653def38729bd2ed.
* | | | | | | | | | | | Merge pull request #5648Wladimir J. van der Laan2015-01-203-16/+8
|\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2ce63d3 MOVEONLY: Move struct CBlockTemplate to miner.h (from main.h) (Luke Dashjr)
| * | | | | | | | | | | | MOVEONLY: Move struct CBlockTemplate to miner.h (from main.h)Luke Dashjr2015-01-123-16/+8
| | | | | | | | | | | | |
* | | | | | | | | | | | | Merge pull request #5651Wladimir J. van der Laan2015-01-203-12/+14
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1d84aea Coin Control: Use U+2248 "ALMOST EQUAL TO" rather than a simple tilde (which may be mistaken for a negative sign) (Luke Dashjr)
| * | | | | | | | | | | | | Coin Control: Use U+2248 "ALMOST EQUAL TO" rather than a simple tilde (which ↵Luke Dashjr2015-01-123-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | may be mistaken for a negative sign)
* | | | | | | | | | | | | | Merge pull request #5671Wladimir J. van der Laan2015-01-194-15/+41
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73cd4ed qt: avoid hard-coding font names (Cory Fields) 52954e6 qt: fix broken unicode chars on osx 10.10 (Cory Fields) f5ad78b qt: fonts: allow SubstituteFonts to filter based on user's language (Cory Fields)
| * | | | | | | | | | | | | | qt: avoid hard-coding font namesCory Fields2015-01-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They may not contain all necessary characters for a language
| * | | | | | | | | | | | | | qt: fix broken unicode chars on osx 10.10Cory Fields2015-01-171-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default font changed again. The real fix is to compile qt against a >= 10.8 sdk, but this is simple enough to backport to 0.10 to avoid having to do that there. Note: NSAppKitVersionNumber is a double and there's no official value for NSAppKitVersionNumber10_10. Since == isn't reliable for doubles, use Apple's guidelines for testing versions here: https://developer.apple.com/library/mac/releasenotes/AppKit/RN-AppKit/ Chinese and Japanese fonts have been hard-coded as well, otherwise they fail to show up at all.
| * | | | | | | | | | | | | | qt: fonts: allow SubstituteFonts to filter based on user's languageCory Fields2015-01-163-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SubstituteFonts() has been moved to after app identification so that QSettings are accessible.
* | | | | | | | | | | | | | | Restore RPC HTTP keepalives to default.Gregory Maxwell2015-01-162-2/+2
|/ / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This avoids a regression for issues like #334 where high speed repeated connections eventually run the HTTP client out of sockets because all of theirs end up in time_wait. Maybe the trade-off here is suboptimal, but if both choices will fail then we prefer fewer changes until the root cause is solved.
* | | | | | | | | | | | | | Merge pull request #5632Wladimir J. van der Laan2015-01-165-35/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | 98c222b [Qt] optimize helpmessage dialog (Jonas Schnelli)
| * | | | | | | | | | | | | [Qt] optimize helpmessage dialogJonas Schnelli2015-01-095-35/+5
| | |_|_|/ / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - enlarge standard size - remove fixed 10px font - remove left mood image - ensure that table has no ugly line-breaks on OSX, Linux
* | | | | | | | | | | | | Merge pull request #5636Wladimir J. van der Laan2015-01-162-1/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 851296a [Qt] add option to allow self signed root certs (for testing) (Philip Kaufmann)
| * | | | | | | | | | | | | [Qt] add option to allow self signed root certs (for testing)Philip Kaufmann2015-01-112-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - it is helpful to be able to test and verify payment request processing by allowing self signed root certificates (e.g. generated by Gavins "certificate authority in a box") - This option is just shown in the UI options, if -help-debug is enabled.
* | | | | | | | | | | | | | Merge pull request #5666Wladimir J. van der Laan2015-01-161-7/+10
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0c03a93 [Qt] add debug logging for -rootcertificates option (Philip Kaufmann)
| * | | | | | | | | | | | | | [Qt] add debug logging for -rootcertificates optionPhilip Kaufmann2015-01-151-7/+10
| | |_|_|_|_|_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - now logs if -rootcertificates="" was used to disable payment request authentication via X.509 certificates - also logs which file is used as trusted root cert, if -rootcertificates is set
* | | | | | | | | | | | | | Merge pull request #5655Wladimir J. van der Laan2015-01-152-1/+2
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1dd8ee7 improve tests for #5655 (Jonas Schnelli) 56c1093 fix tests for #5655 (Wladimir J. van der Laan) 16a5c18 Add a -rpckeepalive and disable RPC use of HTTP persistent connections. (Gregory Maxwell)
| * | | | | | | | | | | | | Add a -rpckeepalive and disable RPC use of HTTP persistent connections.Gregory Maxwell2015-01-142-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It turns out that some miners have been staying with old versions of Bitcoin Core because their software behaves poorly with persistent connections and the Bitcoin Core thread and connection limits. What happens is that underlying HTTP libraries leave connections open invisibly to their users and then the user runs into the default four thread limit. This looks like Bitcoin Core is unresponsive to RPC. There are many things that should be improved in Bitcoin Core's behavior here, e.g. supporting more concurrent connections, not tying up threads for idle connections, disconnecting kept-alive connections when limits are reached, etc. All are fairly big, risky changes. Disabling keep-alive is a simple workaround. It's often not easy to turn off the keep-alive support in the client where it may be buried in some platform library. If you are one of the few who really needs persistent connections you probably know that you want them and can find a switch; while if you don't and the misbehavior is hitting you it is hard to discover the source of your problems is keepalive related. Given that it is best to default to off until they're handled better.