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

blockchain: add --reorg-notify #5053

Merged
merged 4 commits into from Jan 28, 2019

Conversation

Projects
None yet
3 participants
@moneromooo-monero
Copy link
Contributor

moneromooo-monero commented Jan 9, 2019

No description provided.

@moneromooo-monero moneromooo-monero force-pushed the moneromooo-monero:reorgn branch 2 times, most recently from e80ffb2 to 8b110ef Jan 9, 2019

@stoffu

stoffu approved these changes Jan 10, 2019

moneromooo-monero added some commits Jan 9, 2019

notify: warn if the spec contains one of '"\
These aren't processed as a shell does, so this may surprise users
blockchain: add --reorg-notify
This will trigger if a reorg is seen. This may be used to do things
like stop automated withdrawals on large reorgs.

%s is replaced by the height at the split point
%h is replaced by the height of the new chain
%n is replaced by the number of new blocks after the reorg

@moneromooo-monero moneromooo-monero force-pushed the moneromooo-monero:reorgn branch from 8b110ef to 23813c7 Jan 28, 2019

@fluffypony
Copy link
Collaborator

fluffypony left a comment

Reviewed

@fluffypony fluffypony merged commit 23813c7 into monero-project:master Jan 28, 2019

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details

fluffypony added a commit that referenced this pull request Jan 28, 2019

Merge pull request #5053
23813c7 blockchain: add --reorg-notify (moneromooo-monero)
f6db59b notify: handle arbitrary tags (moneromooo-monero)
ff95921 notify: warn if the spec contains one of '"\ (moneromooo-monero)
1385267 common: set MONERO_DEFAULT_LOG_CATEGORY for notify and spawn (moneromooo-monero)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.