aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-04Reject non-final txs even in testnet/regtestPeter Todd
Previous behavior with IsFinalTx() being an IsStandard() rule was rather confusing and interferred with testing of protocols that depended on nLockTime.
2015-01-04Catch LevelDB errors during flushPieter Wuille
2015-01-04Bugfix: only track UTXO modification after lookupPieter Wuille
Otherwise, if CCoinsViewCache::ModifyCoins throws an exception in between setting hasModifier and constructing the CCoinsModifier, the cache ends up in an inconsistent state, resulting in an assert failure in the next modification. Bug discovered by Wladimir J. van der Laan.
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-02namespace: drop most boost namespaces and a few header cleanupsCory Fields
A few boost::asio were left around because they're very wordy otherwise.
2015-01-02namespace: drop boost::assign altogether hereCory Fields
Standard functions are even simpler
2015-01-02namespace: remove boost namespace pollutionCory Fields
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)
2015-01-01Rename MAX_TX_SIGOPS to MAX_STANDARD_TX_SIGOPS to match similar policy ↵Luke Dashjr
constant MAX_STANDARD_TX_SIZE
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-30clarify obscure uses of EvalScript()Pavel Vasin
The 3rd argument of EvalScript() is the unsigned int flags, not a bool.
2014-12-30Require sufficent priority for relay of free transactionsPieter Wuille
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)