forked from rust-bitcoin/rust-bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge rust-bitcoin#4089: Script improvements
5680b4e Refer to `Script{Buf}` as `Self` where relevant (Martin Habovstiak) ce55dd5 Make `ScriptHash` & `WScriptHash` obey sanity rule (Martin Habovstiak) 9ec9adc Add a note about Electrum's script hashes (Martin Habovstiak) 82f553a Expose `ScriptBuf`'s `capacity` (Martin Habovstiak) 6b9d439 Remove stale FIXME comments (Martin Habovstiak) 0567e6f Put `#[inline]` on most `Script{Buf}` methods (Martin Habovstiak) b7e2af1 Implement `Arbitrary` for `&'a Script` (Martin Habovstiak) bca2864 Move `Deref{Mut}` from common module to `owned` (Martin Habovstiak) 3b15e90 Add `const` to some `Script` methods (Martin Habovstiak) 277223d Make `Script` and `ScriptBuf` obey sanity rules (Martin Habovstiak) Pull request description: This implements various improvements related to `Script`. Please refer to the individual commits for details. This is a part of rust-bitcoin#4059 ACKs for top commit: tcharding: ACK 5680b4e apoelstra: ACK 5680b4e; successfully ran local tests Tree-SHA512: 5daa8bf6c0b439a579d31d23944077e4a7fa89e14052003d2b81c745f225147f8f6f693d068e0567830027cefea7dda2516596da632bc817199352fa29af0a9b
- Loading branch information
Showing
3 changed files
with
129 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.