mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
bitcoinj 0.15: BisqRiskAnalisys: Add commented out code to match original DefaultRiskAnalysis.
This commit is contained in:
parent
d8e0ba752f
commit
5a00770377
@ -115,6 +115,13 @@ public class BisqRiskAnalysis implements RiskAnalysis {
|
||||
if (tx.getConfidence().getSource() == TransactionConfidence.Source.SELF)
|
||||
return Result.OK;
|
||||
|
||||
// Commented out to accept replace-by-fee txs.
|
||||
// // We consider transactions that opt into replace-by-fee at risk of double spending.
|
||||
// if (tx.isOptInFullRBF()) {
|
||||
// nonFinal = tx;
|
||||
// return Result.NON_FINAL;
|
||||
// }
|
||||
|
||||
// Relative time-locked transactions are risky too. We can't check the locks because usually we don't know the
|
||||
// spent outputs (to know when they were created).
|
||||
if (tx.hasRelativeLockTime()) {
|
||||
|
Loading…
Reference in New Issue
Block a user