aboutsummaryrefslogtreecommitdiff
path: root/src/qt/walletmodel.h
Commit message (Collapse)AuthorAgeFilesLines
* Increment MIT Licence copyright header year on files modified in 2016isle29832016-12-311-1/+1
| | | | | | Edited via: $ contrib/devtools/copyright_header.py update .
* Get rid of nType and nVersionPieter Wuille2016-11-071-1/+1
| | | | | | | | | | | Remove the nType and nVersion as parameters to all serialization methods and functions. There is only one place where it's read and has an impact (in CAddress), and even there it does not impact any of the recursively invoked serializers. Instead, the few places that need nType or nVersion are changed to read it directly from the stream object, through GetType() and GetVersion() methods which are added to all stream classes.
* [qt] Return useful error message on ATMP failureMarcoFalke2016-10-301-2/+6
|
* [Qt] Hide nTxConfirmTarget behind WalletModelJonas Schnelli2016-10-281-0/+2
|
* Merge #8774: Qt refactors to better abstract wallet accessJonas Schnelli2016-10-191-0/+1
|\ | | | | | | | | 178cd88 Qt/splash: Specifically keep track of which wallet(s) we are connected to for later disconnecting (Luke Dashjr) 1880aeb Qt: Get the private key for signing messages via WalletModel (Luke Dashjr)
| * Qt: Get the private key for signing messages via WalletModelLuke Dashjr2016-10-041-0/+1
| |
* | Merge #8658: Remove unused statements in serializationWladimir J. van der Laan2016-09-291-1/+0
|\ \ | | | | | | | | | 64d9507 [WIP] Remove unused statement in serialization (Pavel Janík)
| * | [WIP] Remove unused statement in serializationPavel Janík2016-09-091-1/+0
| | |
* | | Do not shadow in src/qtPavel Janík2016-09-231-4/+4
| | |
* | | [qt] WalletModel: Expose disablewalletMarcoFalke2016-09-211-0/+2
|/ /
* | [Qt] add HD enabled/disabled icon to the status barJonas Schnelli2016-08-191-0/+2
| |
* | [Qt] Support for abandoned/abandoning transactionsJonas Schnelli2016-04-041-0/+3
| |
* | Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|/
* Merge pull request #6415Wladimir J. van der Laan2015-08-141-0/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | d042854 SQUASH "Implement watchonly support in fundrawtransaction" (Matt Corallo) 428a898 SQUASH "Add have-pubkey distinction to ISMINE flags" (Matt Corallo) 6bdb474 Implement watchonly support in fundrawtransaction (Matt Corallo) f5813bd Add logic to track pubkeys as watch-only, not just scripts (Matt Corallo) d3354c5 Add have-pubkey distinction to ISMINE flags (Matt Corallo) 5c17059 Update importaddress help to push its use to script-only (Matt Corallo) a1d7df3 Add importpubkey method to import a watch-only pubkey (Matt Corallo) 907a425 Add p2sh option to importaddress to import redeemScripts (Matt Corallo) 983d2d9 Split up importaddress into helper functions (Matt Corallo) cfc3dd3 Also remove pay-2-pubkey from watch when adding a priv key (Matt Corallo)
| * Add logic to track pubkeys as watch-only, not just scriptsMatt Corallo2015-07-201-0/+1
| |
* | qt: Introduce PlatformStyleWladimir J. van der Laan2015-07-311-1/+2
|/ | | | | | | | | | | | | | Introduce a PlatformStyle to handle platform-specific customization of the UI. This replaces 'scicon', as well as #ifdefs to determine whether to place icons on buttons. The selected PlatformStyle defaults to the platform that the application was compiled on, but can be overridden from the command line with `-uiplatform=<x>`. Also fixes the warning from #6328.
* qt: define QT_NO_KEYWORDSWladimir J. van der Laan2015-07-151-2/+2
| | | | | | | | QT_NO_KEYWORDS prevents Qt from defining the `foreach`, `signals`, `slots` and `emit` macros. Avoid overlap between Qt macros and boost - for example #undef hackiness in #6421.
* allocators: split allocators and pagelockerCory Fields2015-03-201-1/+1
| | | | | Pagelocker is only needed for secure (usually wallet) operations, so don't make the zero-after-free allocator depend on it.
* Subtract fee from amountCozz Lovan2015-03-131-2/+4
| | | | | | | | Fixes #2724 and #1570. Adds the automatically-subtract-the-fee-from-the-amount-and-send-whats-left feature to the GUI and RPC (sendtoaddress,sendmany).
* Change "insane" to "absurd" (referring to high fees) in text strings and ↵Daira Hopwood2015-01-311-1/+1
| | | | | | | | | | 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 <[email protected]>
* [Qt] Payment request expiration bug fix (re-done)Philip Kaufmann2015-01-151-2/+3
| | | | | | | | | | | | | | | - 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
* Added "Core" to copyright headerssandakersmann2014-12-191-1/+1
| | | | | Github-Pull: #5494 Rebased-From: 15de949bb9277e442302bdd8dee299a8d6deee60
* Remove references to X11 licenceMichael Ford2014-12-161-1/+1
|
* [Qt] Add Smartfee to GUICozz Lovan2014-11-191-1/+2
|
* Fix all header definesPavel Janík2014-11-031-3/+3
|
* qt: Move transaction notification to transaction table modelWladimir J. van der Laan2014-10-281-5/+1
| | | | | | | | | | Move transaction new/update notification to TransactionTableModel. This moves the concerns to where they're actually handled. No need to bounce this through wallet model. - Do wallet transaction preprocessing on signal handler side; avoids locking cs_main/cs_wallet on notification in GUI thread (except for new transactions)
* Use a typedef for monetary valuesMark Friedenbach2014-09-261-16/+16
|
* Merge pull request #4712Wladimir J. van der Laan2014-09-081-0/+1
|\ | | | | | | 80daee0 [Qt] Call checkBalanceChanged() periodically instead for every updated transaction (Cozz Lovan)
| * [Qt] Call checkBalanceChanged() periodically instead for every updated ↵Cozz Lovan2014-08-261-0/+1
| | | | | | | | transaction
* | Merge pull request #4783Wladimir J. van der Laan2014-09-041-1/+1
|\ \ | | | | | | | | | fbe0fca [Qt] minor watch-only changes (Philip Kaufmann)
| * | [Qt] minor watch-only changesPhilip Kaufmann2014-08-281-1/+1
| |/ | | | | | | | | | | - use watch-only, not watchonly - add back a tooltip hint when hovering addresses and attach "(watch-only)" at the end
* | Rename IMPLEMENT_SERIALIZE to ADD_SERIALIZE_METHODSPieter Wuille2014-09-021-1/+1
| |
* | Serializer simplifications after IMPLEMENT_SERIALIZE overhaulPieter Wuille2014-09-011-18/+14
| |
* | Use CSizeComputer to avoid counting sizes in SerializationOpPieter Wuille2014-08-311-5/+2
| |
* | rework overhauled serialization methods to non-staticKamil Domanski2014-08-311-5/+5
| | | | | | | | | | | | | | Thanks to Pieter Wuille for most of the work on this commit. I did not fixup the overhaul commit, because a rebase conflicted with "remove fields of ser_streamplaceholder". I prefer not to risk making a mistake while resolving it.
* | overhaul serialization codeKamil Domanski2014-08-311-4/+11
|/ | | | | | | | | | | | | | | | | | | | | The implementation of each class' serialization/deserialization is no longer passed within a macro. The implementation now lies within a template of form: template <typename T, typename Stream, typename Operation> inline static size_t SerializationOp(T thisPtr, Stream& s, Operation ser_action, int nType, int nVersion) { size_t nSerSize = 0; /* CODE */ return nSerSize; } In cases when codepath should depend on whether or not we are just deserializing (old fGetSize, fWrite, fRead flags) an additional clause can be used: bool fRead = boost::is_same<Operation, CSerActionUnserialize>(); The IMPLEMENT_SERIALIZE macro will now be a freestanding clause added within class' body (similiar to Qt's Q_OBJECT) to implement GetSerializeSize, Serialize and Unserialize. These are now wrappers around the "SerializationOp" template.
* Merge pull request #4673Wladimir J. van der Laan2014-08-261-0/+7
|\ | | | | | | | | 1c5f0af [Qt] Add column Watch-only to transactions list (Cozz Lovan) 939ed97 Add boolean HaveWatchonly and signal NotifyWatchonlyChanged (Cozz Lovan)
| * Add boolean HaveWatchonly and signal NotifyWatchonlyChangedCozz Lovan2014-08-111-0/+7
| |
* | gui: remove redundant numTransactions trackingWladimir J. van der Laan2014-08-181-5/+0
|/ | | | | | | This number was still tracked even though it's shown nowhere in the UI anymore. It was originally removed because it didn't match the actual number of records in the view (which contains outputs, not transactions) thus was confusing people.
* [Qt] Prevent balloon-spam after rescanCozz Lovan2014-07-181-0/+4
|
* Watchonly balances are shown separately in gui.JaSK2014-07-021-1/+8
|
* [Qt] rescan progressCozz Lovan2014-04-021-0/+3
|
* Remove CWalletTx::vfSpentGavin Andresen2014-02-261-0/+1
| | | | | | Use the spent outpoint multimap to figure out which wallet transaction outputs are unspent, instead of a vfSpent array that is saved to disk.
* Copyright header updates s/2013/2014 on files whose last git commit was done ↵gubatron2014-02-091-1/+1
| | | | | | in 2014. contrib/devtools/fix-copyright-headers.py script to be able to perform this maintenance task with ease during the rest of the year, every year. Modifications to contrib/devtools/README.md to document what fix-copyright-headers.py does.
* [Qt] very minor style cleanupsPhilip Kaufmann2014-01-221-1/+1
| | | | | | - rebuilt some ui file layout to remove unreal values from the files - remove an unneeded attribute from an ui file - add / remove some spaces in files
* [Qt] Permanently store requested payments in walletCozz Lovan2014-01-191-2/+40
|
* Merge pull request #3433Wladimir J. van der Laan2013-12-181-1/+1
|\ | | | | | | 6c1bf19 [Qt] style-police, add missing license headers (Philip Kaufmann)
| * [Qt] style-police, add missing license headersPhilip Kaufmann2013-12-171-1/+1
| | | | | | | | | | - add missing license headers in Mac files - small code formating cleanups
* | qt: status WalletModel::Aborted is no longer usedWladimir J. van der Laan2013-12-161-3/+2
|/ | | | | Aborting transactions happens in the GUI now as it should, not the backend.
* qt: keep a list of requested paymentsWladimir J. van der Laan2013-11-191-0/+3
| | | | | | | | | Keep a list of requested payments in the Receive tab so that a user can recall previously created requests after closing their windows. Currently this list is not stored between bitcoin-qt sessions. This can be implemented later, but it is not clear where it should be stored as I don't think it belongs in the wallet (maybe in QSettings?)