ELEMENTSD(1)

πŸ“¦
version 23.3.4 Β· 2 versions
, in nixpkgs unstable

hiiii bestie πŸ’– welcome to the elementsd manual page β€” this is the one for elementsd v23.3.4, and it's literally giving β€œyour node's whole personality.” let's get into it ✨

🌸 NAME 🌸

elementsd β€” manual page for elementsd v23.3.4. that's the name, no cap 🫢

✨ SYNOPSIS ✨

elementsd [options]                     Start Elements Core

πŸ¦‹ DESCRIPTION πŸ¦‹

Elements Core version v23.3.4 β€” that's the whole description, bestie. iconic, honestly πŸ’…

πŸ’… OPTIONS πŸ’…

  • -? β€” prints this help message and exits, periodt πŸŽ€
  • -alertnotify=<cmd> β€” run a command when an alert is raised (%s in cmd gets replaced by the message) 🚨
  • -assumevalid=<hex> β€” if this block is in the chain, assume it and all its ancestors are valid and potentially skip their script verification. 0 means verify all. defaults: 0000000000000000000000000000000000000000000000000000000000000000; testnet: 00000000000163cfb1f97c4e4098a3692c8053ad9cab5ad9c86b338b5c00b8b7; signet: 00000112852484b5fe3451572368f93cfd2723279af3464e478aee35115256ef πŸ”₯
  • -blockfilterindex=<type> β€” maintain an index of compact filters by block. default: 0; values: basic. if <type> is not supplied or if <type> = 1, indexes for all known types are enabled 🧚
  • -blocknotify=<cmd> β€” run a command when the best block changes (%s in cmd gets replaced by block hash) πŸ¦‹
  • -blockreconstructionextratxn=<n> β€” extra transactions to keep in memory for compact block reconstructions. default: 100 πŸŽ€
  • -blocksdir=<dir> β€” specify directory to hold blocks subdirectory for *.dat files. default: <datadir> πŸ“
  • -blocksonly β€” whether to reject transactions from network peers. automatic broadcast and rebroadcast of any transactions from inbound peers is disabled, unless the peer has the 'forcerelay' permission. RPC transactions are not affected. default: 0 πŸ’€
  • -coinstatsindex β€” maintain coinstats index used by the gettxoutsetinfo RPC. default: 0 ✨
  • -conf=<file> β€” specify path to read-only configuration file. relative paths will be prefixed by datadir location. default: elements.conf πŸ’–
  • -daemon β€” run in the background as a daemon and accept commands. default: 0 πŸ‘‘
  • -daemonwait β€” wait for initialization to be finished before exiting. this implies -daemon. default: 0 πŸŒ™
  • -datadir=<dir> β€” specify data directory πŸ—‚οΈ
  • -dbcache=<n> β€” maximum database cache size <n> MiB (4 to 16384, default: 450). in addition, unused mempool memory is shared for this cache (see -maxmempool) 🧠
  • -debuglogfile=<file> β€” specify location of debug log file. relative paths will be prefixed by a net-specific datadir location. (-nodebuglogfile to disable; default: debug.log) πŸ“
  • -includeconf=<file> β€” specify additional configuration file, relative to the -datadir path (only useable from configuration file, not command line) 🫢
  • -loadblock=<file> β€” imports blocks from external file on startup πŸ“₯
  • -maxmempool=<n> β€” keep the transaction memory pool below <n> megabytes. default: 300 🌊
  • -maxorphantx=<n> β€” keep at most <n> unconnectable transactions in memory. default: 100 πŸ“
  • -mempoolexpiry=<n> β€” do not keep transactions in the mempool longer than <n> hours. default: 336 ⏳
  • -par=<n> β€” set the number of script verification threads (-24 to 15, 0 = auto, <0 = leave that many cores free, default: 0) 🧡
  • -persistmempool β€” whether to save the mempool on shutdown and load on restart. default: 1 πŸ’Ύ
  • -pid=<file> β€” specify pid file. relative paths will be prefixed by a net-specific datadir location. default: elementsd.pid πŸͺͺ
  • -prune=<n> β€” reduce storage requirements by enabling pruning (deleting) of old blocks. this allows the pruneblockchain RPC to be called to delete specific blocks, and enables automatic pruning of old blocks if a target size in MiB is provided. this mode is incompatible with -txindex and -coinstatsindex. Warning: reverting this setting requires re-downloading the entire blockchain. default: 0 = disable pruning blocks, 1 = allow manual pruning via RPC, >=550 = automatically prune block files to stay under the specified target size in MiB 🚨
  • -ratelimitlogging β€” rate limit unconditional logging to disk. default: 1 🧾
  • -reindex β€” rebuild chain state and block index from the blk*.dat files on disk πŸ”
  • -reindex-chainstate β€” rebuild chain state from the currently indexed blocks. when in pruning mode or if blocks on disk might be corrupted, use full -reindex instead πŸ› οΈ
  • -sandbox=<mode> β€” use the experimental syscall sandbox in the specified mode (-sandbox=log-and-abort or -sandbox=abort). allow only expected syscalls to be used by bitcoind. note that this is an experimental new feature that may cause bitcoind to exit or crash unexpectedly: use with caution. in the log-and-abort mode the invocation of an unexpected syscall results in a debug handler being invoked which will log the incident and terminate the program (without executing the unexpected syscall). in the abort mode the invocation of an unexpected syscall results in the entire process being killed immediately by the kernel without executing the unexpected syscall. πŸ’€βš οΈ
  • -settings=<file> β€” specify path to dynamic settings data file. can be disabled with -nosettings. file is written at runtime and not meant to be edited by users (use elements.conf instead for custom settings). relative paths will be prefixed by datadir location. default: settings.json βš™οΈ
  • -startupnotify=<cmd> β€” execute command on startup. πŸš€
  • -sysperms β€” create new files with system default permissions, instead of umask 077 (only effective with disabled wallet functionality) πŸ”
  • -trim_headers β€” trim old headers in memory (by default older than 2 epochs), removing blocksigning and dynafed-related fields. saves memory, but blocks us from serving blocks or headers to peers, and removes trimmed fields from some JSON RPC outputs. default: 0 βœ‚οΈ
  • -txindex β€” maintain a full transaction index, used by the getrawtransaction rpc call. default: 0 πŸ”Ž
  • -version β€” print version and exit πŸ‘‹

