Skip to content

Daemon Flags

Ryan edited this page Feb 16, 2019 · 1 revision

Daemon Flags

For a full list of daemon flags, open a command line or terminal and run:

xayad -?

You can also consult the Bitcoin documentation here.

The following documents the most important differences between xayad and bitcoind.

For standard startup flags needed for XAYA, consult Startup Flags in Prerequisites.

Unique to XAYA

There are several flags and options that are unique to XAYA and xayad.

Options

  • -namehistory: Keep track of the full name history (default: 0)

The namehistory flag allows getting the entire history for a name. However, this increases the database size a little bit. Use the 'name_history ` in an RPC or in xaya-cli to get the complete history.

ZeroMQ notification options

  • -trackgame=<game>: Enable tracking of the listed game for the XAYA game interface
  • -zmqpubgameblocks=<address>: Enable publication of game data for block attach/detach events in <address>

RPC server options

  • -maxgameblockattaches=<n>: Sets the maximum number of attach steps sent for a single game_sendupdates request (default: 1000)
  • -nameencoding=<enc>: Sets the default encoding used for names in the RPC interface (default: utf8)
  • -valueencoding=<enc>: Sets the default encoding used for values in the RPC interface (default: ascii)

Debugging/Testing options

  • -debug=<category> Output debugging information (default: -nodebug, supplying is optional). If is not supplied or if = 1, output all debugging information. can be: net, tor, mempool, http, bench, zmq, db, rpc, estimatefee, addrman, selectcoins, reindex, cmpctblock, rand, prune, proxy, mempoolrej, libevent, coindb, qt, leveldb, names, game.

The "names" and "game" categories are added to the debug option in XAYA, but are not found in Bitcoin.

Block creation options

  • -blockmaxweight=<n>: Set maximum BIP141 block weight (default: 396000)

The maximum in Bitcoin is 3996000. XAYA has smaller, faster blocks, so hence the difference.

Wallet options

  • -addresstype: What type of addresses to use ("legacy", "p2sh-segwit", or "bech32", default: "legacy")

The default in XAYA is "legacy", however the default in Bitcoin is "p2sh-segwit".

Ports

  • -port=<port>: Listen for connections on (default: 8394, testnet: 18394, regtest: 18495)
  • -rpcport=<port>: Listen for JSON-RPC connections on (default: 8396, testnet: 18396, regtest: 18493)

Port numbers differ between XAYA and Bitcoin.

Clone this wiki locally