Fast check for duplicate tx in the pool (#1392)
This commit is contained in:
committed by
Ignotus Peverell
parent
7ca4d45bf5
commit
8c820a8929
@@ -174,6 +174,8 @@ pub enum PoolError {
|
||||
LowFeeTransaction(u64),
|
||||
/// Attempt to add a duplicate output to the pool.
|
||||
DuplicateCommitment,
|
||||
/// Attempt to add a duplicate tx to the pool.
|
||||
DuplicateTx,
|
||||
/// Other kinds of error (not yet pulled out into meaningful errors).
|
||||
Other(String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user