Skip to content

Commit

Permalink
Merge pull request nanocurrency#4739 from pwojcikdev/frontier-scan-5
Browse files Browse the repository at this point in the history
Frontier scan client
  • Loading branch information
pwojcikdev authored Oct 31, 2024
2 parents 943f27d + 6e68af5 commit e72a999
Show file tree
Hide file tree
Showing 28 changed files with 1,126 additions and 315 deletions.
6 changes: 3 additions & 3 deletions nano/core_test/active_elections.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -436,8 +436,8 @@ TEST (inactive_votes_cache, election_start)
nano::test::system system;
nano::node_config node_config = system.default_config ();
node_config.backlog_population.enable = false;
node_config.priority_scheduler.enabled = false;
node_config.optimistic_scheduler.enabled = false;
node_config.priority_scheduler.enable = false;
node_config.optimistic_scheduler.enable = false;
auto & node = *system.add_node (node_config);
nano::block_hash latest (node.latest (nano::dev::genesis_key.pub));
nano::keypair key1, key2;
Expand Down Expand Up @@ -1336,7 +1336,7 @@ TEST (active_elections, limit_vote_hinted_elections)
nano::node_config config = system.default_config ();
const int aec_limit = 10;
config.backlog_population.enable = false;
config.optimistic_scheduler.enabled = false;
config.optimistic_scheduler.enable = false;
config.active_elections.size = aec_limit;
config.active_elections.hinted_limit_percentage = 10; // Should give us a limit of 1 hinted election
auto & node = *system.add_node (config);
Expand Down
Loading

0 comments on commit e72a999

Please sign in to comment.