Exemplo n.º 1
0
 public void PublishValidTransactionReceived(object sender, TransactionReceivedEventArgs ev)
 {
     OnValidTransactionReceived?.Invoke(sender, ev);
 }
Exemplo n.º 2
0
 /// <summary>
 /// This event is typically triggered by other nodes publishing transactions.
 /// The event will be picked up by the txpool and tries to add it. When that's
 /// successful, OnValidTransactionReceived is triggered.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="ev"></param>
 public bool?PublishUnvalidatedTransactionReceived(object sender, TransactionReceivedEventArgs ev)
 {
     return(OnUnvalidatedTransactionReceived?.Invoke(sender, ev));
 }