예제 #1
0
 public async Task PublishAsync(MaskedAuthenticatedMessage message, int minWeightMagnitude = 14, int depth = 2)
 {
     await this.Repository.SendTrytesAsync(message.Payload.Transactions, depth, minWeightMagnitude);
 }
예제 #2
0
 /// <summary>
 /// The publish.
 /// </summary>
 /// <param name="message">
 /// The message.
 /// </param>
 /// <returns>
 /// The <see cref="Task"/>.
 /// </returns>
 public async Task PublishAsync(MaskedAuthenticatedMessage message)
 {
     await this.Repository.SendTrytesAsync(message.Payload.Transactions, 6, 14);
 }