πŸ”Œ Connection options πŸ”Œ

  • -addnode=<ip> β€” add a node to connect to and attempt to keep the connection open (see the addnode RPC help for more info). this option can be specified multiple times to add multiple nodes; connections are limited to 8 at a time and are counted separately from the -maxconnections limit πŸ«‚
  • -asmap=<file> β€” specify asn mapping used for bucketing of the peers. default: ip_asn.map. relative paths will be prefixed by the net-specific datadir location πŸ—ΊοΈ
  • -bantime=<n> β€” default duration (in seconds) of manually configured bans. default: 86400 ⏱️
  • -bind=<addr>[:<port>][=onion] β€” bind to given address and always listen on it. default: 0.0.0.0. use [host]:port notation for IPv6. append =onion to tag any incoming connections to that address and port as incoming Tor connections. default: 127.0.0.1:37041=onion; testnet: 127.0.0.1:18334=onion; signet: 127.0.0.1:38334=onion; regtest: 127.0.0.1:18445=onion πŸ§…
  • -cjdnsreachable β€” if set, then this host is configured for CJDNS (connecting to fc00::/8 addresses would lead us to the CJDNS network, see doc/cjdns.md). default: 0 🌐
  • -connect=<ip> β€” connect only to the specified node; -noconnect disables automatic connections (the rules for this peer are the same as for -addnode). this option can be specified multiple times to connect to multiple nodes πŸ”—
  • -discover β€” discover own IP addresses. default: 1 when listening and no -externalip or -proxy πŸͺž
  • -dns β€” allow DNS lookups for -addnode, -seednode and -connect. default: 1 πŸ“ž
  • -dnsseed β€” query for peer addresses via DNS lookup, if low on addresses. default: 1 unless -connect used 🌱
  • -externalip=<ip> β€” specify your own public address 🏠
  • -fixedseeds β€” allow fixed seeds if DNS seeds don't provide peers. default: 1 🌰
  • -forcednsseed β€” always query for peer addresses via DNS lookup. default: 0 πŸ”
  • -i2pacceptincoming β€” if set and -i2psam is also set then incoming I2P connections are accepted via the SAM proxy. if this is not set but -i2psam is set then only outgoing connections will be made to the I2P network. ignored if -i2psam is not set. listening for incoming I2P connections is done through the SAM proxy, not by binding to a local address and port. default: 1 πŸ•³οΈ
  • -i2psam=<ip:port> β€” I2P SAM proxy to reach I2P peers and accept I2P connections. default: none 🧦
  • -listen β€” accept connections from outside. default: 1 if no -proxy or -connect πŸ‘‚
  • -listenonion β€” automatically create Tor onion service. default: 1 πŸ§…
  • -maxconnections=<n> β€” maintain at most <n> connections to peers. default: 125. this limit does not apply to connections manually added via -addnode or the addnode RPC, which have a separate limit of 8 🚦
  • -maxreceivebuffer=<n> β€” maximum per-connection receive buffer, <n>*1000 bytes. default: 5000 πŸ“₯
  • -maxsendbuffer=<n> β€” maximum per-connection send buffer, <n>*1000 bytes. default: 1000 πŸ“€
  • -maxtimeadjustment β€” maximum allowed median peer time offset adjustment. local perspective of time may be influenced by outbound peers forward or backward by this amount. default: 4200 seconds ⏰
  • -maxuploadtarget=<n> β€” tries to keep outbound traffic under the given target per 24h. limit does not apply to peers with 'download' permission or blocks created within past week. 0 = no limit. default: 0M. optional suffix units [k|K|m|M|g|G|t|T] default: M. lowercase is 1000 base while uppercase is 1024 base πŸ“Ά
  • -networkactive β€” enable all P2P network activity. default: 1. can be changed by the setnetworkactive RPC command πŸ•ΈοΈ
  • -onion=<ip:port> β€” use separate SOCKS5 proxy to reach peers via Tor onion services, set -noonion to disable. default: -proxy πŸ§…
  • -onlynet=<net> β€” ✨ okay this one's description got cut off at the part 1 finish line, bestie β€” part 2 has the rest πŸ’…

