Skip to content

Commit 403501b

Browse files
author
[a561842] hubert marteau
committed
First Step to Multichain V2
1 parent 8e02e96 commit 403501b

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.multichainjavaapi</groupId>
55
<artifactId>MultiChainJavaAPI</artifactId>
6-
<version>0.4.18-SNAPSHOT</version>
6+
<version>0.5.01-SNAPSHOT</version>
77

88
<properties>
99
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

src/main/java/multichain/object/StreamKeyItem.java

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111

1212
/**
1313
* @author Ub - H. MARTEAU
14-
* @version 4.14
14+
* @version 5.01
1515
*/
1616
public class StreamKeyItem {
1717
List<String> publishers;
1818
String key = null;
19+
List<String> keys;
1920
String data = null;
2021
Long confirmations = null;
2122
String blockhash = null;
@@ -34,7 +35,7 @@ public class StreamKeyItem {
3435
*/
3536
@Override
3637
public String toString() {
37-
return "StreamKeyItem [publishers=" + publishers.toString() + ",\n key=" + key + ",\n data=" + data
38+
return "StreamKeyItem [publishers=" + publishers.toString() + ",\n key=" + key + ",\n keys=" + keys.toString() + ",\n data=" + data
3839
+ ",\n confirmations=" + confirmations + ",\n blockhash=" + blockhash + ",\n blockindex=" + blockindex
3940
+ ",\n blocktime=" + blocktime + ",\n txid=" + txid + ",\n vout=" + vout + ",\n valid=" + valid
4041
+ ",\n time=" + time + ",\n timereceived=" + timereceived + "]";
@@ -220,4 +221,18 @@ public void setTimereceived(long timereceived) {
220221
this.timereceived = timereceived;
221222
}
222223

224+
/**
225+
* @return the keys
226+
*/
227+
public List<String> getKeys() {
228+
return keys;
229+
}
230+
231+
/**
232+
* @param keys the keys to set
233+
*/
234+
public void setKeys(List<String> keys) {
235+
this.keys = keys;
236+
}
237+
223238
}

0 commit comments

Comments
 (0)