rust-bitcoin-unsafe-fast/src
sanket1729 093f8b612d
Merge rust-bitcoin/rust-bitcoin#752: Make Map trait private
dfd8924398 Remove insert_pair from Map trait (Tobin Harding)
ad75d5181f Make Map trait private to psbt module (Tobin Harding)
53225c0a6e Improve docs in map module (Tobin Harding)
92059c2841 Add full stops to rustdocs (Tobin Harding)
11c046b707 Refactor match arms (Tobin Harding)
e6af569490 Move imports to top of file (Tobin Harding)

Pull request description:

  The `Map` method `insert_pair` is never called for `PartiallySignedTransaction`. Separate the method into its own trait (`Insert`) and delete dead code. The dead code contains the alleged bug in #576.

  - Patch 1: Preparatory cleanup
  - Patch 2: Preparatory refactor
  - Patch 3 and 4: Improve docs in the module that this PR touches
  - Patch 5: Make `Map` trait private to the `psbt` module
  - ~Patch 6: Make `concensus_decode_global` method into a function~
  - Patch ~7~ 6: Pull `insert_pair` method out of `Map` trait into newly create `Insert` trait

  Resolves: https://github.com/rust-bitcoin/rust-bitcoin/issues/576

  (Title of PR is `Make Map trait private` because that is the API break.)

ACKs for top commit:
  dr-orlovsky:
    ACK dfd8924398
  apoelstra:
    ACK dfd8924398

Tree-SHA512: 1a78294bc8a455552d93caf64db697f886345ba979f574abad55820415958fee1c2dd16945f4eafdbe542fa202cb7e08618aa137ec7ee22b3c9dac5df0328157
2022-01-16 08:49:27 +05:30
..
blockdata Re-org keys and ecdsa mods - pt.1 2022-01-14 01:35:48 +01:00
consensus Put rustdocs above attributes 2022-01-06 13:04:47 +11:00
network Merge rust-bitcoin/rust-bitcoin#750: Use `test_data` for big objects, add big block for benchmarking 2022-01-07 20:22:02 +00:00
policy Clean up module level rustdocs 2021-11-06 10:59:53 +11:00
util Merge rust-bitcoin/rust-bitcoin#752: Make Map trait private 2022-01-16 08:49:27 +05:30
hash_types.rs Clean up module level rustdocs 2021-11-06 10:59:53 +11:00
internal_macros.rs Put rustdocs above attributes 2022-01-06 13:04:47 +11:00
lib.rs Re-org keys and ecdsa mods - pt.3 2022-01-14 01:35:48 +01:00
serde_utils.rs Clean up module level rustdocs 2021-11-06 10:59:53 +11:00
test_macros.rs Clean up module level rustdocs 2021-11-06 10:59:53 +11:00