Пример #1
0
        void SendVerAckMessage()
        {
            var message = new MessagePayload(NetworkConfig.Magic, "verack", new VerAckPayload());

            SendMessage(message);
        }
Пример #2
0
        void SendVersionMessage()
        {
            var message = new MessagePayload(NetworkConfig.Magic, "version", GetVersionPayload());

            SendMessage(message);
        }
Пример #3
0
 public NewMessageEventArgs(MessagePayload message)
 {
     Message = message;
 }
Пример #4
0
        public void SendGetDataMessage(InvPayload invPayload)
        {
            var message = new MessagePayload(NetworkConfig.Magic, "getdata", invPayload);

            SendMessage(message);
        }