diff options
author | John Newbery <john@johnnewbery.com> | 2021-11-03 12:06:40 +0000 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-11-03 14:28:04 +0000 |
commit | 36167faea92c97ddea7403280a5074073c8e5f90 (patch) | |
tree | 21879ffc86537282ca1d41abe551ec22b1bd1d4d /src/consensus | |
parent | 4c24142b1ec121623f81ba644d77341bc1bd88dd (diff) |
[logging/documentation] Remove reference to AcceptToMemoryPool from error string
User-facing error messages should not leak internal implementation
details like function names. Update the MEMPOOL_REJECTED error string
from "Transaction rejected by AcceptToMemoryPool" to the more generic
"Transaction rejected by mempool". Also update the MEMPOOL_ERROR error
message from "AcceptToMemoryPool failed" to the more precise "Mempool
internal error" since this error indicates and internal (e.g.
logic/hardware/etc) failure, and not a transaction rejection.
Diffstat (limited to 'src/consensus')
0 files changed, 0 insertions, 0 deletions