mirror of
https://github.com/dashpay/dash.git
synced 2024-12-29 13:59:06 +01:00
9ada13f974
fa2ae0ac8d43086430a29c73940ad6b1cd129e96 span: Add Span::empty() and use it in script/descriptor (MarcoFalke)
fa8a99258947a9ee3749fa472180542920cd471c Work around memory-aliasing in descriptor ParsePubkey (MarcoFalke)
Pull request description:
While this is not undefined behaviour, the memory aliasing trick is confusing when reading the code. Having `a.size()==0` and then access `a[0]` works in this particular case, but should probably be avoided to harden the code for the future.
ACKs for top commit:
theStack:
re-ACK
|
||
---|---|---|
.. | ||
bitcoinconsensus.cpp | ||
bitcoinconsensus.h | ||
descriptor.cpp | ||
descriptor.h | ||
interpreter.cpp | ||
interpreter.h | ||
keyorigin.h | ||
script_error.cpp | ||
script_error.h | ||
script.cpp | ||
script.h | ||
sigcache.cpp | ||
sigcache.h | ||
sign.cpp | ||
sign.h | ||
signingprovider.cpp | ||
signingprovider.h | ||
standard.cpp | ||
standard.h |