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)
AggregateTransactionService
isComplete
in interface AggregateTransactionService
signedTransaction
- The signed aggregate transaction (complete) to be verifiedpublic io.reactivex.Observable<java.lang.Integer> getMaxCosignatures(Address address)
AggregateTransactionService
getMaxCosignatures
in interface AggregateTransactionService
address
- address multisig account addresspublic io.reactivex.Observable<java.lang.Integer> getNetworkMaxCosignaturesPerAggregate()
AggregateTransactionService
getNetworkMaxCosignaturesPerAggregate
in interface AggregateTransactionService