mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-05-20 15:30:36 -04:00
rename core package from btc to xmr
This commit is contained in:
parent
e71f9a54ac
commit
5b8f9237ce
178 changed files with 357 additions and 358 deletions
|
@ -19,7 +19,6 @@ package haveno.core.user;
|
|||
|
||||
import haveno.common.config.Config;
|
||||
import haveno.common.persistence.PersistenceManager;
|
||||
import haveno.core.btc.nodes.LocalBitcoinNode;
|
||||
import haveno.core.locale.CountryUtil;
|
||||
import haveno.core.locale.CryptoCurrency;
|
||||
import haveno.core.locale.CurrencyUtil;
|
||||
|
@ -28,6 +27,7 @@ import haveno.core.locale.GlobalSettings;
|
|||
import haveno.core.locale.Res;
|
||||
import haveno.core.user.Preferences;
|
||||
import haveno.core.user.PreferencesPayload;
|
||||
import haveno.core.xmr.nodes.LocalBitcoinNode;
|
||||
import javafx.collections.ObservableList;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
|
@ -24,10 +24,10 @@ import org.junit.Test;
|
|||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.fail;
|
||||
|
||||
import haveno.core.btc.wallet.Restrictions;
|
||||
import haveno.core.monetary.Price;
|
||||
import haveno.core.trade.HavenoUtils;
|
||||
import haveno.core.util.coin.CoinUtil;
|
||||
import haveno.core.xmr.wallet.Restrictions;
|
||||
import java.math.BigInteger;
|
||||
|
||||
public class CoinUtilTest {
|
||||
|
|
|
@ -15,14 +15,14 @@
|
|||
* along with Haveno. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package haveno.core.btc.nodes;
|
||||
package haveno.core.xmr.nodes;
|
||||
|
||||
import org.bitcoinj.core.NetworkParameters;
|
||||
import org.bitcoinj.core.PeerAddress;
|
||||
|
||||
import com.runjva.sourceforge.jsocks.protocol.Socks5Proxy;
|
||||
import haveno.core.btc.nodes.BtcNetworkConfig;
|
||||
import haveno.core.btc.setup.WalletConfig;
|
||||
import haveno.core.xmr.nodes.BtcNetworkConfig;
|
||||
import haveno.core.xmr.setup.WalletConfig;
|
||||
import haveno.network.Socks5MultiDiscovery;
|
||||
import java.util.Collections;
|
||||
|
|
@ -15,14 +15,14 @@
|
|||
* along with Haveno. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package haveno.core.btc.nodes;
|
||||
package haveno.core.xmr.nodes;
|
||||
|
||||
import org.bitcoinj.core.PeerAddress;
|
||||
|
||||
import com.runjva.sourceforge.jsocks.protocol.Socks5Proxy;
|
||||
import haveno.core.btc.nodes.BtcNodeConverter;
|
||||
import haveno.core.btc.nodes.BtcNodeConverter.Facade;
|
||||
import haveno.core.btc.nodes.BtcNodes.BtcNode;
|
||||
import haveno.core.xmr.nodes.BtcNodeConverter;
|
||||
import haveno.core.xmr.nodes.BtcNodeConverter.Facade;
|
||||
import haveno.core.xmr.nodes.BtcNodes.BtcNode;
|
||||
import haveno.network.DnsLookupException;
|
||||
import java.net.InetAddress;
|
||||
|
|
@ -15,14 +15,14 @@
|
|||
* along with Haveno. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package haveno.core.btc.nodes;
|
||||
package haveno.core.xmr.nodes;
|
||||
|
||||
import org.bitcoinj.core.PeerAddress;
|
||||
|
||||
import com.runjva.sourceforge.jsocks.protocol.Socks5Proxy;
|
||||
import haveno.core.btc.nodes.BtcNodeConverter;
|
||||
import haveno.core.btc.nodes.BtcNodesRepository;
|
||||
import haveno.core.btc.nodes.BtcNodes.BtcNode;
|
||||
import haveno.core.xmr.nodes.BtcNodeConverter;
|
||||
import haveno.core.xmr.nodes.BtcNodesRepository;
|
||||
import haveno.core.xmr.nodes.BtcNodes.BtcNode;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import java.util.Collections;
|
|
@ -15,23 +15,23 @@
|
|||
* along with Haveno. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package haveno.core.btc.nodes;
|
||||
package haveno.core.xmr.nodes;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static haveno.core.btc.nodes.BtcNodes.BitcoinNodesOption.CUSTOM;
|
||||
import static haveno.core.btc.nodes.BtcNodes.BitcoinNodesOption.PUBLIC;
|
||||
import static haveno.core.xmr.nodes.BtcNodes.BitcoinNodesOption.CUSTOM;
|
||||
import static haveno.core.xmr.nodes.BtcNodes.BitcoinNodesOption.PUBLIC;
|
||||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
import static org.mockito.Mockito.mock;
|
||||
import static org.mockito.Mockito.when;
|
||||
|
||||
import haveno.core.btc.nodes.BtcNodes;
|
||||
import haveno.core.btc.nodes.BtcNodesSetupPreferences;
|
||||
import haveno.core.btc.nodes.BtcNodes.BtcNode;
|
||||
import haveno.core.user.Preferences;
|
||||
import haveno.core.xmr.nodes.BtcNodes;
|
||||
import haveno.core.xmr.nodes.BtcNodesSetupPreferences;
|
||||
import haveno.core.xmr.nodes.BtcNodes.BtcNode;
|
||||
|
||||
public class BtcNodesSetupPreferencesTest {
|
||||
@Test
|
|
@ -15,7 +15,7 @@
|
|||
* along with Haveno. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package haveno.core.btc.wallet;
|
||||
package haveno.core.xmr.wallet;
|
||||
|
||||
import org.bitcoinj.core.Coin;
|
||||
|
||||
|
@ -24,7 +24,7 @@ import org.junit.Test;
|
|||
import static org.junit.Assert.assertFalse;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import haveno.core.btc.wallet.Restrictions;
|
||||
import haveno.core.xmr.wallet.Restrictions;
|
||||
|
||||
@SuppressWarnings("ConstantConditions")
|
||||
public class RestrictionsTest {
|
Loading…
Add table
Add a link
Reference in a new issue