File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,8 @@ class BCN_API settings
4141 bool defer_validation;
4242 bool defer_confirmation;
4343 float allowed_deviation;
44+ float minimum_free_rate;
45+ float minimum_bump_rate;
4446 uint16_t announcement_cache;
4547 uint16_t allocation_multiple;
4648 // //uint64_t snapshot_bytes;
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ settings::settings() NOEXCEPT
3535 thread_priority{ true },
3636 defer_validation{ false },
3737 defer_confirmation{ false },
38+ minimum_free_rate{ 0.0 },
39+ minimum_bump_rate{ 0.0 },
3840 allowed_deviation{ 1.5 },
3941 announcement_cache{ 42 },
4042 allocation_multiple{ 20 },
Original file line number Diff line number Diff line change @@ -35,6 +35,8 @@ BOOST_AUTO_TEST_CASE(settings__node__default_context__expected)
3535 BOOST_REQUIRE_EQUAL (node.headers_first , true );
3636 BOOST_REQUIRE_EQUAL (node.defer_validation , false );
3737 BOOST_REQUIRE_EQUAL (node.defer_confirmation , false );
38+ BOOST_REQUIRE_EQUAL (node.minimum_free_rate , 0.0 );
39+ BOOST_REQUIRE_EQUAL (node.minimum_bump_rate , 0.0 );
3840 BOOST_REQUIRE_EQUAL (node.allowed_deviation , 1.5 );
3941 BOOST_REQUIRE_EQUAL (node.announcement_cache , 42_u16);
4042 BOOST_REQUIRE_EQUAL (node.allocation_multiple , 20_u16);
You can’t perform that action at this time.
0 commit comments