Skip to content

Conversation

@jgraef
Copy link

@jgraef jgraef commented Nov 20, 2014

Added a command line option "-txnotify=" to set a program called when a (unconfirmed) transaction is received. Works similar to "-blocknotify".

@gavinandresen
Copy link
Contributor

Forking a new process for every single transaction is almost certainly a bad idea.

See #5303 for a better approach.

@laanwj
Copy link
Member

laanwj commented Nov 20, 2014

Oh I was about to comment that we already have -walletnotify=<cmd>, but this is for literally every transaction that another node sends.

Agree @gavinandresen zmq is the way forward here. Forking is a suboptimal notification mechanism in the best of times, but for something so high-frequency it's even worse.

@laanwj laanwj closed this Nov 21, 2014
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
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