BIP155 (addrv2)
Tor v3 + i2p
This commit is contained in:
20
src/attributes.h
Normal file
20
src/attributes.h
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
||||
// Copyright (c) 2009-2020 The Bitcoin Core developers
|
||||
// Copyright (c) 2016-2022 The Hush developers
|
||||
// Distributed under the GPLv3 software license, see the accompanying
|
||||
// file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html
|
||||
|
||||
#ifndef HUSH_ATTRIBUTES_H
|
||||
#define HUSH_ATTRIBUTES_H
|
||||
|
||||
#if defined(__clang__)
|
||||
# if __has_attribute(lifetimebound)
|
||||
# define LIFETIMEBOUND [[clang::lifetimebound]]
|
||||
# else
|
||||
# define LIFETIMEBOUND
|
||||
# endif
|
||||
#else
|
||||
# define LIFETIMEBOUND
|
||||
#endif
|
||||
|
||||
#endif // HUSH_ATTRIBUTES_H
|
||||
Reference in New Issue
Block a user