…and finishing that one off (the option from the last part, you know the one): it makes automatic outbound connections only to network <net> β€” and <net> can be ipv4, ipv6, onion, i2p, or cjdns. Inbound connections and manual connections are literally not affected by this, bestie, don't worry. Specify it multiple times if you wanna allow multiple networks. ✨

  • -peerblockfilters β€” serve compact block filters to peers per BIP 157 (default: 0). Giving "I read the BIP" energy. 🌸
  • -peerbloomfilters β€” support filtering of blocks and transactions with bloom filters (default: 0).
  • -permitbaremultisig β€” relay non-P2SH multisig (default: 1).
  • -port=<port> β€” listen for connections on <port>. Heads up: nodes not using the default ports (default: 7042, testnet: 18333, signet: 38333, regtest: 18444) are unlikely to get incoming connections. Not relevant for I2P (see doc/i2p.md). πŸ’…
  • -proxy=<ip:port> β€” connect through a SOCKS5 proxy, set -noproxy to disable (default: disabled).
  • -proxyrandomize β€” randomize credentials for every proxy connection. This enables Tor stream isolation (default: 1). Queen of not being tracked πŸ•΅οΈβ€β™€οΈ
  • -seednode=<ip> β€” connect to a node to retrieve peer addresses, and disconnect. Can be specified multiple times to connect to multiple nodes.
  • -timeout=<n> β€” specify socket connection timeout in milliseconds. If an initial attempt to connect is unsuccessful after this amount of time, drop it (minimum: 1, default: 5000).
  • -torcontrol=<ip>:<port> β€” Tor control port to use if onion listening is enabled (default: 127.0.0.1:9051).
  • -torpassword=<pass> β€” Tor control port password (default: empty).
  • -whitebind=<[permissions@]addr> β€” bind to the given address and add permission flags to the peers connecting to it. Use [host]:port notation for IPv6.

