Skip to content
Snippets Groups Projects

# Transaction multi-destinataire

Merged jm requested to merge ji_emme/duniter4j:master into master
Compare and
2 files
+ 51
17
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -30,6 +30,8 @@ import org.duniter.core.client.model.local.Peer;
import org.duniter.core.client.model.local.Wallet;
import org.duniter.core.client.service.exception.InsufficientCreditException;
import java.util.Map;
public interface TransactionRemoteService extends Service {
@@ -46,6 +48,18 @@ public interface TransactionRemoteService extends Service {
String transfer(Peer peer, Wallet wallet, String destPubKey, long amount,
String comment) throws InsufficientCreditException;
/**
* Transfer TX to the given peer, or if null to currency's default peer
* @param peer
* @param wallet
* @param mapPubkeyAmount
* @param comment
* @return
* @throws InsufficientCreditException
*/
String transfer(Peer peer, Wallet wallet, Map<String,Long> mapPubkeyAmount,
String comment) throws InsufficientCreditException;
/**
* Same, using the default currency's peer
* @param wallet
Loading