Updated gxrb -> knano ratio in comments (#4738)
This commit is contained in:
parent
084e509d06
commit
a8c05bad55
3 changed files with 8 additions and 8 deletions
|
|
@ -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 ())
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 ())
|
||||
|
|
@ -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)
|
||||
|
|
@ -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)
|
||||
|
|
@ -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)
|
||||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue