Blacklist API #740

Merged
hackergrrl merged 2 commits from blacklist_api into master 2014-12-26 04:12:42 +01:00
hackergrrl commented 2014-11-22 23:07:18 +01:00 (Migrated from github.com)

Addresses #496.

This PR adds two new API commands: addAddressToBlackWhiteList and removeAddressFromBlackWhiteList, which add and remove black-/white-list entries (respectively) depending on which of (blacklist|whitelist) the user has set.

Two new API codes (28 and 29) are added for alerting API clients of when an entry already exists or does not exist (also respectively).

In bitmessageqt/__init__.py loadBlackWhiteList is refactored into rerenderBlackWhiteList to be more consistent with the rest of the rerender methods. Finally, it also accepts a new UI signal to refresh the black-/white-list UI pane.

There was no testing suite to speak of, but I did test the breadth of the functionality manually as thoroughly as I could.

Addresses #496. This PR adds two new API commands: `addAddressToBlackWhiteList` and `removeAddressFromBlackWhiteList`, which add and remove black-/white-list entries (respectively) depending on which of `(blacklist|whitelist)` the user has set. Two new API codes (28 and 29) are added for alerting API clients of when an entry already exists or does not exist (also respectively). In `bitmessageqt/__init__.py` `loadBlackWhiteList` is refactored into `rerenderBlackWhiteList` to be more consistent with the rest of the rerender methods. Finally, it also accepts a new UI signal to refresh the black-/white-list UI pane. There was no testing suite to speak of, but I did test the breadth of the functionality manually as thoroughly as I could.
Atheros1 commented 2014-12-26 04:12:23 +01:00 (Migrated from github.com)

This works excellently for me. Thank you!

This works excellently for me. Thank you!
This repo is archived. You cannot comment on pull requests.
No description provided.