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

Add zero-confirmation support to webhooks (only) #72

Merged
merged 7 commits into from Jul 1, 2023
Merged

Conversation

vtnerd
Copy link
Owner

@vtnerd vtnerd commented Jun 3, 2023

Getting zero-confirmation notifications via webhooks requires the --sub option (and monerod must have --zmq-pub set as well). The transactions do not show up in the REST API until 1 confirmation. The notifications are nearly instant (everything uses pub/sub instead of polling).

Zero-confirmations in the REST API might be added in the future but that is a little more involved (unless I can come up with an alternative implementation).

The block number and output numbers are omitted from zero-conf output, since they lack valid values.

@vtnerd
Copy link
Owner Author

vtnerd commented Jun 19, 2023

I did a rebase on the branch - the changes to ::wire:: needed to be included in the PR.

@vtnerd vtnerd merged commit 246c905 into develop Jul 1, 2023
@vtnerd vtnerd deleted the feature/zeroconf branch February 18, 2024 01:20
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

1 participant