Beispiel #1
0
        void SendVerAckMessage()
        {
            var message = new MessagePayload(NetworkConfig.Magic, "verack", new VerAckPayload());

            SendMessage(message);
        }
Beispiel #2
0
        void SendVersionMessage()
        {
            var message = new MessagePayload(NetworkConfig.Magic, "version", GetVersionPayload());

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

            SendMessage(message);
        }