aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-01-06Update libsecp256k1Pieter Wuille
2015-01-06Squashed 'src/secp256k1/' changes from bccaf86..50cc6abPieter Wuille
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
2015-01-06Use libsecp256k1's RFC6979 implementationPieter Wuille
2015-01-05arith_uint256: remove initialization from byte vectorWladimir J. van der Laan
Remove initialization from vector (as this is only used in the tests). Also implement SetHex and GetHex in terms of uint256, to avoid duplicate code as well as avoid endianness issues (as they work in term of bytes).
2015-01-05Remove now-unused methods from arith_uint256 and base_uintWladimir J. van der Laan
- Methods that access the guts of arith_uint256 are removed, as these are incompatible between endians. Use uint256 instead - Serialization is no longer needed as arith_uint256's are never read or written - GetHash is never used on arith_uint256
2015-01-05Remove arith_uint160Wladimir J. van der Laan
We never do 160-bit arithmetic.
2015-01-05Add tests for new uint256Wladimir J. van der Laan
2015-01-05Add conversion functions arith_uint256<->uint_256Wladimir J. van der Laan
2015-01-05uint256->arith_uint256 blob256->uint256Wladimir J. van der Laan
Introduce new opaque implementation of `uint256`, move old "arithmetic" implementation to `arith_uint256.
2015-01-05Use arith_uint256 where necessaryWladimir J. van der Laan
Also add conversion from/to uint256 where needed.
2015-01-05String conversions uint256 -> uint256SWladimir J. van der Laan
If uint256() constructor takes a string, uint256(0) will become dangerous when uint256 does not take integers anymore (it will go through std::string(const char*) making a NULL string, and the explicit keyword is no help).
2015-01-05Replace uint256(1) with static constantWladimir J. van der Laan
SignatureHash and its test function SignatureHashOld return uint256(1) as a special error signaling value. Return a local static constant with the same value instead.
2015-01-05Replace GetLow64 with GetCheapHashWladimir J. van der Laan
2015-01-05Replace direct use of 0 with SetNull and IsNullWladimir J. van der Laan
Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
2015-01-05Temporarily add SetNull/IsNull/GetCheapHash to base_uintWladimir J. van der Laan
Also add a stub for arith_uint256 and its conversion functions, for now completely based on uint256. Eases step-by-step migration to blob.
2015-01-05Merge pull request #5594Wladimir J. van der Laan
7eeeac0 Remove dead BitcoinUnits::id code and update assets-attribution for non-image unit selector (Luke Dashjr)
2015-01-04Merge pull request #5540Pieter Wuille
12d927a RPC test for immature balance (Jonas Schnelli) 8024d67 Add immature balances to getwalletinfo. (Gregory Maxwell) d44c545 Add unconfirmedbalance field to getwalletinfo (azeteki)
2015-01-04Merge pull request #5508Pieter Wuille
146c0a7 Add RandAddSeedPerfmon to MakeNewKey (21E14)
2015-01-03Remove dead BitcoinUnits::id code and update assets-attribution for ↵Luke Dashjr
non-image unit selector
2015-01-03On close of splashscreen interrupt verifyDBThomas Zander
With the splashscreen being able to be closed it is possible to shutdown during the lengthy verifyDB method. (Takes about a minute on my machine). This change allows us to shutdown much sooner. Github-Pull: #5557
2015-01-02Merge pull request #5349Wladimir J. van der Laan
0125988 Implement test for merkle tree malleability in CPartialMerkleTree (Pieter Wuille)
2015-01-02Merge pull request #5476Wladimir J. van der Laan
73caf47 Display time offset in the debug window's Peers tab (Pavel Janík) 26a6bae Add time offset to getpeerinfo output (Pavel Janík)
2015-01-02Merge pull request #5580Wladimir J. van der Laan
1b178a7 Bugfix: ConnectBlock: In case the genesis block gets in with fJustCheck, behave correctly (Luke Dashjr) 228d238 Make CCoinsViewCache's copy constructor private (Luke Dashjr)
2015-01-02Remove declaration of no longer existent CheckWorkWladimir J. van der Laan
Also make ProcessBlockFound static as it is not used outside miner.cpp. Alternative implementation of #5549.
2015-01-02Merge pull request #5583Wladimir J. van der Laan
643415a [Qt] update a translation string and argument counts (Philip Kaufmann)
2015-01-02Bump project-wide COPYRIGHT_YEAR to 2015Wladimir J. van der Laan
There is still a redundancy here between configure.ac and clientversion.h.
2015-01-02Remove redundant copyright notices from README filesWladimir J. van der Laan
The normative place for these for the entire project is COPYING, and the main README already has a MIT license section.
2015-01-02Merge pull request #5551Wladimir J. van der Laan
dd3f697 Use real text rather than image-rendered text for unit selector (Luke Dashjr)
2014-12-31Merge #5528 fromJeff Garzik
branch 'bitcoin-tx-copy-paste' of git://github.com/ers35/bitcoin into merge-5528
2014-12-31Merge #5578 fromJeff Garzik
branch 'error_typos' of git://github.com/paveljanik/bitcoin into merge-5578
2014-12-31Merge #4964 fromJeff Garzik
branch 'validateaddress-return-scriptpubkey' of git://github.com/petertodd/bitcoin into merge-4964
2014-12-31Merge #5111 fromJeff Garzik
branch 'core2' of git://github.com/jtimon/bitcoin into merge-5111
2014-12-31[Qt] update a translation string and argument countsPhilip Kaufmann
2014-12-31Merge pull request #5499Wladimir J. van der Laan
7f71813 Bugfix: prioritisetransaction: Do some basic sanity checking on txid (Luke Dashjr)
2014-12-31Merge pull request #5545Wladimir J. van der Laan
a094b3d Remove bitnodes.io from dnsseeds. (Gregory Maxwell)
2014-12-31Merge pull request #5571Wladimir J. van der Laan
06206bb Correct tooltip on address book page (Michael Ford)
2014-12-31Merge pull request #5576Wladimir J. van der Laan
8f6860a Bugfix: RPCWallet: Docs: Booleans aren't quoted (Luke Dashjr)
2014-12-31Bugfix: ConnectBlock: In case the genesis block gets in with fJustCheck, ↵Luke Dashjr
behave correctly
2014-12-31Make CCoinsViewCache's copy constructor privateLuke Dashjr
It is easily confused with CCoinsViewCache(CCoinsView*), which creates a sub-cache, but instead of creating a sub-cache, the copy constructor would copy the original and use that original's base, defeating the intended isolation.
2014-12-30Clean AcceptToMemoryPool error messagesPavel Janík
2014-12-30Bugfix: RPCWallet: Docs: Booleans aren't quotedLuke Dashjr
2014-12-30Correct tooltip on address book pageMichael Ford
2014-12-29rpcserver: attempt to fix uncaught exception.Cory Fields
2014-12-29Merge pull request #5505Wladimir J. van der Laan
469d564 Build winshutdownmonitor.cpp on Windows only. (Pavel Janík)
2014-12-29Use real text rather than image-rendered text for unit selectorLuke Dashjr
The width of each unit is measured to set a fixed width for the widget, and the color is set to match the other status widgets.
2014-12-29Merge pull request #5514Wladimir J. van der Laan
be43492 build: fix 'make distcheck' (Cory Fields)
2014-12-29Merge pull request #5530Wladimir J. van der Laan
7c5dd60 Adding RPC tests for the following wallet related calls: getbalance, listsinceblock, listtransactions, listlockunspent, listaccounts listaddressgroupings (Everett Forth)
2014-12-28Fix reference.Thomas Zander
The text talked about "Quit" while Bitcoin uses "Exit" in its menu.
2014-12-27Adopt style colour for button iconsLuke Dashjr
2014-12-27Move UndoWriteToDisk() and UndoReadFromDisk() to anon namespacejtimon