public class AggregateTransactionServiceImpl extends java.lang.Object implements AggregateTransactionService
AggregateTransactionService| Constructor and Description |
|---|
AggregateTransactionServiceImpl(RepositoryFactory repositoryFactory) |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Observable<java.lang.Integer> |
getMaxCosignatures(Address address)
Gets total multisig account cosigner count.
|
io.reactivex.Observable<java.lang.Integer> |
getNetworkMaxCosignaturesPerAggregate()
Gets max cosignatures allowed per aggregate according to the current network properties.
|
io.reactivex.Observable<java.lang.Boolean> |
isComplete(SignedTransaction signedTransaction)
Checks if an aggregate complete transaction has all cosignatories attached.
|
public AggregateTransactionServiceImpl(RepositoryFactory repositoryFactory)
public io.reactivex.Observable<java.lang.Boolean> isComplete(SignedTransaction signedTransaction)
AggregateTransactionServiceisComplete in interface AggregateTransactionServicesignedTransaction - The signed aggregate transaction (complete) to be verifiedpublic io.reactivex.Observable<java.lang.Integer> getMaxCosignatures(Address address)
AggregateTransactionServicegetMaxCosignatures in interface AggregateTransactionServiceaddress - address multisig account addresspublic io.reactivex.Observable<java.lang.Integer> getNetworkMaxCosignaturesPerAggregate()
AggregateTransactionServicegetNetworkMaxCosignaturesPerAggregate in interface AggregateTransactionService