MCPcopy Create free account
hub / github.com/bitshares/bitshares-core / get_default_impl

Method get_default_impl

libraries/protocol/fee_schedule.cpp:28–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace graphene { namespace protocol {
27
28 fee_schedule fee_schedule::get_default_impl()
29 {
30 fee_schedule result;
31 const auto count = fee_parameters::count();
32 result.parameters.reserve(count);
33 for( size_t i = 0; i < count; ++i )
34 {
35 fee_parameters x;
36 x.set_which(i);
37 result.parameters.insert(x);
38 }
39 return result;
40 }
41
42 const fee_schedule& fee_schedule::get_default()
43 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected