Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated gxrb -> knano ratio in comments #4738

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nano/core_test/active_elections.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,7 @@ TEST (active_elections, vote_replays)
nano::keypair key;
nano::state_block_builder builder;

// send Gxrb_ratio raw from genesis to key
// send Knano_ratio raw from genesis to key
auto send1 = builder.make_block ()
.account (nano::dev::genesis_key.pub)
.previous (nano::dev::genesis->hash ())
Expand All @@ -556,7 +556,7 @@ TEST (active_elections, vote_replays)
.build ();
ASSERT_NE (nullptr, send1);

// create open block for key receing Gxrb_ratio raw
// create open block for key receing Knano_ratio raw
auto open1 = builder.make_block ()
.account (key.pub)
.previous (0)
Expand Down
10 changes: 5 additions & 5 deletions nano/core_test/bootstrap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,7 @@ TEST (bootstrap_processor, lazy_hash_pruning)

nano::state_block_builder builder;

// send Gxrb_ratio raw from genesis to genesis
// send Knano_ratio raw from genesis to genesis
auto send1 = builder
.account (nano::dev::genesis_key.pub)
.previous (nano::dev::genesis->hash ())
Expand Down Expand Up @@ -906,7 +906,7 @@ TEST (bootstrap_processor, lazy_hash_pruning)
.work (*node0->work_generate_blocking (change1->hash ()))
.build ();

// send Gxrb_ratio from genesis to key1 and genesis rep back to genesis account
// send Knano_ratio from genesis to key1 and genesis rep back to genesis account
auto send2 = builder
.make_block ()
.account (nano::dev::genesis_key.pub)
Expand All @@ -930,7 +930,7 @@ TEST (bootstrap_processor, lazy_hash_pruning)
.work (*node0->work_generate_blocking (key1.pub))
.build ();

// send Gxrb_ratio raw, all available balance, from key1 to key2
// send all available balance from key1 to key2
auto send3 = builder
.make_block ()
.account (key1.pub)
Expand Down Expand Up @@ -1232,7 +1232,7 @@ TEST (bootstrap_processor, lazy_destinations)

nano::block_builder builder;

// send Gxrb_ratio raw from genesis to key1
// send Knano_ratio raw from genesis to key1
auto send1 = builder
.state ()
.account (nano::dev::genesis_key.pub)
Expand All @@ -1245,7 +1245,7 @@ TEST (bootstrap_processor, lazy_destinations)
.build ();
ASSERT_EQ (nano::block_status::progress, node1->process (send1));

// send Gxrb_ratio raw from genesis to key2
// send Knano_ratio raw from genesis to key2
auto send2 = builder
.state ()
.account (nano::dev::genesis_key.pub)
Expand Down
2 changes: 1 addition & 1 deletion nano/core_test/scheduler_buckets.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ TEST (buckets, construction)
ASSERT_EQ (63, buckets.bucket_count ());
}

TEST (buckets, insert_Gxrb)
TEST (buckets, insert_Knano)
{
nano::scheduler::buckets buckets;
buckets.push (1000, block0 (), nano::Knano_ratio);
Expand Down
Loading