Snapshot network state
	
		
			
	
		
	
	
		
	
		
			Some checks failed
		
		
	
	
		
			
				
	
				Static Analyzers / clang_format (push) Waiting to run
				
			
		
			
				
	
				Static Analyzers / cmake_format (push) Waiting to run
				
			
		
			
				
	
				Static Analyzers / code_inspector (push) Waiting to run
				
			
		
			
				
	
				code_sanitizers.yml / Snapshot network state (push) Failing after 0s
				
			
		
			
				
	
				Code Flamegraphs / Linux [large_confirmation] (push) Waiting to run
				
			
		
			
				
	
				Code Flamegraphs / Linux [large_direct_processing] (push) Waiting to run
				
			
		
			
				
	
				Unit Tests / macOS [lmdb] (push) Waiting to run
				
			
		
			
				
	
				Unit Tests / macOS [rocksdb] (push) Waiting to run
				
			
		
			
				
	
				Unit Tests / Linux [lmdb | clang] (push) Waiting to run
				
			
		
			
				
	
				Unit Tests / Linux [lmdb | gcc] (push) Waiting to run
				
			
		
			
				
	
				Unit Tests / Linux [rocksdb | clang] (push) Waiting to run
				
			
		
			
				
	
				Unit Tests / Linux [rocksdb | gcc] (push) Waiting to run
				
			
		
			
				
	
				Unit Tests / Windows [lmdb] (push) Waiting to run
				
			
		
			
				
	
				Unit Tests / Windows [rocksdb] (push) Waiting to run
				
			
		
		
	
	
		
	
		
			Some checks failed
		
		
	
	Static Analyzers / clang_format (push) Waiting to run
				
			Static Analyzers / cmake_format (push) Waiting to run
				
			Static Analyzers / code_inspector (push) Waiting to run
				
			code_sanitizers.yml / Snapshot network state (push) Failing after 0s
				
			Code Flamegraphs / Linux [large_confirmation] (push) Waiting to run
				
			Code Flamegraphs / Linux [large_direct_processing] (push) Waiting to run
				
			Unit Tests / macOS [lmdb] (push) Waiting to run
				
			Unit Tests / macOS [rocksdb] (push) Waiting to run
				
			Unit Tests / Linux [lmdb | clang] (push) Waiting to run
				
			Unit Tests / Linux [lmdb | gcc] (push) Waiting to run
				
			Unit Tests / Linux [rocksdb | clang] (push) Waiting to run
				
			Unit Tests / Linux [rocksdb | gcc] (push) Waiting to run
				
			Unit Tests / Windows [lmdb] (push) Waiting to run
				
			Unit Tests / Windows [rocksdb] (push) Waiting to run
				
			This commit is contained in:
		
					parent
					
						
							
								22eb7f6136
							
						
					
				
			
			
				commit
				
					
						d914e33fd2
					
				
			
		
					 3 changed files with 7 additions and 4 deletions
				
			
		|  | @ -5,8 +5,10 @@ | |||
| 
 | ||||
| namespace nano::weights | ||||
| { | ||||
| // Bootstrap weights for live network as of 22-03-2025
 | ||||
| // Bootstrap weights for live network as of 31-08-2025
 | ||||
| std::vector<std::pair<std::string, std::string>> preconfigured_weights_live = { | ||||
| 	{ "dn_1piiiebxxjn5r35eob6zfnsr9dqqysyd95z3sq1gsafuhgk6mi4s9f4xg6rh", "3816584242424242424242424242424242" }, | ||||
| 	{ "dn_1w7crtqfea1mda7qcr7dfdfu9qptqgewn3rtks331om5whf6gg5i1qen1mif", "425839999000000000000000000000000" }, | ||||
| }; | ||||
| uint64_t max_blocks_live = 0; | ||||
| uint64_t max_blocks_live = 41; | ||||
| } | ||||
|  |  | |||
|  | @ -69,7 +69,8 @@ nano::node_config::node_config (const std::optional<uint16_t> & peering_port_a, | |||
| 		} | ||||
| 		case nano::networks::nano_live_network: | ||||
| 			preconfigured_peers.emplace_back (default_live_peer_network); | ||||
| 			preconfigured_representatives.emplace_back ("15792E192A89D1C40D2FDAE99B24F10FE565E53E6675D3C478A53D2711A0D68D"); | ||||
| 			preconfigured_representatives.emplace_back ("5A108313DEC683C046CAA49F6D3383AEF7F67CB38FE1CDC0ECA1BB7BA449C059"); // dn_1piiiebxxjn5r35eob6zfnsr9dqqysyd95z3sq1gsafuhgk6mi4s9f4xg6rh
 | ||||
| 			preconfigured_representatives.emplace_back ("70AAC6AED620135A0B7560AB6ADBB3DEDABB99CA071A9642105663E3DA473870"); // dn_1w7crtqfea1mda7qcr7dfdfu9qptqgewn3rtks331om5whf6gg5i1qen1mif
 | ||||
| 			break; | ||||
| 		case nano::networks::nano_test_network: | ||||
| 			preconfigured_peers.push_back (default_test_peer_network); | ||||
|  |  | |||
|  | @ -56,7 +56,7 @@ with open(outputfile, 'w') as of: | |||
|         if rep["weight"] == 0: | ||||
|             break | ||||
|         acc_val = int(hexlify(b32decode(rep["account"].encode( | ||||
|             'utf-8').replace(b"nano_", b"").translate(tbl) + b"====")), 16) | ||||
|             'utf-8').replace(b"dn_", b"").translate(tbl) + b"====")), 16) | ||||
|          | ||||
|         of.write(f'\t{{ "{rep["account"]}", "{rep["weight"]}" }},\n') | ||||
|                  | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Minecon724
				Minecon724