Daemon Options - RenegadeMinds/testbed GitHub Wiki

Daemon Options

For a full list of daemon startup options, 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 daemon startup options for xayad and bitcoind.

For standard startup options needed for XAYA, consult Running xayad for Games here.

Where to Use Daemon Options

Daemon options are used to start xayad. You can set them:

You can also start the XAYA QT wallet or XAYA Electron wallet the same way as above. They will pass the options to xayad when it starts up.

Unique to XAYA

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

Options

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

The namehistory option allows getting the entire history for a name. However, this increases the database size a little bit. You can then use name_history <name> in an RPC or in xaya-cli to get the complete history for that name.

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.

See Also

See more information about xaya.conf here.

See more information about xaya-cli here.

See more information about XAYA RPC methods here.

See more information about Running xayad for Games here.

⚠️ **GitHub.com Fallback** ⚠️