Skip to content

Commit

Permalink
Updated gxrb -> knano ratio in comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RickiNano committed Sep 28, 2024
1 parent 084e509 commit b06c9f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
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

0 comments on commit b06c9f6

Please sign in to comment.