Allowed permissions, lemme list 'em so you're not confused:

  • bloomfilter β€” allow requesting BIP37 filtered blocks and transactions
  • noban β€” do not ban for misbehavior; implies download
  • forcerelay β€” relay transactions that are already in the mempool; implies relay
  • relay β€” relay even in -blocksonly mode, and unlimited transaction announcements
  • mempool β€” allow requesting BIP35 mempool contents
  • download β€” allow getheaders during IBD, no disconnect after maxuploadtarget limit
  • addr β€” responses to GETADDR avoid hitting the cache and contain random records with the most up-to-date info

Specify multiple permissions separated by commas (default: download,noban,mempool,relay). Can be specified multiple times. πŸŽ€

  • -whitelist=<[permissions@]IP address or network> β€” add permission flags to the peers connecting from the given IP address (e.g. 1.2.3.4) or CIDR-notated network (e.g. 1.2.3.0/24). Uses the same permissions as -whitebind. Can be specified multiple times.

πŸ’– Wallet options πŸ’–

  • -addresstype β€” what type of addresses to use ("legacy", "p2sh-segwit", "bech32", or "bech32m", default: "bech32").
  • -avoidpartialspends β€” group outputs by address, selecting many (possibly all) or none, instead of selecting on a per-output basis. Privacy is improved because addresses are mostly swept with fewer transactions and outputs are aggregated in clean change addresses. Lowkey there's a trade-off though: it may result in higher fees due to less optimal coin selection caused by this added limitation and possibly a larger-than-necessary number of inputs being used. Always enabled for wallets with "avoid_reuse" enabled, otherwise default: 0.
  • -changetype β€” what type of change to use ("legacy", "p2sh-segwit", "bech32", or "bech32m"). Default is "legacy" when -addresstype=legacy, else it is an implementation detail.
  • -consolidatefeerate=<amt> β€” the maximum feerate (in BTC/kvB) at which transaction building may use more inputs than strictly necessary so that the wallet's UTXO pool can be reduced (default: 0.0001).
  • -disablewallet β€” do not load the wallet and disable wallet RPC calls. Bye bestie πŸ‘‹
  • -discardfee=<amt> β€” the fee rate (in BTC/kvB) that indicates your tolerance for discarding change by adding it to the fee (default: 0.0001).
Note: an output is discarded if it is dust at this rate, but we will always discard up to the dust relay fee and a discard fee above that is limited by the fee estimate for the longest target.
  • -fallbackfee=<amt> β€” a fee rate (in BTC/kvB) that will be used when fee estimation has insufficient data. 0 to entirely disable the fallbackfee feature (default: 0.00).
  • -keypool=<n> β€” set key pool size to <n> (default: 1000).
