Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 2 src/main/java/multichain/command/CommandElt.java
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ public enum CommandElt {
GETBLOCKCHAININFO("getblockchaininfo", null, new Class<?>[] {BlockchainInfo.class}),
GETBLOCKCHAINPARAMS("getblockchainparams", null,
new Class<?>[] {(new HashMap<String, String>()).getClass()}),
GETBLOCKCOUNT("getblockcount", null, new Class<?>[] {Long.class}),
GETBLOCKCOUNT("getblockcount", null, new Class<?>[] {Double.class}),
GETBLOCKHASH("getblockhash", null, new Class<?>[] {String.class}),
GETBLOCKTEMPLATE("getblocktemplate", null, new Class<?>[] {BlockTemplate.class}),
GETCHAINTIPS("getchaintips", null, new Class<?>[] {ChainTip.class}, true),
Expand Down
198 changes: 99 additions & 99 deletions 198 src/main/java/multichain/object/NetworkInfoNetwork.java
Original file line number Diff line number Diff line change
@@ -1,99 +1,99 @@
/*
* Copyright (C) 2017 Worldline, Inc.
*
* MultiChainJavaAPI code distributed under the GPLv3 license, see COPYING file. https://github.com/SimplyUb/MultiChainJavaAPI/blob/master/LICENSE
*
*/
package multichain.object;
/**
* @author Ub - H. MARTEAU
* @version 2.0.1
*/
public class NetworkInfoNetwork {
String name = null;
Boolean limited = null;
Boolean reachable = null;
String proxy = null;
/**
* @return the name
*/
public String getName() {
return name;
}
/**
* @param name
* the name to set
*/
public void setName(final String name) {
this.name = name;
}
/**
* @return the limited
*/
public Boolean getLimited() {
return limited;
}
/**
* @param limited
* the limited to set
*/
public void setLimited(final Boolean limited) {
this.limited = limited;
}
/**
* @return the reachable
*/
public Boolean getReachable() {
return reachable;
}
/**
* @param reachable
* the reachable to set
*/
public void setReachable(final Boolean reachable) {
this.reachable = reachable;
}
/**
* @return the proxy
*/
public String getProxy() {
return proxy;
}
/**
* @param proxy
* the proxy to set
*/
public void setProxy(final String proxy) {
this.proxy = proxy;
}
/*
* (non-Javadoc)
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
return String.format("NetworkInfoNetwork [name=%s, limited=%s, reachable=%s, proxy=%s]", name, limited, reachable, proxy);
}
}
/*
* Copyright (C) 2017 Worldline, Inc.
*
* MultiChainJavaAPI code distributed under the GPLv3 license, see COPYING file. https://github.com/SimplyUb/MultiChainJavaAPI/blob/master/LICENSE
*
*/
package multichain.object;


/**
* @author Ub - H. MARTEAU
* @version 2.0.1
*/
public class NetworkInfoNetwork {
String name = null;
Boolean limited = null;
Boolean reachable = null;
String proxy = null;

/**
* @return the name
*/
public String getName() {

return name;
}

/**
* @param name
* the name to set
*/
public void setName(final String name) {

this.name = name;
}

/**
* @return the limited
*/
public Boolean getLimited() {

return limited;
}

/**
* @param limited
* the limited to set
*/
public void setLimited(final Boolean limited) {

this.limited = limited;
}

/**
* @return the reachable
*/
public Boolean getReachable() {

return reachable;
}

/**
* @param reachable
* the reachable to set
*/
public void setReachable(final Boolean reachable) {

this.reachable = reachable;
}

/**
* @return the proxy
*/
public String getProxy() {

return proxy;
}

/**
* @param proxy
* the proxy to set
*/
public void setProxy(final String proxy) {

this.proxy = proxy;
}

/*
* (non-Javadoc)
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {

return String.format("NetworkInfoNetwork [name=%s, limited=%s, reachable=%s, proxy=%s]", name, limited, reachable, proxy);
}

}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.