aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2017-07-07 15:48:13 -0700
committerPieter Wuille <[email protected]>2020-01-02 11:05:27 -0800
commitca33451535dc29f64d37c49af8b22142d7716d0d (patch)
treea9a7595ae18527643bdd5a434cb8ce3d6ebc66cf /src/httpserver.cpp
parentMerge #16658: validation: Rename CheckInputs to CheckInputScripts (diff)
downloaddiscoin-ca33451535dc29f64d37c49af8b22142d7716d0d.tar.xz
discoin-ca33451535dc29f64d37c49af8b22142d7716d0d.zip
Introduce new serialization macros without casts
This new approach uses a static method which takes the object as a argument. This has the advantage that its constness can be a template parameter, allowing a single implementation that sees the object as const for serialization and non-const for deserialization, without casts. More boilerplate is included in the new macro as well.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions