code: def do_notify(self, line):
          
  
          def f(p, method, params):
              p.send_notification(method, params)
  
          self._request(line, f)
docs: notify <peer> <method> <params>
          send a msgpack-rpc notification.
          <params> is a python code snippet, it should be eval'ed to a list.