Ejemplo n.º 1
0
 public async Task PublishAsync(MaskedAuthenticatedMessage message, int minWeightMagnitude = 14, int depth = 2)
 {
     await this.Repository.SendTrytesAsync(message.Payload.Transactions, depth, minWeightMagnitude);
 }
Ejemplo n.º 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);
 }