-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding testSimpleTransaction() and testMultiSigTransaction() for test
- Loading branch information
1 parent
a75aeea
commit 0772f0e
Showing
6 changed files
with
255 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 | ||
org.eclipse.jdt.core.compiler.compliance=1.7 | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 | ||
org.eclipse.jdt.core.compiler.compliance=1.8 | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning | ||
org.eclipse.jdt.core.compiler.source=1.7 | ||
org.eclipse.jdt.core.compiler.source=1.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<faceted-project> | ||
<runtime name="Apache Tomcat v7.0"/> | ||
<fixed facet="wst.jsdt.web"/> | ||
<installed facet="jst.web" version="2.5"/> | ||
<installed facet="jst.jaxrs" version="2.0"/> | ||
<installed facet="wst.jsdt.web" version="1.0"/> | ||
<installed facet="java" version="1.7"/> | ||
<installed facet="java" version="1.8"/> | ||
</faceted-project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
package com._37coins.bcJsonRpc; | ||
|
||
import java.math.BigDecimal; | ||
|
||
import com.fasterxml.jackson.annotation.JsonInclude; | ||
import com.fasterxml.jackson.annotation.JsonInclude.Include; | ||
|
||
@JsonInclude(Include.NON_NULL) | ||
//@JsonIgnoreProperties(ignoreUnknown=true) | ||
public class ListUnspentTO { | ||
String txid; | ||
int vout; | ||
String address; | ||
String account; | ||
String scriptPubKey; | ||
BigDecimal amount; | ||
int confirmations; | ||
boolean spendable; | ||
boolean solvable; | ||
boolean safe; | ||
|
||
public String getTxid() { | ||
return txid; | ||
} | ||
public void setTxid(String txid) { | ||
this.txid = txid; | ||
} | ||
public int getVout() { | ||
return vout; | ||
} | ||
public void setVout(int vout) { | ||
this.vout = vout; | ||
} | ||
public String getAddress() { | ||
return address; | ||
} | ||
public void setAddress(String address) { | ||
this.address = address; | ||
} | ||
public String getAccount() { | ||
return account; | ||
} | ||
public void setAccount(String account) { | ||
this.account = account; | ||
} | ||
public String getScriptPubKey() { | ||
return scriptPubKey; | ||
} | ||
public void setScriptPubKey(String scriptPubKey) { | ||
this.scriptPubKey = scriptPubKey; | ||
} | ||
public BigDecimal getAmount() { | ||
return amount; | ||
} | ||
public void setAmount(BigDecimal amount) { | ||
this.amount = amount; | ||
} | ||
public int getConfirmations() { | ||
return confirmations; | ||
} | ||
public void setConfirmations(int confirmations) { | ||
this.confirmations = confirmations; | ||
} | ||
public boolean isSpendable() { | ||
return spendable; | ||
} | ||
public void setSpendable(boolean spendable) { | ||
this.spendable = spendable; | ||
} | ||
public boolean isSolvable() { | ||
return solvable; | ||
} | ||
public void setSolvable(boolean solvable) { | ||
this.solvable = solvable; | ||
} | ||
public boolean isSafe() { | ||
return safe; | ||
} | ||
public void setSafe(boolean safe) { | ||
this.safe = safe; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "ListUnspentTO [txid=" + txid + ", vout=" + vout + ", address=" + address + ", account=" + account | ||
+ ", scriptPubKey=" + scriptPubKey + ", amount=" + amount + ", confirmations=" + confirmations | ||
+ ", spendable=" + spendable + ", solvable=" + solvable + ", safe=" + safe + "]"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.