rust-bitcoin-unsafe-fast/bitcoin/src/blockdata
Andrew Poelstra f8d7bcfce2
Merge rust-bitcoin/rust-bitcoin#2040: Use weight for block size function
a68c42e113 Remove test from Transaction test names (yancy)
f796d6fef9 Use Weight type for scaled_size (yancy)
e746341f33 Add tests for scaled_size (yancy)
97b7a2dee9 Use Weight type for block base_size (yancy)
9536a9947c Add base_size test (yancy)

Pull request description:

  Use Weight type for `base_size` in Transaction.  Also a small re-factor to remove `test_` and `_tests` from the testname for transaction tests.

ACKs for top commit:
  apoelstra:
    ACK a68c42e113
  tcharding:
    ACK a68c42e113

Tree-SHA512: f4ab54143cbd9b1439912390f1e0857069a32b715477a4bc08692c5e32860a7090c95a92f78b118b17c1295c45a3bbdd209ba1d68c3a934341269235040e6911
2023-09-06 14:26:09 +00:00
..
locktime Use standard set of derives on all error types 2023-07-28 06:15:49 +10:00
script Rename All to Opcode 2023-08-07 17:08:11 +10:00
block.rs Use Weight type for block base_size 2023-09-04 15:26:44 +02:00
constants.rs Move p2p::constants::Network to crate root 2023-08-01 16:46:59 +10:00
fee_rate.rs fee_rate: Add public absolute weight convenience functions 2023-08-02 09:10:49 +10:00
mod.rs bitcoin: Remove attribution from all files 2023-05-01 09:22:48 +10:00
opcodes.rs Rename All to Opcode 2023-08-07 17:08:11 +10:00
transaction.rs Remove test from Transaction test names 2023-09-04 15:26:44 +02:00
weight.rs Remove test from test names for Weight type 2023-08-25 10:28:34 +02:00
witness.rs Use checked_sub 2023-08-31 13:11:11 +10:00