internal void ProcessAddMemoMessage(Node messageFrom, MemoInfo memoInfo) { Memo memo = new Memo (network, memoInfo); if (!Core.IsLocalNode(memo.Node)) { if (network.TrustedNodes.ContainsKey(memo.Node.NodeID) && memo.Verify() == false) { LoggingService.LogWarning("Ignored a memo with an invalid signature!"); return; } network.AddOrUpdateMemo(memo); } }
internal void ProcessAddMemoMessage(Node messageFrom, MemoInfo memoInfo) { Memo memo = new Memo(network, memoInfo); if (!memo.Node.IsLocal) { if (network.TrustedNodes.ContainsKey(memo.Node.NodeID) && memo.Verify() == false) { Core.LoggingService.LogWarning("Ignored a memo with an invalid signature!"); return; } network.AddOrUpdateMemo(memo); } }