0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-04 10:07:27 -05:00
bitcoin-bitcoin-core/src/script
Pieter Wuille 818dc74ba2 Support serialization as another type without casting
This adds a READWRITEAS(type, obj) macro which serializes obj as if it
were casted to (const type&) when const, and to (type&) when non-const.

This makes it usable in serialization code that uses a single
implementation for both serialization and deserializing, which doesn't
know the constness of the object involved.
2018-03-20 17:08:06 -07:00
..
bitcoinconsensus.cpp Support deserializing into temporaries 2018-03-13 17:04:31 -07:00
bitcoinconsensus.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
interpreter.cpp Merge #11900: [script] simplify CheckMinimalPush checks, add safety assert 2018-03-07 17:18:14 +01:00
interpreter.h Fix a-vs-an typos 2018-02-11 10:48:15 +01:00
ismine.cpp Refactor HaveKeys to early return on false result 2018-01-29 23:45:25 +00:00
ismine.h Fix a-vs-an typos 2018-02-11 10:48:15 +01:00
script.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
script.h Support serialization as another type without casting 2018-03-20 17:08:06 -07:00
script_error.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
script_error.h Increment MIT Licence copyright header year on files modified in 2016 2016-12-31 11:01:21 -07:00
sigcache.cpp Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
sigcache.h Increment MIT Licence copyright header year on files modified in 2017 2018-01-03 02:26:56 +09:00
sign.cpp Calculate and store the number of bytes required to spend an input 2018-03-09 21:15:36 -05:00
sign.h Calculate and store the number of bytes required to spend an input 2018-03-09 21:15:36 -05:00
standard.cpp Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00
standard.h Merge #11403: SegWit wallet support 2018-01-10 20:55:41 -10:00