コード例 #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
ファイル: MamChannel.cs プロジェクト: kauxam/tangle-.net
 /// <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);
 }