| 88 | } |
| 89 | |
| 90 | BlockCreateOptions 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 |
no outgoing calls