mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Remove unused methods
Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
parent
13180ddc30
commit
093e8f99f4
@ -57,7 +57,6 @@ import bisq.core.dao.monitoring.DaoStateMonitoringService;
|
||||
import bisq.core.dao.state.DaoStateListener;
|
||||
import bisq.core.dao.state.DaoStateService;
|
||||
import bisq.core.dao.state.model.blockchain.BaseTx;
|
||||
import bisq.core.dao.state.model.blockchain.BaseTxOutput;
|
||||
import bisq.core.dao.state.model.blockchain.Block;
|
||||
import bisq.core.dao.state.model.blockchain.Tx;
|
||||
import bisq.core.dao.state.model.blockchain.TxOutput;
|
||||
@ -581,10 +580,6 @@ public class DaoFacade implements DaoSetupService {
|
||||
return daoStateService.getTotalAmountOfConfiscatedTxOutputs();
|
||||
}
|
||||
|
||||
public long getTotalAmountOfInvalidatedBsq() {
|
||||
return daoStateService.getTotalAmountOfInvalidatedBsq();
|
||||
}
|
||||
|
||||
// Contains burned fee and invalidated bsq due invalid txs
|
||||
public long getTotalAmountOfBurntBsq() {
|
||||
return daoStateService.getTotalAmountOfBurntBsq();
|
||||
@ -598,11 +593,6 @@ public class DaoFacade implements DaoSetupService {
|
||||
return daoStateService.getIrregularTxs();
|
||||
}
|
||||
|
||||
public long getTotalAmountOfUnspentTxOutputs() {
|
||||
// Does not consider confiscated outputs (they stay as utxo)
|
||||
return daoStateService.getUnspentTxOutputMap().values().stream().mapToLong(BaseTxOutput::getValue).sum();
|
||||
}
|
||||
|
||||
public Optional<Integer> getLockTime(String txId) {
|
||||
return daoStateService.getLockTime(txId);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user