Inside Bitcoin
Opening the selected file…
Opening the selected file…
The code behind the network, with room to understand it.
Release published 2026-10-28 · Snapshot fetched 2026-11-01. Latest stable release at fetch time; development branches and Git history are excluded. Only the selected code window and visible folders load here.
1// Copyright (c) 2009-2010 Satoshi Nakamoto2// Copyright (c) 2009-present The Bitcoin Core developers3// Distributed under the MIT software license, see the accompanying4// file COPYING or http://www.opensource.org/licenses/mit-license.php.6#ifndef BITCOIN_SUPPORT_CLEANSE_H7#define BITCOIN_SUPPORT_CLEANSE_H9#include <cstdlib>11/** Secure overwrite a buffer (possibly containing secret data) with zero-bytes. The write12* operation will not be optimized out by the compiler. */13void memory_cleanse(void *ptr, size_t len);15#endif // BITCOIN_SUPPORT_CLEANSE_H