Remove unused methods

Signed-off-by: HenrikJannsen <boilingfrog@gmx.com>
This commit is contained in:
HenrikJannsen 2023-01-05 11:41:11 -05:00
parent 13180ddc30
commit 093e8f99f4
No known key found for this signature in database
GPG Key ID: 02AA2BAE387C8307

View File

@ -57,7 +57,6 @@ import bisq.core.dao.monitoring.DaoStateMonitoringService;
import bisq.core.dao.state.DaoStateListener; import bisq.core.dao.state.DaoStateListener;
import bisq.core.dao.state.DaoStateService; import bisq.core.dao.state.DaoStateService;
import bisq.core.dao.state.model.blockchain.BaseTx; 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.Block;
import bisq.core.dao.state.model.blockchain.Tx; import bisq.core.dao.state.model.blockchain.Tx;
import bisq.core.dao.state.model.blockchain.TxOutput; import bisq.core.dao.state.model.blockchain.TxOutput;
@ -581,10 +580,6 @@ public class DaoFacade implements DaoSetupService {
return daoStateService.getTotalAmountOfConfiscatedTxOutputs(); return daoStateService.getTotalAmountOfConfiscatedTxOutputs();
} }
public long getTotalAmountOfInvalidatedBsq() {
return daoStateService.getTotalAmountOfInvalidatedBsq();
}
// Contains burned fee and invalidated bsq due invalid txs // Contains burned fee and invalidated bsq due invalid txs
public long getTotalAmountOfBurntBsq() { public long getTotalAmountOfBurntBsq() {
return daoStateService.getTotalAmountOfBurntBsq(); return daoStateService.getTotalAmountOfBurntBsq();
@ -598,11 +593,6 @@ public class DaoFacade implements DaoSetupService {
return daoStateService.getIrregularTxs(); 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) { public Optional<Integer> getLockTime(String txId) {
return daoStateService.getLockTime(txId); return daoStateService.getLockTime(txId);
} }