rust-bitcoin-unsafe-fast/units/src
Tobin C. Harding 1173f3fbff
units: Add BlockHeight and BlockInterval types
Add two simple integer wrapper types for abstracting over block
height (from genesis block) and block interval.

This does not include hex because block height is typically written in
decimal.

These types are very thin wrappers, their usecase is to assist in code
readability instead of enforcing any logic.
2024-05-30 16:49:30 +10:00
..
locktime 2024-05-26 automated rustfmt nightly 2024-05-26 01:07:01 +00:00
amount.rs Standardize function doc Examples 2024-05-24 09:59:42 +01:00
block.rs units: Add BlockHeight and BlockInterval types 2024-05-30 16:49:30 +10:00
fee_rate.rs Move unit types to units 2024-03-12 11:59:39 +11:00
lib.rs units: Add BlockHeight and BlockInterval types 2024-05-30 16:49:30 +10:00
parse.rs Flesh out hex unit parsing API 2024-05-24 14:32:47 +10:00
test_macros.rs fix: Manually implement serde traits 2024-03-20 11:33:14 +11:00
weight.rs Move unit types to units 2024-03-12 11:59:39 +11:00