aboutsummaryrefslogtreecommitdiff
path: root/src/qt/addresstablemodel.cpp
AgeCommit message (Collapse)Author
2012-05-24Refactor: split CKeyID/CScriptID/CTxDestination from CBitcoinAddressPieter Wuille
This introduces internal types: * CKeyID: reference (hash160) of a key * CScriptID: reference (hash160) of a script * CTxDestination: a boost::variant of the former two CBitcoinAddress is retrofitted to be a Base58 encoding of a CTxDestination. This allows all internal code to only use the internal types, and only have RPC and GUI depend on the base58 code. Furthermore, the header dependencies are a lot saner now. base58.h is at the top (right below rpc and gui) instead of at the bottom. For the rest: wallet -> script -> keystore -> key. Only keystore still requires a forward declaration of CScript. Solving that would require splitting script into two layers.
2012-05-24Encapsulate public keys in CPubKeyPieter Wuille
2012-05-20Process address book updates incrementallyWladimir J. van der Laan
- No longer invalidates selection model, thus retains selection on address book changes - Fixes selection of new address when added
2012-05-20Fine-grained UI updatesWladimir J. van der Laan
Gets rid of `MainFrameRepaint` in favor of specific update functions that tell the UI exactly what changed. This improves the efficiency of various handlers. Also fixes problems with mined transactions not showing up until restart. The following notifications were added: - `NotifyBlocksChanged`: Block chain changed - `NotifyKeyStoreStatusChanged`: Wallet status (encrypted, locked) changed. - `NotifyAddressBookChanged`: Address book entry changed. - `NotifyTransactionChanged`: Wallet transaction added, removed or updated. - `NotifyNumConnectionsChanged`: Number of connections changed. - `NotifyAlertChanged`: New, updated or cancelled alert. As this finally makes it possible for the UI to know when a new alert arrived, it can be shown as OS notification. These notifications could also be useful for RPC clients. However, currently, they are ignored in bitcoind (in noui.cpp). Also brings back polling with timer for numBlocks in ClientModel. This value updates so frequently during initial download that the number of signals clogs the UI thread and causes heavy CPU usage. And after initial block download, the value changes so rarely that a delay of half a second until the UI updates is unnoticable.
2012-04-17Remove headers.hPieter Wuille
2012-04-15fix warnings: 'XX' defined as a struct here but previously declared as a ↵Wladimir J. van der Laan
class [-Wmismatched-tags]
2012-04-09Use scoped locks instead of CRITICAL_BLOCKPieter Wuille
2012-04-04Update UI through async calls MainFrameRepaint and AddressBookRepaint ↵Wladimir J. van der Laan
instead of a timer. - Overall, this is better design - This fixes problems with the address book UI not updating when the address book is changed through RPC - Move Statusbar change detection responsibility to ClientModel
2011-09-02update to work with new lock system, add protocol.* to build systemWladimir J. van der Laan
2011-08-31Wallet encryption part 2: ask passphrase when needed, add menu optionsWladimir J. van der Laan
2011-08-08QtUI code cleanup / comment improvementsWladimir J. van der Laan
2011-07-30Remove unused variableWladimir J. van der Laan
2011-07-26Merge remote branch 'upstream/master'Wladimir J. van der Laan
Conflicts: src/bitcoinrpc.cpp
2011-07-16add sendmany supportWladimir J. van der Laan
2011-07-15Merge branch 'master' of https://github.com/bitcoin/bitcoinWladimir J. van der Laan
2011-07-08Add context menu on transaction list: copy label, copy address, edit label, ↵Wladimir J. van der Laan
show details
2011-07-07Sync to bitcoin git e94010b2395694d56dd6Wladimir J. van der Laan
2011-07-02ui improvements: allow inline editing of labels/addresses in address book ↵Wladimir J. van der Laan
table, better tab order in send dialog, set focus on sending address table when coming from send coins dialog
2011-07-02Check addresses in address book for validityWladimir J. van der Laan
2011-07-02Send: dialog redesign (automatically look up label for entered address)Wladimir J. van der Laan
2011-06-30Address book: show unlabeled addresses as (no label)Wladimir J. van der Laan
2011-06-30Add "receiving addresses" to toolbarWladimir J. van der Laan
2011-06-26update core to d0d80170a2ca73004e08fb85007fe055cbf4e411 (CWallet class)Wladimir J. van der Laan
2011-06-21Allow changing default address (fixes issue #6)Wladimir J. van der Laan
2011-06-21highlight default addressWladimir J. van der Laan
2011-06-18remove commented code, use // for one-line comments and comments inside ↵Wladimir J. van der Laan
functions
2011-06-11move back to original directory structureWladimir J. van der Laan