Snapshot weights
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 weights (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:
Minecon724 2025-08-31 15:39:12 +02:00
commit 9320a4b512
Signed by: Minecon724
GPG key ID: A02E6E67AB961189
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,14 @@
#pragma once
#include <string>
#include <vector>
namespace nano::weights
{
// Bootstrap weights for live network as of 31-08-2025
std::vector<std::pair<std::string, std::string>> preconfigured_weights_live = {
{ "nano_1w7crtqfea1mda7qcr7dfdfu9qptqgewn3rtks331om5whf6gg5i1qen1mif", "3944264242424242424242424242424242" },
{ "nano_17ds7reko4gjri8kzpqbmekh45z7eqkmwsmoth49jbbx6wat3onf16dojuyp", "256160000000000000000000000000000" },
};
uint64_t max_blocks_live = 39;
}

View file

@ -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");
preconfigured_representatives.emplace_back ("70AAC6AED620135A0B7560AB6ADBB3DEDABB99CA071A9642105663E3DA473870");
break;
case nano::networks::nano_test_network:
preconfigured_peers.push_back (default_test_peer_network);