Skip to content

make ParseOutputType return a std::optional<OutputType> - #22621

Merged
maflcko merged 1 commit into
bitcoin:masterfrom
fanquake:parse_output_type_optional
Aug 4, 2021
Merged

maflcko merged 1 commit into
bitcoin:masterfrom
fanquake:parse_output_type_optional

Conversation

@fanquake

@fanquake fanquake commented Aug 4, 2021

Copy link
Copy Markdown
Member

Similar to #22220. Skipped using auto here for the same reasons outlined in that PR.

@practicalswift

Copy link
Copy Markdown
Contributor

Concept ACK

@jnewbery jnewbery left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

utACK fb52c43a6461c5c4fee47d7442703c48d7b91c15

Comment thread src/test/fuzz/kitchen_sink.cpp Resolved
Comment thread src/outputtype.h Resolved
@fanquake
fanquake force-pushed the parse_output_type_optional branch from fb52c43 to 32fa49a Compare August 4, 2021 11:21
@jnewbery

jnewbery commented Aug 4, 2021

Copy link
Copy Markdown
Contributor

utACK 32fa49a

@jonatack jonatack left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Code review ACK 32fa49a and debian clang 13 debug build is clean / unit tests locally are green

nit, can ignore: parsed localvars could be declared const, e.g. as in src/test/fuzz/kitchen_sink.cpp

@maflcko maflcko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

review ACK 32fa49a 🍢

Show signature and timestamp

Signature:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

review ACK 32fa49a18497a9b8c72e36a72ae96e7b23930223 🍢
-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEE+rVPoUahrI9sLGYTzit1aX5ppUgFAlwqrYAACgkQzit1aX5p
pUjxxwwAp2eMiuTSDyQF/v+XmEeFfPIBci2/mHzpaBanvLWTPpDEt4DBLcMExSyA
kNiGFoOOZWLjW00otIdoxVvEEaspLbA4LhBKqHnnoC0S9ubQwzCvYy3X9N7PraYi
LdSa58PASEwPwpu1XUs6ZfAdf7PmsVyeZzbnILfvx+IHp1jjAWQBNII5nSLoVZBq
YX+KJZW1bOzWsmqbZeZ+uYtx7XEoiB8wvx7IS5Q/DRvHjt5yu+rkILvjQ+GDj5jm
OlpD/QT02oWSHI3caS3ZPKswQ1+rSkgN7gA4JCQ5Y3G1EQgwL1HxNvp0QfYx0Zmy
VW9xWri9iRal9lVRciMWuya/qNoBT/aJzRhg6iwi6EVTBq3+Yw9Lq6o/l2X6EPSs
meFCAPdFMJx9CSGQYx7MPHTDbCID7gN85iSyuvuBTUnWKtNJuZbDBsja2qlPseph
MG/bMDXwSZHxfgFFSAze6Dh9ndZOEOnR5DkXd9rdekK1d8llBSDORuBtVFoXkzfw
OuZk3zp0
=Qnra
-----END PGP SIGNATURE-----

Timestamp of file with hash 91c943e8fe3b8d3fba23d0d084119eabd4fe46e1ab28f6b682bc8aa124a49d61 -

@maflcko
maflcko merged commit 4f1a75b into bitcoin:master Aug 4, 2021
@fanquake
fanquake deleted the parse_output_type_optional branch August 5, 2021 01:26
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Aug 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants