forked from Qortal/qortal
Improve API peer info output
This commit is contained in:
parent
20200b844e
commit
d910cce807
@ -7,6 +7,8 @@ import org.qora.data.network.PeerData;
|
|||||||
import org.qora.network.Handshake;
|
import org.qora.network.Handshake;
|
||||||
import org.qora.network.Peer;
|
import org.qora.network.Peer;
|
||||||
|
|
||||||
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||||||
|
|
||||||
@XmlAccessorType(XmlAccessType.FIELD)
|
@XmlAccessorType(XmlAccessType.FIELD)
|
||||||
public class ConnectedPeer {
|
public class ConnectedPeer {
|
||||||
|
|
||||||
@ -23,6 +25,7 @@ public class ConnectedPeer {
|
|||||||
public Long buildTimestamp;
|
public Long buildTimestamp;
|
||||||
|
|
||||||
public Integer lastHeight;
|
public Integer lastHeight;
|
||||||
|
@Schema(example = "base58")
|
||||||
public byte[] lastBlockSignature;
|
public byte[] lastBlockSignature;
|
||||||
public Long lastBlockTimestamp;
|
public Long lastBlockTimestamp;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user