Browse Source

Block hinzugefügt

pullrequest
Christian Baltzer 5 years ago
parent
commit
a38ee183ad
  1. 10
      src/main/java/ugsbo/com/buchhaltung/Block.java

10
src/main/java/ugsbo/com/buchhaltung/Block.java

@ -1,14 +1,24 @@
package ugsbo.com.buchhaltung;
import java.security.MessageDigest;
public class Block {
int data;
int kontostand;
Block vorher;
String ownHash;
String previousHash;
public Block(int Data) {
data = Data;
vorher = null;
ownHash = createNewHash();
previousHash = null;
}
private String createNewHash() {
return null;
}
}
Loading…
Cancel
Save