org.tron.p2p.dns.update.PublishConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of libp2p Show documentation
Show all versions of libp2p Show documentation
libp2p is a p2p network SDK implemented in java language.
The newest version!
package org.tron.p2p.dns.update;
import java.net.InetSocketAddress;
import java.util.ArrayList;
import java.util.List;
import lombok.Data;
@Data
public class PublishConfig {
private boolean dnsPublishEnable = false;
private String dnsPrivate = null;
private List knownTreeUrls = new ArrayList<>();
private List staticNodes = new ArrayList<>();
private String dnsDomain = null;
private double changeThreshold = 0.1;
private int maxMergeSize = 5;
private DnsType dnsType = null;
private String accessKeyId = null;
private String accessKeySecret = null;
private String aliDnsEndpoint = null; //for aliYun
private String awsHostZoneId = null; //for aws
private String awsRegion = null; //for aws
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy