public void PublishValidTransactionReceived(object sender, TransactionReceivedEventArgs ev)
 {
     OnValidTransactionReceived?.Invoke(sender, ev);
 }
 /// <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));
 }