public IActionResult NodeStatus()
        {
            NodeStatusViewModel model = new NodeStatusViewModel();

            model.Nodes = _networkManager.GetAllNetworkNodes().ToList();
            model.Chain = _chainService.GetFullChain();
            return(View(model));
        }
        public IEnumerable <NetworkNode> WelcomeNode([FromBody] NetworkNode receivedNode)
        {
            var nodesList = _networkManager.GetAllNetworkNodes();

            //Add received node to my personal peer list
            _networkManager.AddNode(receivedNode);
            //Broadcast my new list to known nodes except the one that just called me
            _networkManager.CallNetworkNodesUpdate();
            //return my additional Info
            return(nodesList);
        }