dcrd/internal
Josh Rickmar 1f138a24ad rpcserver: Use duplicate tx error for recently mined transactions
Attempting to publish a recently-mined transaction using the
sendrawtransaction JSON-RPC method will now use the same error code as
for duplicate transactions currently present in the mempool, rather
than a generic error for double spending or spending unknown inputs.

There is a very small chance that this check results in a false
positive and that a transaction rejected for other reasons is reported
as a duplicate when it had never been mined at all.
2021-08-24 09:52:20 -05:00
..
fees fees: Remove deprecated DisableLog. 2020-12-28 13:13:47 -06:00
limits multi: replace godoc.org with pkg.go.dev 2020-02-18 19:35:19 -06:00
mempool mempool: Add maybeAcceptTransaction AgendaFlags. 2021-07-28 06:41:27 -05:00
mining txscript: Split signing code to sign subpackage. 2021-05-07 13:19:00 -05:00
netsync multi: Use database/v3 module 2021-08-02 09:13:45 -05:00
progresslog multi: Add chain verify progress percentage. 2021-01-21 23:30:35 -06:00
rpcserver rpcserver: Use duplicate tx error for recently mined transactions 2021-08-24 09:52:20 -05:00
staging/stdscript multi: Address some linter complaints. 2021-07-26 20:51:03 -05:00
version version: Rework to support single version override. 2021-05-14 04:15:56 -05:00