com.yanxisir.neb.bean.NodeInfoResp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of neb-call Show documentation
Show all versions of neb-call Show documentation
A http toolkit for nebulas
package com.yanxisir.neb.bean;
import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* @author YanxiSir
* @since 2018/5/21
*/
@Data
public class NodeInfoResp implements Serializable {
/**
* the node id
*/
private Integer id;
@JSONField(name = "chain_id")
private Integer chainId;
private String coinbase;
/**
* Number of peers currenly connected.
*/
@JSONField(name = "peer_count")
private Integer peerCount;
/**
* the node synchronized status.
*/
@JSONField(name = "synchronized")
private Boolean synced;
/**
* the node route table bucket size.
*/
@JSONField(name = "bucket_size")
private Integer bucketSize;
@JSONField(name = "protocol_version")
private String protocolVersion;
@JSONField(name = "route_table")
private List routeTables;
@Data
public static class RouteTable {
private Integer id;
private List address;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy