aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | | | | | | | | | | namespace: drop boost::assign altogether hereCory Fields2015-01-021-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Standard functions are even simpler
| * | | | | | | | | | | | | | | | | namespace: remove boost namespace pollutionCory Fields2015-01-0213-67/+53
| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | Merge pull request #5520Wladimir J. van der Laan2015-01-062-3/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bdb6a71 IsNull doesn't change CBlockLocator, add const hint (Pavel Janík) 1b37333 Remove no longer needed declaration of CBlockLocator (Pavel Janík)
| * | | | | | | | | | | | | | | | | | IsNull doesn't change CBlockLocator, add const hintPavel Janík2014-12-201-1/+1
| | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | Remove no longer needed declaration of CBlockLocatorPavel Janík2014-12-201-2/+0
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge pull request #5598Wladimir J. van der Laan2015-01-064-10/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | eb0d34b Remove unused chainparam networkID (jtimon)
| * | | | | | | | | | | | | | | | | | | Remove unused chainparam networkIDjtimon2014-12-114-10/+0
| | |_|_|_|/ / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Merge pull request #5564Wladimir J. van der Laan2015-01-062-5/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | de236f5 clarify obscure uses of EvalScript() (Pavel Vasin)
| * | | | | | | | | | | | | | | | | | | clarify obscure uses of EvalScript()Pavel Vasin2014-12-302-5/+5
| | |_|_|/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 3rd argument of EvalScript() is the unsigned int flags, not a bool.
* | | | | | | | | | | | | | | | | | | Merge pull request #5532Wladimir J. van der Laan2015-01-061-590/+502
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be22b3d Update seed IPs, based on bitcoin.sipa.be crawler data (Pieter Wuille)
| * | | | | | | | | | | | | | | | | | | Update seed IPs, based on bitcoin.sipa.be crawler dataPieter Wuille2015-01-051-590/+502
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Move arith_uint256 out of consensus and utilPieter Wuille2015-01-061-2/+1
| |_|_|_|_|_|_|_|/ / / / / / / / / / / |/| | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | arith_uint256: remove initialization from byte vectorWladimir J. van der Laan2015-01-053-55/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | | | | | | | | | | | | | | | | Remove now-unused methods from arith_uint256 and base_uintWladimir J. van der Laan2015-01-053-148/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | | | | | | | | | | | | | | | | | Remove arith_uint160Wladimir J. van der Laan2015-01-053-294/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We never do 160-bit arithmetic.
* | | | | | | | | | | | | | | | | | | Add tests for new uint256Wladimir J. van der Laan2015-01-052-0/+269
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Add conversion functions arith_uint256<->uint_256Wladimir J. van der Laan2015-01-052-0/+24
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | uint256->arith_uint256 blob256->uint256Wladimir J. van der Laan2015-01-057-701/+985
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce new opaque implementation of `uint256`, move old "arithmetic" implementation to `arith_uint256.
* | | | | | | | | | | | | | | | | | | Use arith_uint256 where necessaryWladimir J. van der Laan2015-01-0511-33/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add conversion from/to uint256 where needed.
* | | | | | | | | | | | | | | | | | | String conversions uint256 -> uint256SWladimir J. van der Laan2015-01-0511-66/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | | | | | | | | | | | | | | | | Replace uint256(1) with static constantWladimir J. van der Laan2015-01-052-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | | | | Replace GetLow64 with GetCheapHashWladimir J. van der Laan2015-01-052-5/+5
| | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | Replace direct use of 0 with SetNull and IsNullWladimir J. van der Laan2015-01-0528-68/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace x=0 with .SetNull(), x==0 with IsNull(), x!=0 with !IsNull(). Replace uses of uint256(0) with uint256().
* | | | | | | | | | | | | | | | | | | Temporarily add SetNull/IsNull/GetCheapHash to base_uintWladimir J. van der Laan2015-01-052-0/+39
|/ / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add a stub for arith_uint256 and its conversion functions, for now completely based on uint256. Eases step-by-step migration to blob.
* | | | | | | | | | | | | | | | | | Merge pull request #5594Wladimir J. van der Laan2015-01-052-13/+0
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 7eeeac0 Remove dead BitcoinUnits::id code and update assets-attribution for non-image unit selector (Luke Dashjr)
| * | | | | | | | | | | | | | | | | | Remove dead BitcoinUnits::id code and update assets-attribution for ↵Luke Dashjr2015-01-032-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-image unit selector
* | | | | | | | | | | | | | | | | | | Merge pull request #5540Pieter Wuille2015-01-041-1/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 12d927a RPC test for immature balance (Jonas Schnelli) 8024d67 Add immature balances to getwalletinfo. (Gregory Maxwell) d44c545 Add unconfirmedbalance field to getwalletinfo (azeteki)
| * | | | | | | | | | | | | | | | | | | Add immature balances to getwalletinfo.Gregory Maxwell2014-12-251-2/+4
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Add unconfirmedbalance field to getwalletinfoazeteki2014-12-251-1/+3
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merge pull request #5508Pieter Wuille2015-01-042-1/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 146c0a7 Add RandAddSeedPerfmon to MakeNewKey (21E14)
| * | | | | | | | | | | | | | | | | | | Add RandAddSeedPerfmon to MakeNewKey21E142014-12-182-1/+1
| | |_|_|/ / / / / / / / / / / / / / / | |/| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | On close of splashscreen interrupt verifyDBThomas Zander2015-01-031-0/+2
| |_|_|_|/ / / / / / / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | | | | | | | | | | | | Merge pull request #5349Wladimir J. van der Laan2015-01-022-2/+19
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0125988 Implement test for merkle tree malleability in CPartialMerkleTree (Pieter Wuille)
| * | | | | | | | | | | | | | | | | | Implement test for merkle tree malleability in CPartialMerkleTreePieter Wuille2014-12-112-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a check that is mentioned in BIP 37, but never implemented in the reference code. As Bitcoin Core so far never decodes partial merkle trees, this is not a problem. But perhaps others use the code as a reference.
* | | | | | | | | | | | | | | | | | | Merge pull request #5476Wladimir J. van der Laan2015-01-029-6/+44
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 73caf47 Display time offset in the debug window's Peers tab (Pavel Janík) 26a6bae Add time offset to getpeerinfo output (Pavel Janík)
| * | | | | | | | | | | | | | | | | | | Display time offset in the debug window's Peers tabPavel Janík2014-12-154-2/+34
| | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | Add time offset to getpeerinfo outputPavel Janík2014-12-155-4/+10
| | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | Merge pull request #5580Wladimir J. van der Laan2015-01-022-1/+7
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | | | | | | | | | | | | | | | | | | | Bugfix: ConnectBlock: In case the genesis block gets in with fJustCheck, ↵Luke Dashjr2014-12-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | behave correctly
| * | | | | | | | | | | | | | | | | | | | Make CCoinsViewCache's copy constructor privateLuke Dashjr2014-12-311-0/+5
| | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | | | | | Remove declaration of no longer existent CheckWorkWladimir J. van der Laan2015-01-022-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also make ProcessBlockFound static as it is not used outside miner.cpp. Alternative implementation of #5549.
* | | | | | | | | | | | | | | | | | | | Merge pull request #5583Wladimir J. van der Laan2015-01-021-2/+1
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 643415a [Qt] update a translation string and argument counts (Philip Kaufmann)
| * | | | | | | | | | | | | | | | | | | | [Qt] update a translation string and argument countsPhilip Kaufmann2014-12-311-2/+1
| | | | | | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | | | | | Bump project-wide COPYRIGHT_YEAR to 2015Wladimir J. van der Laan2015-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is still a redundancy here between configure.ac and clientversion.h.
* | | | | | | | | | | | | | | | | | | | | Remove redundant copyright notices from README filesWladimir J. van der Laan2015-01-021-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The normative place for these for the entire project is COPYING, and the main README already has a MIT license section.
* | | | | | | | | | | | | | | | | | | | | Merge pull request #5551Wladimir J. van der Laan2015-01-026-7/+11
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|_|_|_|_|_|/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd3f697 Use real text rather than image-rendered text for unit selector (Luke Dashjr)
| * | | | | | | | | | | | | | | | | | | | Use real text rather than image-rendered text for unit selectorLuke Dashjr2014-12-296-7/+11
| | |_|_|_|_|_|_|_|_|/ / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | | | | | | | | | | | | | | | Merge #5528 fromJeff Garzik2014-12-314-4/+16
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | branch 'bitcoin-tx-copy-paste' of git://github.com/ers35/bitcoin into merge-5528
| * | | | | | | | | | | | | | | | | | | | bitcoin-tx: Add test case for signing a txEric R. Schulz2014-12-243-1/+13
| | | | | | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | | bitcoin-tx: Refer to the JSON fields rather than the whole objectEric R. Schulz2014-12-231-2/+2
| | | | | | | | | | | | | | | | | | | | |