aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-02-04[Qt] prevent amount overflow problem with payment requestsPhilip Kaufmann
Bitcoin amounts are stored as uint64 in the protobuf messages (see paymentrequest.proto), but CAmount is defined as int64_t. Because of that we need to verify that single and accumulated amounts are in a valid range and no variable overflow has happened. - fixes #5624 (#5622) Thanks @SergioDemianLerner for reporting that issue and also supplying us with a possible solution. - add static verifyAmount() function to PaymentServer and move the logging on error into the function - also add a unit test to paymentservertests.cpp
2015-02-04Merge pull request #5509Wladimir J. van der Laan
7f991e3 c++11: These look like user-defined literals. (Cory Fields) 5a6155c c++11: don't forward-declare types used in maps (Cory Fields) 3447cf8 c++11: MOVEONLY: break circular dependency in wallet (Cory Fields) bbacd88 c++11: MOVEONLY: move function definitions out of the header (Cory Fields) a2b04dd build: fix newer boost build with c++11 (Cory Fields)
2015-02-04Merge pull request #5711Wladimir J. van der Laan
5ebe095 Trim RPC command table (Wladimir J. van der Laan) 4401b2d Removed main.h dependency from rpcserver.cpp (Eric Lombrozo)
2015-02-03c++11: These look like user-defined literals.Cory Fields
Add a space to keep the compiler happy
2015-02-03c++11: don't forward-declare types used in mapsCory Fields
2015-02-03c++11: MOVEONLY: break circular dependency in walletCory Fields
c++11 (libc++'s stdlib implementation anyway) doesn't allow for map types to be forward-declared. for example: class foo; std::map<int, foo> bar; // error, foo has not been defined. class foo{}; Since CWallet and CWalletTx are inter-dependent, but only std::map<*,CWalletTx> is used, forward-declare CWallet instead and define CWalletTx first. Despite the mangled git diff, this change only amounts to moving ~320 lines in a single chunk.
2015-02-03c++11: MOVEONLY: move function definitions out of the headerCory Fields
These need to be moved out of the header in order to resolve a circular dependency between CWallet and CTxWallet. See next commit.
2015-02-03build: fix newer boost build with c++11Cory Fields
2015-02-03Merge pull request #5286Wladimir J. van der Laan
44e9a6b Update the 'test_IsStandard' unit test (Flavien Charlon) a930658 Change the default maximum OP_RETURN size to 80 bytes (Flavien Charlon)
2015-02-03Merge pull request #5732Wladimir J. van der Laan
1371e6f Change "insane" to "absurd" (referring to high fees) in text strings and identifiers. (Daira Hopwood)
2015-02-03Merge pull request #5647Wladimir J. van der Laan
3ff735c Increase block download timeout base from 10 to 20 minutes. (Gregory Maxwell)
2015-02-03Merge pull request #5675Wladimir J. van der Laan
2d9b0b7 Fix priority calculation in CreateTransaction (Alex Morcos)
2015-02-03Merge pull request #5713Wladimir J. van der Laan
bf6cdeb Increase coverage of DERSIG edge cases (Pieter Wuille) 819bcf9 Add RPC test for DERSIG BIP switchover logic (Pieter Wuille) 5a47811 BIP66 changeover logic (Pieter Wuille) 092e9fe Example unit tests from BIP66 (Pieter Wuille) 80ad135 Change IsDERSignature to BIP66 implementation (Pieter Wuille)
2015-02-03Merge pull request #5729Wladimir J. van der Laan
fdf80ea [Qt] allow unit changes for read-only BitcoinAmountField (Philip Kaufmann)
2015-02-03Merge pull request #5719Wladimir J. van der Laan
9fddced Avoid storing a reference passed to SignatureChecker constructors (Pieter Wuille) 858809a Use separate SignatureChecker for CMutableTransaction (Pieter Wuille)
2015-02-02Avoid storing a reference passed to SignatureChecker constructorsPieter Wuille
2015-02-02Use separate SignatureChecker for CMutableTransactionPieter Wuille
2015-02-02Merge pull request #5731Wladimir J. van der Laan
ee93202 Changed pronouns for correctness and inclusivity (bikinibabe) 1fa89a5 fix _code_ snippet in gitian-building.md (UdjinM6) 34c6181 Fix README link from util.sh -> util.py. (Matt Bogosian) faf0af4 Suggest --disable-wallet when libdb_cxx headers are missing (Luke Dashjr) 5a809ef depends: fix typos (Michael Ford) bd2b73b TRIVIAL: fix misleading comment (Vitalii Demianets) 5262fde Remove whitespaces before double colon in errors and logs (Pavel Janík) 3800135 Fix typo (Pavel Janík) 91a9fe0 Fix typo - sentence starts with capital letter (Pavel Janík) bfc29dc Improve gitian build guide (Michael Ford) d6bed15 remove sig_canonical.json and sig_noncanonical.json (Manuel Araoz) 8673160 Remove bootstrap.md (Michael Ford)
2015-02-01Increase coverage of DERSIG edge casesPieter Wuille
2015-02-01Add RPC test for DERSIG BIP switchover logicPieter Wuille
2015-02-01BIP66 changeover logicPieter Wuille
2015-02-01Example unit tests from BIP66Pieter Wuille
2015-02-01Change IsDERSignature to BIP66 implementationPieter Wuille
2015-01-31Change "insane" to "absurd" (referring to high fees) in text strings and ↵Daira Hopwood
identifiers. Note that this will also require translation changes in Transifex for the key "A fee higher than %1 is considered an insanely high fee." which is now "A fee higher than %1 is considered an absurdly high fee." Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2015-01-31Changed pronouns for correctness and inclusivitybikinibabe
2015-01-31fix _code_ snippet in gitian-building.mdUdjinM6
Trivial typo-like fix
2015-01-31Fix README link from util.sh -> util.py.Matt Bogosian
2015-01-31Suggest --disable-wallet when libdb_cxx headers are missingLuke Dashjr
2015-01-31depends: fix typosMichael Ford
2015-01-31TRIVIAL: fix misleading commentVitalii Demianets
2015-01-31Remove whitespaces before double colon in errors and logsPavel Janík
2015-01-31Fix typoPavel Janík
2015-01-31Fix typo - sentence starts with capital letterPavel Janík
2015-01-31Improve gitian build guideMichael Ford
Point to the Debian 7.7 installer Fix wording now that we only use a single image Remove bitcoin checkout steps, they are covered in release-process
2015-01-31remove sig_canonical.json and sig_noncanonical.jsonManuel Araoz
2015-01-31Remove bootstrap.mdMichael Ford
See #5455
2015-01-31[Qt] allow unit changes for read-only BitcoinAmountFieldPhilip Kaufmann
- fixes #5725
2015-01-31Merge pull request #5707Wladimir J. van der Laan
14d023f change hardcoded character constants to a set of descriptive named constants for database keys (Earlz)
2015-01-30Merge pull request #5234Wladimir J. van der Laan
72ac792 Format build flags in src/Makefile.am. (randy-waterhouse)
2015-01-30Format build flags in src/Makefile.am.randy-waterhouse
2015-01-29Merge pull request #5477Wladimir J. van der Laan
6bbca99 LSSharedFileListItemResolve() was deprecated in Mac OS X 10.10, use LSSharedFileListItemCopyResolvedURL() instead (Cory Fields)
2015-01-29Merge pull request #5620Wladimir J. van der Laan
6715efb [Qt] Payment request expiration bug fix (re-done) (Philip Kaufmann)
2015-01-29Merge pull request #5720Wladimir J. van der Laan
55eade9 Change Coin Control first column label (fsb4000)
2015-01-29Change Coin Control first column labelfsb4000
2015-01-29Merge pull request #5683Wladimir J. van der Laan
95ef87c add new osx dmg background picture (Jonas Schnelli) 48bebcc osx packaging: update DS_Store after background changes (Cory Fields) 997cab7 osx packaging: switch background image to background.tiff (Cory Fields) 88a7973 osx packaging: move background image to .background to match gitian builds (Cory Fields)
2015-01-28Trim RPC command tableWladimir J. van der Laan
- invalidateblock and reconsiderblock were defined doubly - remove no-longer-used threadSafe, as locks have been pushed down
2015-01-28Removed main.h dependency from rpcserver.cppEric Lombrozo
Rebased by @laanwj: - update for RPC methods added since 84d13ee: setmocktime, invalidateblock, reconsiderblock. Only the first, setmocktime, required a change, the other two are thread safe.
2015-01-26Merge pull request #5506Wladimir J. van der Laan
7873633 Squashed 'src/secp256k1/' changes from bccaf86..50cc6ab (Pieter Wuille) 1a9576d Use libsecp256k1's RFC6979 implementation (Pieter Wuille)
2015-01-26Merge pull request #5695Wladimir J. van der Laan
5fdc5b0 depends: latest config.guess and config.sub (Michael Ford)
2015-01-26Merge pull request #5575Wladimir J. van der Laan
7b782f5 RPCWallet: Notate all account stuff as deprecated (Luke Dashjr)