There is a lot of duplicated code between BlockHeight and BlockInterval. It obfuscates the differences between them: which timelock types they can be converted to/from and what their arithmetic properties are. |
||
---|---|---|
.. | ||
amount | ||
fee_rate | ||
locktime | ||
block.rs | ||
fee.rs | ||
internal_macros.rs | ||
lib.rs | ||
mtp_height.rs | ||
parse.rs | ||
result.rs | ||
time.rs | ||
weight.rs |