/*
 * Copyright 2020 Dash Core Group
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.bitcoinj.params;

public class PalinkaDevNetParams extends DevNetParams {

    private static String DEVNET_NAME = "palinka";

    private static String [] MASTERNODES = new String [] {
            "52.12.2.242",
            "34.219.86.70",
            "34.209.152.117",
            "54.245.182.120",
            "34.219.179.226",
            "54.245.160.193",
            "34.215.219.45",
            "34.221.212.4",
            "34.220.98.95",
            "52.35.250.121",
            "54.202.75.194",
            "34.222.151.181",
            "52.12.235.213"
    };

    public PalinkaDevNetParams() {
        super(DEVNET_NAME, "yMtULrhoxd8vRZrsnFobWgRTidtjg2Rnjm", 20001,
                MASTERNODES, true, 70215);
        dnsSeeds = new String[] { "seed-1.palinka.networks.dash.org" };
    }

    private static PalinkaDevNetParams instance;

    public static PalinkaDevNetParams get() {
        if(instance == null) {
            instance = new PalinkaDevNetParams();
            add(instance);
        }
        return instance;
    }

    @Override
    public String[] getDefaultMasternodeList() {
        return MASTERNODES;
    }
}

@@ -808,18 +808,21 @@
   %225
-2.12.2.242
+4.214.223.133
 %22,%0A 
@@ -841,16 +841,17 @@
 34.2
-19.86.70
+22.170.91
 %22,%0A 
@@ -866,22 +866,22 @@
    %22
-34.209.152.117
+54.187.180.191
 %22,%0A 
@@ -900,17 +900,17 @@
 54.2
-45.182.12
+18.238.24
 0%22,%0A
@@ -926,22 +926,22 @@
    %22
-3
+5
 4.21
-9.179.226
+2.184.233
 %22,%0A 
@@ -956,22 +956,21 @@
    %22
-54.245.160.193
+34.217.123.47
 %22,%0A 
@@ -986,20 +986,21 @@
   %223
-4.215.219.45
+5.160.208.146
 %22,%0A 
@@ -1015,20 +1015,22 @@
    %22
-3
+5
 4.
-2
 21
-.212.4
+3.188.235
 %22,%0A 
@@ -1049,16 +1049,17 @@
 34.2
-20.98.95
+16.205.76
 %22,%0A 
@@ -1077,17 +1077,17 @@
 %2252.
-35.250.12
+25.119.18
 1%22,%0A
@@ -1103,21 +1103,21 @@
    %22
-54.202.75.194
+34.217.44.188
 %22,%0A 
@@ -1136,18 +1136,18 @@
 34.2
-22.151.181
+19.217.150
 %22,%0A 
@@ -1162,21 +1162,21 @@
    %22
-52.12.235.213
+34.216.221.94
 %22%0A  

Update masternode list for 0.16 network