mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 07:07:43 +01:00
bitcoinj 0.15: BisqRiskAnalisys: Add commented out code to match original DefaultRiskAnalysis.
This commit is contained in:
parent
d8e0ba752f
commit
5a00770377
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue