Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge some address book related fixes from upstream #9

Merged
merged 3 commits into from
Feb 23, 2014

Conversation

CryptoManiac
Copy link
Contributor

No description provided.

Philip Kaufmann and others added 3 commits February 23, 2014 20:13
- add qSort() for cachedAddressTable, as qLowerBound() and qUpperBound()
  require the list to be in ascending order (see
  http://harmattan-dev.nokia.com/docs/library/html/qt4/qtalgorithms.html#qLowerBound)
- add a new check in AddressTableModel::setData() to just return, when no
  changes were made to a label or an address (prevents entry duplication
  issue)
- remove "rec->label = value.toString();" from
  AddressTableModel::setData() as the label gets updated by
  AddressTablePriv::updateEntry() anyway (seems @sipa added this line via
  bitcoin/bitcoin@1025440#L6R225)
- add another new check in AddressTableModel::setData() to just return, if
  a duplicate address was found (prevents address overwrite)
- add a new check to EditAddressDialog::setModel() to prevent setting an
  invalid model
- re-work the switch-case statement in AddressTableModel::accept() to
  always break (as return get's called anyway) and order the list to match
  the enum definition
- make accept() in editaddressdialog.h a public slot, which it should be
- misc small coding style changes
…Tx::GetAmounts

This fixes a warning when an output we aren't concerned with can't be parsed.
…ation isn't recognized

Previously, it would pass corrupt/random through base58.

Conflicts:

	src/rpcwallet.cpp
0xDEADFACE added a commit that referenced this pull request Feb 23, 2014
Merge some address book related fixes from upstream
@0xDEADFACE 0xDEADFACE merged commit bb9894a into novacoin-project:current Feb 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants