5

Intuitively, I think minRelayFee is policy while minBlockTxFee is validation, but DEFAULT_MIN_RELAY_TX_FEE is in validation.h while DEFAULT_BLOCK_MIN_TX_FEE is in policy.h.

Murch
  • 75,206
  • 34
  • 186
  • 622
Mercedes
  • 802
  • 6
  • 25

1 Answers1

4

Both are policy. Both are about the same rule, just concern different parts of the code.

DEFAULT_MIN_RELAY_TX_FEE is about transaction relay (don't relay transactions that pay less than 1000 satoshis per kilo-vbyte), while DEFAULT_BLOCK_MIN_TX_FEE is about block creation (don't include transactions paying less than 1000 satoshis per kilo-vbyte in block templates).

Antoine Poinsot
  • 8,334
  • 2
  • 17
  • 34