mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 18:03:12 +01:00
Refactor: Move io.bisq.core.dao.compensation to io.bisq.core.dao.voterequest.compensation
This commit is contained in:
parent
034b113f9e
commit
f0a9316999
@ -19,7 +19,7 @@ package io.bisq.core.app;
|
||||
|
||||
import io.bisq.common.crypto.KeyRing;
|
||||
import io.bisq.core.dao.DaoManager;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.filter.FilterManager;
|
||||
import io.bisq.core.payment.AccountAgeWitnessService;
|
||||
import io.bisq.core.trade.statistics.TradeStatisticsManager;
|
||||
|
@ -22,8 +22,8 @@ import io.bisq.common.handlers.ErrorMessageHandler;
|
||||
import io.bisq.core.app.BisqEnvironment;
|
||||
import io.bisq.core.dao.blockchain.BsqNode;
|
||||
import io.bisq.core.dao.blockchain.BsqNodeProvider;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.vote.VotingManager;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
|
||||
/**
|
||||
* High level entry point for Dao domain
|
||||
|
@ -26,10 +26,10 @@ import io.bisq.core.dao.blockchain.BsqLiteNode;
|
||||
import io.bisq.core.dao.blockchain.BsqNodeProvider;
|
||||
import io.bisq.core.dao.blockchain.json.JsonBlockChainExporter;
|
||||
import io.bisq.core.dao.blockchain.parse.*;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.vote.VotingDefaultValues;
|
||||
import io.bisq.core.dao.vote.VotingManager;
|
||||
import io.bisq.core.dao.vote.VotingService;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import org.springframework.core.env.Environment;
|
||||
|
||||
import static com.google.inject.name.Names.named;
|
||||
|
@ -20,8 +20,8 @@ package io.bisq.core.dao.blockchain.parse;
|
||||
import io.bisq.core.dao.blockchain.vo.Tx;
|
||||
import io.bisq.core.dao.blockchain.vo.TxOutput;
|
||||
import io.bisq.core.dao.blockchain.vo.TxType;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
@ -22,7 +22,7 @@ import io.bisq.core.dao.blockchain.vo.Tx;
|
||||
import io.bisq.core.dao.blockchain.vo.TxOutput;
|
||||
import io.bisq.core.dao.blockchain.vo.TxOutputType;
|
||||
import io.bisq.core.dao.blockchain.vo.TxType;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
import javax.inject.Inject;
|
||||
|
@ -19,7 +19,7 @@ package io.bisq.core.dao.vote;
|
||||
|
||||
import com.google.protobuf.Message;
|
||||
import io.bisq.common.proto.persistable.PersistablePayload;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
|
||||
public final class CompensationRequestVoteItem implements PersistablePayload {
|
||||
public final CompensationRequest compensationRequest;
|
||||
|
@ -29,9 +29,9 @@ import io.bisq.core.app.BisqEnvironment;
|
||||
import io.bisq.core.btc.wallet.BsqWalletService;
|
||||
import io.bisq.core.btc.wallet.BtcWalletService;
|
||||
import io.bisq.core.dao.DaoPeriodService;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestPayload;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestPayload;
|
||||
import io.bisq.core.provider.fee.FeeService;
|
||||
import io.bisq.generated.protobuffer.PB;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package io.bisq.core.dao.compensation;
|
||||
package io.bisq.core.dao.voterequest.compensation;
|
||||
|
||||
import org.bitcoinj.core.Coin;
|
||||
|
@ -15,7 +15,7 @@
|
||||
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package io.bisq.core.dao.compensation;
|
||||
package io.bisq.core.dao.voterequest.compensation;
|
||||
|
||||
import io.bisq.common.proto.persistable.PersistablePayload;
|
||||
import io.bisq.core.btc.wallet.BsqWalletService;
|
@ -15,7 +15,7 @@
|
||||
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package io.bisq.core.dao.compensation;
|
||||
package io.bisq.core.dao.voterequest.compensation;
|
||||
|
||||
import com.google.protobuf.Message;
|
||||
import io.bisq.common.proto.persistable.PersistableEnvelope;
|
@ -15,7 +15,7 @@
|
||||
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package io.bisq.core.dao.compensation;
|
||||
package io.bisq.core.dao.voterequest.compensation;
|
||||
|
||||
import com.google.common.util.concurrent.FutureCallback;
|
||||
import com.google.inject.Inject;
|
@ -15,7 +15,7 @@
|
||||
* along with Bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package io.bisq.core.dao.compensation;
|
||||
package io.bisq.core.dao.voterequest.compensation;
|
||||
|
||||
import io.bisq.common.app.Capabilities;
|
||||
import io.bisq.common.app.Version;
|
@ -15,7 +15,7 @@
|
||||
* along with bisq. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package io.bisq.core.dao.compensation;
|
||||
package io.bisq.core.dao.voterequest.compensation;
|
||||
|
||||
import org.bitcoinj.core.Coin;
|
||||
|
@ -12,7 +12,7 @@ import io.bisq.core.arbitration.messages.*;
|
||||
import io.bisq.core.dao.blockchain.p2p.messages.GetBsqBlocksRequest;
|
||||
import io.bisq.core.dao.blockchain.p2p.messages.GetBsqBlocksResponse;
|
||||
import io.bisq.core.dao.blockchain.p2p.messages.NewBsqBlockBroadcastMessage;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestPayload;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestPayload;
|
||||
import io.bisq.core.filter.Filter;
|
||||
import io.bisq.core.offer.OfferPayload;
|
||||
import io.bisq.core.offer.messages.OfferAvailabilityRequest;
|
||||
|
@ -11,8 +11,8 @@ import io.bisq.core.arbitration.DisputeList;
|
||||
import io.bisq.core.btc.AddressEntryList;
|
||||
import io.bisq.core.btc.wallet.BtcWalletService;
|
||||
import io.bisq.core.dao.blockchain.parse.BsqBlockChain;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestList;
|
||||
import io.bisq.core.dao.vote.VoteItemsList;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestList;
|
||||
import io.bisq.core.payment.PaymentAccountList;
|
||||
import io.bisq.core.proto.CoreProtoResolver;
|
||||
import io.bisq.core.trade.TradableList;
|
||||
@ -20,8 +20,8 @@ import io.bisq.core.user.PreferencesPayload;
|
||||
import io.bisq.core.user.UserPayload;
|
||||
import io.bisq.generated.protobuffer.PB;
|
||||
import io.bisq.network.p2p.peers.peerexchange.PeerList;
|
||||
import io.bisq.network.p2p.storage.PersistedEntryMap;
|
||||
import io.bisq.network.p2p.storage.PersistableNetworkPayloadCollection;
|
||||
import io.bisq.network.p2p.storage.PersistedEntryMap;
|
||||
import io.bisq.network.p2p.storage.SequenceNumberMap;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
|
||||
|
@ -46,8 +46,8 @@ import io.bisq.core.btc.AddressEntryList;
|
||||
import io.bisq.core.btc.BaseCurrencyNetwork;
|
||||
import io.bisq.core.btc.wallet.*;
|
||||
import io.bisq.core.dao.blockchain.json.JsonBlockChainExporter;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.vote.VotingManager;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.filter.FilterManager;
|
||||
import io.bisq.core.offer.OpenOfferManager;
|
||||
import io.bisq.core.trade.TradeManager;
|
||||
@ -79,7 +79,6 @@ import javafx.scene.input.KeyCode;
|
||||
import javafx.scene.input.KeyEvent;
|
||||
import javafx.scene.layout.Pane;
|
||||
import javafx.scene.layout.StackPane;
|
||||
import javafx.scene.text.Font;
|
||||
import javafx.stage.Modality;
|
||||
import javafx.stage.Stage;
|
||||
import javafx.stage.StageStyle;
|
||||
|
@ -19,8 +19,8 @@ package io.bisq.gui.main.dao.compensation;
|
||||
|
||||
import io.bisq.common.locale.Res;
|
||||
import io.bisq.core.btc.wallet.BsqWalletService;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestPayload;
|
||||
import io.bisq.core.dao.compensation.Restrictions;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestPayload;
|
||||
import io.bisq.core.dao.voterequest.compensation.Restrictions;
|
||||
import io.bisq.core.provider.fee.FeeService;
|
||||
import io.bisq.gui.components.*;
|
||||
import io.bisq.gui.util.BsqFormatter;
|
||||
@ -33,7 +33,10 @@ import javafx.geometry.HPos;
|
||||
import javafx.geometry.Insets;
|
||||
import javafx.geometry.Orientation;
|
||||
import javafx.scene.control.*;
|
||||
import javafx.scene.layout.*;
|
||||
import javafx.scene.layout.AnchorPane;
|
||||
import javafx.scene.layout.ColumnConstraints;
|
||||
import javafx.scene.layout.GridPane;
|
||||
import javafx.scene.layout.Priority;
|
||||
import javafx.util.Callback;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
@ -24,7 +24,7 @@ import io.bisq.core.dao.blockchain.BsqBlockChainChangeDispatcher;
|
||||
import io.bisq.core.dao.blockchain.BsqBlockChainListener;
|
||||
import io.bisq.core.dao.blockchain.parse.BsqBlockChain;
|
||||
import io.bisq.core.dao.blockchain.vo.Tx;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
import io.bisq.gui.components.indicator.TxConfidenceIndicator;
|
||||
import io.bisq.gui.util.BsqFormatter;
|
||||
import javafx.beans.value.ChangeListener;
|
||||
|
@ -23,8 +23,8 @@ import io.bisq.core.btc.wallet.BsqWalletService;
|
||||
import io.bisq.core.dao.blockchain.BsqBlockChainChangeDispatcher;
|
||||
import io.bisq.core.dao.blockchain.BsqBlockChainListener;
|
||||
import io.bisq.core.dao.blockchain.parse.BsqBlockChain;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import io.bisq.gui.common.view.ActivatableView;
|
||||
import io.bisq.gui.common.view.FxmlView;
|
||||
import io.bisq.gui.util.BsqFormatter;
|
||||
|
@ -23,8 +23,8 @@ import io.bisq.core.dao.DaoPeriodService;
|
||||
import io.bisq.core.dao.blockchain.BsqBlockChainChangeDispatcher;
|
||||
import io.bisq.core.dao.blockchain.BsqBlockChainListener;
|
||||
import io.bisq.core.dao.blockchain.parse.BsqBlockChain;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.provider.fee.FeeService;
|
||||
import io.bisq.gui.Navigation;
|
||||
import io.bisq.gui.common.view.FxmlView;
|
||||
|
@ -23,10 +23,10 @@ import io.bisq.common.locale.Res;
|
||||
import io.bisq.core.btc.exceptions.TransactionVerificationException;
|
||||
import io.bisq.core.btc.exceptions.WalletException;
|
||||
import io.bisq.core.btc.wallet.*;
|
||||
import io.bisq.core.dao.compensation.CompensationAmountException;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestPayload;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationAmountException;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestPayload;
|
||||
import io.bisq.core.provider.fee.FeeService;
|
||||
import io.bisq.core.util.CoinUtil;
|
||||
import io.bisq.gui.common.view.ActivatableView;
|
||||
|
@ -23,7 +23,7 @@ import io.bisq.core.dao.DaoPeriodService;
|
||||
import io.bisq.core.dao.blockchain.BsqBlockChainChangeDispatcher;
|
||||
import io.bisq.core.dao.blockchain.BsqBlockChainListener;
|
||||
import io.bisq.core.dao.blockchain.parse.BsqBlockChain;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import io.bisq.gui.common.view.FxmlView;
|
||||
import io.bisq.gui.components.SeparatedPhaseBars;
|
||||
import io.bisq.gui.main.dao.compensation.CompensationRequestDisplay;
|
||||
|
@ -20,9 +20,9 @@ package io.bisq.gui.main.dao.voting.vote;
|
||||
import de.jensd.fx.fontawesome.AwesomeIcon;
|
||||
import io.bisq.common.locale.Res;
|
||||
import io.bisq.core.btc.wallet.BsqWalletService;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestPayload;
|
||||
import io.bisq.core.dao.vote.CompensationRequestVoteItem;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestPayload;
|
||||
import io.bisq.gui.components.AutoTooltipButton;
|
||||
import io.bisq.gui.components.AutoTooltipCheckBox;
|
||||
import io.bisq.gui.components.HyperlinkWithIcon;
|
||||
|
@ -25,9 +25,9 @@ import io.bisq.core.btc.exceptions.WalletException;
|
||||
import io.bisq.core.btc.wallet.BsqWalletService;
|
||||
import io.bisq.core.btc.wallet.BtcWalletService;
|
||||
import io.bisq.core.btc.wallet.WalletsSetup;
|
||||
import io.bisq.core.dao.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.dao.vote.*;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequest;
|
||||
import io.bisq.core.dao.voterequest.compensation.CompensationRequestManager;
|
||||
import io.bisq.core.provider.fee.FeeService;
|
||||
import io.bisq.core.util.CoinUtil;
|
||||
import io.bisq.gui.common.view.ActivatableView;
|
||||
|
Loading…
Reference in New Issue
Block a user