rust-bitcoin-unsafe-fast/src/blockdata
Andrew Poelstra 1295008dc6
Merge rust-bitcoin/rust-bitcoin#861: Remove get_ prefix
3bde1a205c Remove get_ prefix (Tobin Harding)

Pull request description:

  This one might be a viewed as code churn or unnecessarily modifying the API, feel free to NACK :)

  We have a bunch of methods that use the prefix `get_`, they are not exactly getters because they do more than just access a struct fields so Rust convention relating to getters does not apply, however, the `get_` prefix does not add to the descriptiveness of name hence the shorter form can be used with no loss of clarity.

  Improve docs and deprecate any methods changed that are pubic.

ACKs for top commit:
  dr-orlovsky:
    ACK 3bde1a205c
  apoelstra:
    ACK 3bde1a205c
  sanket1729:
    ACK 3bde1a205c

Tree-SHA512: d9e618ba7fec81ad157c2c806d1db273f899d63707c78254c133b619293f9f0c9a4f3a3e091e9aad399479ff80d5d052c424501164374c21bb90fb9783a4824e
2022-03-21 21:34:54 +00:00
..
block.rs Remove get_ prefix 2022-03-19 08:28:30 +11:00
constants.rs Add subsidy halving interval constant 2022-01-20 08:52:46 -08:00
mod.rs Introduce Witness struct mainly to improve ser/de performance while keeping most usability. 2021-12-28 09:56:38 +01:00
opcodes.rs Merge rust-bitcoin/rust-bitcoin#877: Improve ClassifyContext rustdocs 2022-03-20 20:40:32 +02:00
script.rs Use less vertical lines 2022-03-14 13:52:13 +11:00
transaction.rs Remove get_ prefix 2022-03-19 08:28:30 +11:00
witness.rs Use less vertical lines 2022-03-14 13:52:13 +11:00