Avoid ERROR messages like ERROR: AcceptToMemoryPool : non-final
. Logging of incoming transaction validation failures can be enabled optionally with-debug=mempoolrej
.
Also introduces a consistent format for transaction validation failures that always includes the txid.
02015-08-05 13:25:26 txfail 4e5014c4084aab04aac280e4dc6e26ffbc76ea0feb817b98a1a67d8b18d4e80b: AcceptToMemoryPool: inputs already spent
I have opted for this approach instead of the one outlined in #5794 to remove all messages, because they provide extra troubleshooting information.
Fixes #5794.