Skip to content
This repository has been archived by the owner on Nov 15, 2021. It is now read-only.

Feature persist notifications #161

Merged
merged 9 commits into from
Jan 10, 2018
Merged

Conversation

localhuman
Copy link
Collaborator

@localhuman localhuman commented Jan 10, 2018

What current issue(s) does this address?, or what feature is it adding?
Adds functionality referenced in #155

How did you solve this problem?

  • Make certain Notify events serializable
  • Added an additional DB implementation to persist those notifications
  • Added ability to query notifications by block, address, and tx
  • Added NotificationServer
  • Added an example script that runs neo-python alongside NotificationServer

How did you make sure your solution works?
tests
Did you add any tests?
yes
Are there any special changes in the code that we should be aware of?
If you do not want to persist notifications, then don't include a path for NotificationDataPath in your protocol.x.json.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.4%) to 70.359% when pulling c497392 on feature-persist-notifications into 09dbaf7 on development.

Copy link
Contributor

@metachris metachris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice! High quality stuff as usual ;)

@localhuman localhuman merged commit feffad3 into development Jan 10, 2018
@localhuman localhuman deleted the feature-persist-notifications branch January 10, 2018 14:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants