Skip to content
Snippets Groups Projects
Commit 4cb43dc9 authored by BRODIER Jeremy's avatar BRODIER Jeremy
Browse files

Merge branch 'main' into feat/coinbase

parents 5b9b7052 30a09594
No related branches found
No related tags found
1 merge request!1Create coinbase and genuine bloc
...@@ -7,7 +7,6 @@ public class Transaction { ...@@ -7,7 +7,6 @@ public class Transaction {
private UUID id; private UUID id;
private List<UTxO> inputs; private List<UTxO> inputs;
private List<UTxO> outputs; private List<UTxO> outputs;
//private double fees;
private String signature; private String signature;
private EnumTypeTransaction typeTransaction; private EnumTypeTransaction typeTransaction;
......
...@@ -9,6 +9,7 @@ import java.util.List; ...@@ -9,6 +9,7 @@ import java.util.List;
public class Wallet { public class Wallet {
private String publicKey; private String publicKey;
private String privateKey; // pour la signature private String privateKey; // pour la signature
private double solde;
private List<UTxO> utxos; private List<UTxO> utxos;
public Wallet(String publicKey, String privateKey) { public Wallet(String publicKey, String privateKey) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment