All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bitcoinj.params.JackDanielsDevNetParams Maven / Gradle / Ivy

There is a newer version: 21.1.2
Show newest version
/*
 * Copyright 2021 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;

import org.bitcoinj.quorums.LLMQParameters;

public class JackDanielsDevNetParams extends DevNetParams {
    private static final String DEVNET_NAME = "jack-daniels";

    private static final String[] MASTERNODES = new String[] {
        "34.220.200.8",
        "35.90.255.217",
        "54.218.109.249",
        "35.91.227.162",
        "34.222.40.218",
        "35.88.38.193",
        "35.91.226.251",
        "35.160.157.3",
        "18.237.219.248",
        "35.91.210.71",
        "35.89.227.73",
        "35.90.188.155",
        "35.91.132.97",
        "52.26.218.0",
        "18.236.242.154",
        "35.87.198.41",
        "34.220.65.60",
        "35.90.106.60",
        "54.200.34.46",
        "34.221.71.106",
        "52.40.10.67",
        "54.245.163.29",
        "34.222.54.201",
        "34.211.49.161",
        "34.222.47.179",
        "35.91.139.106",
        "35.89.107.148",
        "54.202.58.56",
        "54.212.110.64",
        "35.89.25.223",
        "35.91.168.239",
        "34.219.242.157",
        "54.245.137.49",
        "34.222.42.179",
        "34.220.158.197",
        "54.70.92.75"

    };

    public JackDanielsDevNetParams() {
        super(DEVNET_NAME, "yYBanbwp2Pp2kYWqDkjvckY3MosuZzkKp7", 20001,
                MASTERNODES, true, 70220);
        dnsSeeds = MASTERNODES;
        dropPeersAfterBroadcast = false; // this network is too small
        DIP0024BlockHeight = -1;
        isDIP24Only = false;

        llmqChainLocks = LLMQParameters.LLMQType.LLMQ_DEVNET;
        llmqForInstantSend = LLMQParameters.LLMQType.LLMQ_DEVNET;
        llmqTypeDIP0024InstantSend = LLMQParameters.LLMQType.LLMQ_DEVNET_DIP0024;
        llmqTypePlatform = LLMQParameters.LLMQType.LLMQ_DEVNET;
        llmqTypeMnhf = LLMQParameters.LLMQType.LLMQ_DEVNET;
        addLLMQ(LLMQParameters.LLMQType.LLMQ_DEVNET_DIP0024);
    }

    private static JackDanielsDevNetParams instance;

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy