com.github.DNAProject.core.sidechaingovernance.SideChainNodeInfo Maven / Gradle / Ivy
The newest version!
package com.github.DNAProject.core.sidechaingovernance;
import com.github.DNAProject.io.BinaryReader;
import com.github.DNAProject.io.BinaryWriter;
import com.github.DNAProject.io.Serializable;
import java.io.IOException;
import java.util.HashMap;
import java.util.Map;
public class SideChainNodeInfo implements Serializable {
public String sideChainId;
public Map nodeInfoMap;
public SideChainNodeInfo(){
this.nodeInfoMap = new HashMap();
}
@Override
public void deserialize(BinaryReader reader) throws IOException {
this.sideChainId = reader.readVarString();
int n = reader.readInt();
for(int i=0;i
© 2015 - 2025 Weber Informatics LLC | Privacy Policy