⚠️ Warning: smaller sizes may increase the risk of losing funds when restoring from an old backup, if none of the addresses in the original keypool have been used. Fr fr be careful with this one 😭
  • -maxapsfee=<n> β€” spend up to this amount in additional (absolute) fees (in BTC) if it allows the use of partial spend avoidance (default: 0.00).
  • -mintxfee=<amt> β€” fee rates (in BTC/kvB) smaller than this are considered zero fee for transaction creation (default: 0.000001).
  • -paytxfee=<amt> β€” fee rate (in BTC/kvB) to add to transactions you send (default: 0.00).
  • -signer=<cmd> β€” external signing tool, see doc/external-signer.md.
  • -spendzeroconfchange β€” spend unconfirmed change when sending transactions (default: 1).
  • -txconfirmtarget=<n> β€” if paytxfee is not set, include enough fee so transactions begin confirmation on average within n blocks (default: 6).
  • -wallet=<path> β€” specify wallet path to load at startup. Can be used multiple times to load multiple wallets. Path is to a directory containing wallet data and log files. If the path is not absolute, it is interpreted relative to <walletdir>. This only loads existing wallets and does not create new ones. For backwards compatibility this also accepts names of existing top-level data files in <walletdir>. πŸ—‚οΈ
  • -walletbroadcast β€” make the wallet broadcast transactions (default: 1).
  • -walletdir=<dir> β€” specify directory to hold wallets (default: <datadir>/wallets if it exists, otherwise <datadir>).
  • -walletnotify=<cmd> β€” execute command when a wallet transaction changes. %s in cmd is replaced by TxID, %w is replaced by wallet name, %b is replaced by the hash of the block including the transaction (set to 'unconfirmed' if the transaction is not included) and %h is replaced by the block height (-1 if not included). %w is not currently implemented on windows. On systems where %w is supported, it should NOT be quoted because this would break shell escaping used to invoke the command. πŸ‘‘
  • -walletrbf β€” send transactions with full-RBF opt-in enabled (RPC only, default: 1).

πŸ“¬ ZeroMQ notification options πŸ“¬

  • -zmqpubhashblock=<address> β€” enable publish hash block in <address>.
  • -zmqpubhashblockhwm=<n> β€” set publish hash block outbound message high water mark (default: 1000).
  • -zmqpubhashtx=<address> β€” enable publish hash transaction in <address>.
  • -zmqpubhashtxhwm=<n> β€” set publish hash transaction outbound message high water mark (default: 1000).
  • -zmqpubrawblock=<address> β€” enable publish raw block in <address>.
  • -zmqpubrawblockhwm=<n> β€” set publish raw block outbound message high water mark (default: 1000).
  • -zmqpubrawtx=<address> β€” enable publish raw transaction in <address>.
  • -zmqpubrawtxhwm=<n> β€” set publish raw transaction outbound message high water mark (default: 1000).
  • -zmqpubsequence=<address> β€” enable publish hash block and tx sequence in <address>.
  • -zmqpubsequencehwm=<n> β€” set publish hash sequence message high water mark (default: 1000).

πŸ› Debugging/Testing options πŸ›

  • -debug=<category> β€” output debugging information (default: -nodebug, supplying <category> is optional). If <category> is not supplied or if <category> = 1, output all debugging information.

<category> can be: addrman, bench, blockstorage, cmpctblock, coindb, estimatefee, http, i2p, ipc, leveldb, libevent, mempool, mempoolrej, net, proxy, prune, qt, rand, reindex, rpc, selectcoins, tor, uncond_always, uncond_rate_limited, util, validation, walletdb, zmq.

This option can be specified multiple times to output multiple categories.

  • -debugexclude=<category> β€” exclude debugging information for a category. Can be used in conjunction with -debug=1 to output debug logs for all categories except the specified category. This option can be specified multiple times to exclude multiple categories. Not me excluding the noisy ones πŸ™ˆ
  • -help-debug β€” print help message with debugging options and exit.
  • -logips β€” include IP addresses in debug output (default: 0).
  • -logsourcelocations β€” prepend debug output with name of the originating source location (source file, line number and function name) (default: 0).
  • -logthreadnames β€” prepend debug output with name of the originating thread (only available on platforms supporting thread_local) (default: 0).
  • -logtimestamps β€” prepend debug output with timestamp (default: 1).
  • -maxtxfee=<amt> β€” maximum total fees (in BTC) to use in a single wallet transaction; setting this too low may abort large transactions (default: 0.10). πŸ’€ yeah, don't do that.
  • -printtoconsole β€” send trace/debug info to console (default: 1 when no -daemon. To disable logging to file, set -nodebuglogfile).
  • -shrinkdebugfile β€” shrink debug.log file on client startup (default: 1 when no -debug).
  • -uacomment=<cmt> β€” append comment to the user agent string.

⛓️ Chain selection options ⛓️

  • -acceptdiscountct β€” accept discounted fees for Confidential Transactions (default: 1 in liquidtestnet and liquidv1, 0 otherwise).
  • -bech32_hrp β€” the human-readable part of the chain's bech32 encoding (default: ex).
  • -blech32_hrp β€” the human-readable part of the chain's blech32 encoding. Used in confidential addresses (default: lq).
  • -chain=<chain> β€” use the chain <chain> (default: liquidv1). Reserved values: main, test, signet, regtest, liquidv1, liquidv1test, liquidtestnet. Pick your fighter πŸ₯Š
  • -con_blockheightinheader β€” whether the chain includes the block height directly in the header, for easier validation of block height in low-resource environments (default: 1).
  • **-con_has_parent_chain

…whether or not there is a parent chain. πŸ’«

  • -con_max_block_sig_size β€” max allowed witness data for the signed block header. Like, the absolute ceiling for that signed-header witness data, bestie.
  • -con_parent_chain_signblockscript β€” tells you whether the parent chain uses pow or signed blocks. If the parent chain uses signed blocks, this is the challenge (scriptPubKey) script. If not, it’s an empty string. (default: empty script [ie parent uses pow])
  • -con_parent_pegged_asset=<hex> β€” asset ID (hex) for the pegged asset for when the parent chain has CA. (default: 0x00)
  • -con_parentpowlimit β€” the proof-of-work limit value for the parent chain.
  • -con_signed_blocks β€” signed blockchain. Uses input of -signblockscript to define what signatures are necessary to solve it.
  • -creatediscountct β€” create Confidential Transactions with discounted fees (default: 0). Setting this to 1 will also set 'acceptdiscountct' to 1.
  • -ct_bits β€” the default number of hiding bits in a rangeproof. Will be exceeded to cover amounts exceeding the maximum hiding value. (default: 52)
  • -ct_exponent β€” the hiding exponent. (default: 0)
  • -extprvkeyprefix β€” the 4-byte prefix, in hex, of the chain’s base58 extended private key encoding. (default: 0488ade4)
  • -extpubkeyprefix β€” the 4-byte prefix, in hex, of the chain’s base58 extended public key encoding. (default: 0488b21e)
  • -fedpegscript β€” the script for the federated peg enforce from genesis block. This script may stop being enforced once dynamic federations activates.
  • -feeasset=<hex> β€” asset ID (hex) for mempool/relay fees (default: 6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d)
  • -initialreissuancetokens=<n> β€” the amount of reissuance tokens created in the genesis block. (default: 0)
  • -parent_bech32_hrp β€” the human-readable part of the parent chain’s bech32 encoding. (default: bc)
  • -parent_blech32_hrp β€” the human-readable part of the parent chain’s blech32 encoding. (default: bc)
  • -parentgenesisblockhash β€” the genesis blockhash of the parent chain.
  • -parentpubkeyprefix β€” the byte prefix, in decimal, of the parent chain’s base58 pubkey address. (default: 111)
  • -parentscriptprefix β€” the byte prefix, in decimal, of the parent chain’s base58 script address. (default: 196)
  • -pubkeyprefix β€” the byte prefix, in decimal, of the chain’s base58 pubkey address. (default: 57)
  • -scriptprefix β€” the byte prefix, in decimal, of the chain’s base58 script address. (default: 39)
  • -secretprefix β€” the byte prefix, in decimal, of the chain’s base58 secret key encoding. (default: 128)
  • -signblockscript β€” signed blockchain enumberance. Only active when -con_signed_blocks set to true.
  • -signet β€” use the signet chain. Equivalent to -chain=signet. Note that the network is defined by the -signetchallenge parameter.
  • -signetchallenge β€” blocks must satisfy the given script to be considered valid (only for signet networks; defaults to the global default signet test network challenge).
  • -signetseednode β€” specify a seed node for the signet network, in the hostname[:port] format, e.g. sig.net:1234 (may be used multiple times to specify multiple seed nodes; defaults to the global default signet test network seed node(s)).
  • -subsidyasset=<hex> β€” asset ID (hex) for the block subsidy (default: 6f0279e9ed041c3d710a9f57d0c02928416460c4b722ae3457a11eec381c526d)
  • -testnet β€” use the test chain. Equivalent to -chain=test.

πŸ“‘ Node relay options

  • -bytespersigop β€” equivalent bytes per sigop in transactions for relay and mining (default: 20)
  • -datacarrier β€” relay and mine data carrier transactions (default: 1)
  • -datacarriersize β€” relay and mine transactions whose data-carrying raw scriptPubKeys in aggregate are of this size or less, allowing multiple outputs (default: 100000)
  • -minrelaytxfee=<amt> β€” fees (in BTC/kvB) smaller than this are considered zero fee for relaying, mining and transaction creation (default: 0.000001)
  • -whitelistforcerelay β€” add 'forcerelay' permission to whitelisted inbound peers with default permissions. This will relay transactions even if the transactions were already in the mempool. (default: 0)
  • -whitelistrelay β€” add 'relay' permission to whitelisted inbound peers with default permissions. This will accept relayed transactions even when not relaying transactions (default: 1)

🧱 Block creation options

  • -blockmaxweight=<n> β€” set maximum BIP141 block weight (default: 3996000)
  • -blockmintxfee=<amt> β€” set lowest fee rate (in BTC/kvB) for transactions to be included in block creation. (default: 0.000001)

πŸ›°οΈ RPC server options

  • -rest β€” accept public REST requests (default: 0)
  • -rpcallowip=<ip> β€” allow JSON-RPC connections from specified source. Valid for <ip> are a single IP (e.g. 1.2.3.4), a network/netmask (e.g. 1.2.3.4/255.255.255.0) or a network/CIDR (e.g. 1.2.3.4/24). This option can be specified multiple times.
  • -rpcauth=<userpw> β€” username and HMAC-SHA-256 hashed password for JSON-RPC connections. The field <userpw> comes in the format: <USERNAME>:<SALT>$<HASH>. A canonical python script is included in share/rpcauth. The client then connects normally using the rpcuser=<USERNAME>/rpcpassword=<PASSWORD> pair of arguments. This option can be specified multiple times.
  • -rpcbind=<addr>[:port] β€” bind to given address to listen for JSON-RPC connections. Do not expose the RPC server to untrusted networks such as the public internet! This option is ignored unless -rpcallowip is also passed. Port is optional and overrides -rpcport. Use [host]:port notation for IPv6. This option can be specified multiple times (default: 127.0.0.1 and ::1 i.e., localhost).
  • -rpccookiefile=<loc> β€” location of the auth cookie. Relative paths will be prefixed by a net-specific datadir location. (default: data dir)
  • -rpcpassword=<pw> β€” password for JSON-RPC connections.
  • -rpcport=<port> β€” listen for JSON-RPC connections on <port> (default: 7041, testnet: 18332, signet: 38332, regtest: 18443)
  • -rpcserialversion β€” sets the serialization of raw transaction or block hex returned in non-verbose mode, non-segwit(0) or segwit(1) (default: 1)
  • -rpcthreads=<n> β€” set the number of threads to service RPC calls (default: 4)
  • -rpcuser=<user> β€” username for JSON-RPC connections.
  • -rpcwhitelist=<whitelist> β€” set a whitelist to filter incoming RPC calls for a specific user. The field <whitelist> comes in the format: <USERNAME>:<rpc 1>,<rpc 2>,...,<rpc n>. If multiple whitelists are set for a given user, they are set-intersected. See -rpcwhitelistdefault documentation for information on default whitelist behavior.
  • -rpcwhitelistdefault β€” sets default behavior for rpc whitelisting. Unless rpcwhitelistdefault is set to 0, if any -rpcwhitelist is set, the rpc server acts as if all rpc users are subject to empty-unless-otherwise-specified whitelists. If rpcwhitelistdefault is set to 1 and no -rpcwhitelist is set, rpc server acts as if all rpc users are subject to empty whitelists.
  • -server β€” accept command line and JSON-RPC commands.

