8000 add fuzzer for transaction::OutPoint by apoelstra · Pull Request #179 · rust-bitcoin/rust-bitcoin · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add fuzzer for transaction::OutPoint #179

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 3, 2018

Conversation

apoelstra
Copy link
Member

No description provided.

@apoelstra apoelstra force-pushed the 2018-10-fuzz-outpoint branch from 9628854 to 8b6a40f Compare October 18, 2018 23:14
@apoelstra
Copy link
Member Author

This is what I used when reviewing #177

use std::str::FromStr;

fn do_test(data: &[u8]) {
let lowercase: Vec<u8> = data.iter().map(|c| match *c {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe just want to do the lowercase conversion on the assert_eq checks instead of on the input?

@apoelstra apoelstra merged commit 944c840 into rust-bitcoin:master Dec 3, 2018
@apoelstra apoelstra deleted the 2018-10-fuzz-outpoint branch December 3, 2018 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0