MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / MergeMiningOptions

Function MergeMiningOptions

src/node/mining_args.cpp:90–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90BlockCreateOptions MergeMiningOptions(BlockCreateOptions x, const BlockCreateOptions& y)
91{
92 if (!x.block_min_fee_rate) x.block_min_fee_rate = y.block_min_fee_rate;
93 if (!x.print_modified_fee) x.print_modified_fee = y.print_modified_fee;
94 if (!x.block_reserved_weight) x.block_reserved_weight = y.block_reserved_weight;
95 if (!x.block_max_weight) x.block_max_weight = y.block_max_weight;
96 return x;
97}
98
99} // namespace node

Callers 2

TestPackageSelectionMethod · 0.85
createNewBlockMethod · 0.85

Calls

no outgoing calls

Tested by 1

TestPackageSelectionMethod · 0.68