aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2020-06-08 08:47:10 -0400
committerMarcoFalke <[email protected]>2020-06-15 07:39:08 -0400
commitfa6ef701adba1cb48535cac25fd43c742a82e40d (patch)
tree260e6b7232c595094dea9e545e7e9e5dbed17d12 /src/net_processing.cpp
parentmove-only: Move NDEBUG compile time check to util/check (diff)
downloaddiscoin-fa6ef701adba1cb48535cac25fd43c742a82e40d.tar.xz
discoin-fa6ef701adba1cb48535cac25fd43c742a82e40d.zip
util: Add Assert identity function
The utility is primarily useful to dereference pointer types, which are known to be not null at that time. For example, the ArgsManager is known to exist when the wallets are started. Instead of silently relying on that assumption, Assert can be used to abort the program and avoid UB should the assumption ever be violated.
Diffstat (limited to 'src/net_processing.cpp')
0 files changed, 0 insertions, 0 deletions