mirror of
				https://git.wownero.com/wownero/wownero.git
				synced 2024-08-15 01:03:23 +00:00 
			
		
		
		
	show full version
This commit is contained in:
		
							parent
							
								
									a93dcc1962
								
							
						
					
					
						commit
						e5016a6f8e
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -2533,7 +2533,7 @@ bool t_rpc_command_executor::version()
 | 
			
		|||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    if (res.version.empty() || !cryptonote::rpc::is_version_string_valid(res.version))
 | 
			
		||||
    if (res.version.empty())
 | 
			
		||||
    {
 | 
			
		||||
        tools::fail_msg_writer() << "The daemon software version is not available.";
 | 
			
		||||
    }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -545,7 +545,7 @@ namespace cryptonote
 | 
			
		|||
    if (restricted)
 | 
			
		||||
      res.database_size = round_up(res.database_size, 5ull* 1024 * 1024 * 1024);
 | 
			
		||||
    res.update_available = restricted ? false : m_core.is_update_available();
 | 
			
		||||
    res.version = restricted ? "" : MONERO_VERSION_FULL;
 | 
			
		||||
    res.version = MONERO_VERSION_FULL;
 | 
			
		||||
    res.synchronized = check_core_ready();
 | 
			
		||||
    res.busy_syncing = m_p2p.get_payload_object().is_busy_syncing();
 | 
			
		||||
    res.restricted = restricted;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -540,7 +540,7 @@ namespace rpc
 | 
			
		|||
    res.info.block_size_median = res.info.block_weight_median = m_core.get_blockchain_storage().get_current_cumulative_block_weight_median();
 | 
			
		||||
    res.info.adjusted_time = m_core.get_blockchain_storage().get_adjusted_time(res.info.height);
 | 
			
		||||
    res.info.start_time = (uint64_t)m_core.get_start_time();
 | 
			
		||||
    res.info.version = MONERO_VERSION;
 | 
			
		||||
    res.info.version = MONERO_VERSION_FULL;
 | 
			
		||||
 | 
			
		||||
    res.status = Message::STATUS_OK;
 | 
			
		||||
    res.error_details = "";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue