Global USE flags

Flag Description Packages
asm Enable x86_64 assembly optimisation 6
doc 3
examples 4
experimental Allow experimental USE flags 3
git-src Fetch sources using dev-vcs/git 0
man 5
python 2
static-libs 2
test 16
test-full Run tests that take a long time 4

Category USE flags

dev-libs

Flag Description Packages
amd64 2
arm 2
ecdh Enable ECDH shared secret computation 2
ellswift Enable ElligatorSwift encoding for public keys 2
extrakeys Enable extrakeys module 2
lowmem Reduce runtime memory usage at the expense of performance (ecmult window size 4, gen precision 2) 2
musig Enable MuSig2 module 2
recovery Enable ECDSA pubkey recovery module 2
valgrind Compile in valgrind memory hints 2

net-p2p

Flag Description Packages
berkdb Support legacy wallets in Berkeley DB format 3
cli Build and install bitcoin-cli command line interface 3
daemon Build and install bitcoind daemon 3
dbus 3
external-signer Include support for external wallet signer programs 3
gui Build and install Elements-Qt GUI 3
nat-pmp Enable NAT-PMP port forwarding 2
qrcode Enable generation of QR Codes for receiving payments 4
sqlite Support descriptor wallets in SQLite format 4
system-libsecp256k1 Link with <pkg>dev-libs/libsecp256k1-zkp</pkg> rather than embedding an internal copy 3
systemtap Enable SystemTap/DTrace tracing 3
upnp Enable Universal Plug and Play 3
zeromq Report blocks and transactions via zeromq 3

Local USE flags

dev-libs

leveldb

Flag Description
snappy
tcmalloc

libbech32

Flag Description
blech32 Enable support for Blech32/Blech32m encodings.
cxx

libsecp256k1

Flag Description
schnorr Enable Schnorr signature module
silentpayments

libsecp256k1-zkp

Flag Description
bppp Enable Bulletproofs++ module
ecdsa-adaptor Enable ECDSA adaptor module
ecdsa-s2c Enable ECDSA sign-to-contract module
external-default-callbacks Enable external default callback functions
generator Enable NUMS generator module
rangeproof Enable Pedersen / zero-knowledge range proofs module
schnorrsig Enable Schnorr signature module
surjectionproof Enable surjection proof module
whitelist Enable key whitelisting module

net-libs

libwally-core

Flag Description
elements Enable support for Elements assets
minimal

net-misc

bfgminer

Flag Description
adl Enable support for controlling fans and overclocking on AMD cards with AMD Display Library
alchemist Enable support for mining with AlcheMist
avalon Enable support for mining with Avalon 1 ASIC modules
avalonmm Enable support for mining with Avalon 2/3 ASIC modules
bfsb Enable support for mining on BFSB host Raspberry Pi
bfx Enable support for mining with BFx2 USB sticks
bifury Enable support for mining with Bi*fury USB sticks
bigpic Enable support for mining with Big Picture Mining USB sticks (Red/BlueFury, BF1, etc)
bitforce Enable support for mining with ButterFly Labs BitFORCE ASICs and/or FPGAs
bitfury Enable support for mining with 55nm Bitfury-based devices
bitmain Enable support for mining with Bitmain Antminer S* series
cointerra Enable support for mining with CoinTerra TerraMiner.
cpumining Enable support for mining with CPUs
drillbit Enable support for mining with Drillbit boards
dualminer Enable support for mining with DualMiner USB sticks
gridseed Enable support for mining with 5-chip GridSeed orbs
hardened
hashbuster Enable support for mining with HashBuster nano boards
hashbuster2 Enable support for mining with HashBuster micro boards
hashfast Enable support for mining with HashFast devices
icarus Enable support for mining with Icarus-compatible devices (including Block Erupter Sapphire ASICs)
jingtian Enable support for mining on JingTian boards via SPI/GPIO
keccak Enable support for mining with Keccak miners
klondike Enable support for mining with Klondike USB miners
libusb Use libusb
littlefury Enable support for mining with LittleFury USB sticks
lm-sensors
metabank Enable support for mining on Metabank host Raspberry Pi
minion Enable support for mining on minion chips via SPI (BlackArrow Prospero)
modminer Enable support for mining with ModMiner FPGAs
nanofury Enable support for mining with NanoFury USB sticks
ncurses
opencl Enable support for mining with OpenCL-capable devices (GPUs)
proxy Enable support for virtual proxy device
proxy_getwork Enable proxy support for getwork protocol (often used with Block Erupter Blades)
proxy_stratum Enable proxy support for stratum protocol
rockminer Enable support for mining with RockMiner devices
screen Provide start-bfgminer.sh script to launch BFGMiner in <pkg>app-misc/screen</pkg>
scrypt Enable support for scrypt mining algorithm
sha256d Enable support for SHA256d mining algorithm
twinfury Enable support for mining with Twinfury USB sticks
udev
udev-broad-rules Enable broader udev rules that may match non-mining devices
unicode
x6500 Enable support for mining with X6500 FPGAs
zeusminer Enable support for mining with ZeusMiner units
ztex Enable support for mining with Ztex FPGAs

net-p2p

bitcoin-core

Flag Description
wallet Support creating and loading wallets

bitcoin-knots

Flag Description
bitcoin_protocol_rdts Enables the BIP110 (RDTS) network upgrade, which fixes critical vulnerabilities in long-standing network design
libs Build and install libbitcoinconsensus
qt6
system-leveldb Link with <pkg>virtual/bitcoin-leveldb</pkg> rather than embedding an internal copy
tor-subprocess Run dedicated Tor subprocess

core-lightning

Flag Description
${POSTGRES_REQ_USE/||/^^}
${PYTHON_REQUIRED_USE}
debug
developer Enable dangerous commands intended for developer use only.
mkdocs Use dev-python/mkdocs to build documentation.
postgres
rust Build Rust components