πŸ’Ž Elements Options

  • -acceptunlimitedissuances β€” allow unblinded issuance amounts to exceed 21 million units.
  • -assetdir β€” entries of pet names of assets, in this format: asset=<hex>:<label>. There can be any number of entries.
  • -blindedaddresses β€” give blind addresses by default via getnewaddress and getrawchangeaddress. (default: -con_elementsmode value)
  • -blindedprefix β€” the byte prefix, in decimal, of blinded addresses. (default: 4)
  • -con_blocksubsidy β€” defines the amount of block subsidy to start with, at genesis block, in satoshis.
  • -con_connect_genesis_outputs β€” connect outputs in genesis block to utxo database.
  • -con_csv_deploy_start β€” starting height for CSV deployment. (default: -1, which means ACTIVE from genesis)
  • -con_dyna_deploy_signal β€” whether to signal for the Dynamic Federations deployment (default: 1).
  • -con_elementsmode β€” use Elements-like instead of Core-like witness encoding. This is required for CA/CT. (default: 1)
  • -con_mandatorycoinbase β€” all non-zero valued coinbase outputs must go to this scriptPubKey, if set.
  • -defaultpeggedassetname β€” default name of the pegged asset. (default: bitcoin)
  • -dynamic_epoch_length β€” per-chain parameter that sets how many blocks dynamic federation voting and enforcement are in effect for.
  • -enforce_pak β€” causes standardness checks to enforce Pegout Authorization Key(PAK) validation before dynamic federations, and consensus enforcement after.
  • -mainchainrpccookiefile=<file> β€” the bitcoind cookie auth path which the daemon will use to connect to the trusted mainchain daemon to validate peg-ins. (default: <datadir>/regtest/.cookie)
  • -mainchainrpchost=<host> β€” the address which the daemon will try to connect to the trusted mainchain daemon to validate peg-ins, if enabled. (default: 127.0.0.1)
  • -mainchainrpcpassword=<pwd> β€” the rpc password which the daemon will use to connect to the trusted mainchain daemon to validate peg-ins, if enabled. (default: cookie auth)
  • -mainchainrpcport=<n> β€” the port which the daemon will try to connect to the trusted mainchain daemon to validate peg-ins, if enabled. (default: 8332)
  • -mainchainrpctimeout=<n> β€” timeout in seconds during mainchain RPC requests, or 0 for no timeout. (default: 900)
  • -mainchainrpcuser=<user> β€” the rpc username that the daemon will use to connect to the trusted mainchain daemon to validate peg-ins, if enabled. (default: cookie auth)
  • -multi_data_permitted β€” allow relay of multiple OP_RETURN outputs. (default: -enforce_pak)
  • -pak β€”

Sets the 'first extension space' field to the pak entries ala pre-dynamic federations β€” ngl, this one’s only used for testing in custom chains. πŸ§ͺ

  • -peginconfirmationdepth=<n> β€” a peg-in claim has to be this deep before anyone treats it as valid. (default: 8)
  • -total_valid_epochs β€” a per-chain parameter that sets how long a particular fedpegscript is in effect for. periodt.
  • -validatepegin β€” actually validates peg-in claims. An RPC connection will be attempted to the trusted mainchain daemon using the mainchain* settings below. all functionaries must run this enabled. (default: 1 if the chain has a federated peg)

Copyright (C) 2009-2026 The Elements Project developers Copyright (C) 2009-2026 The Bitcoin Core developers

If you find Elements Core useful, please contribute β€” bestie, that’s how open source stays iconic. πŸ’– Visit <https://elementsproject.org/> for more info about the software, and the source code is available from <https://github.com/ElementsProject/elements>.

This is experimental software. It’s distributed under the MIT software license β€” see the accompanying file COPYING or <https://opensource.org/licenses/MIT>. don’t skip that part, okay? 😭

That’s the page, bestie: elementsd version v23.3.4, September 2026. mwah πŸ’…βœ¨

πŸ“¦ where this page comes from