-
Notifications
You must be signed in to change notification settings - Fork 10
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.
Daemon options are used to start xayad. You can set them:
- In a shortcut to xayad
- In the xaya.conf file in the data directory
- In command line arguments when running xayad
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.
There are several options that are unique to XAYA and xayad.
-
-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.
-
-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>
-
-maxgameblockattaches=<n>
: Sets the maximum number of attach steps sent for a singlegame_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)
-
-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.
-
-blockmaxweight=<n>
: Set maximum BIP141 block weight (default: 396000)
The maximum in Bitcoin is 3996000. XAYA has smaller, faster blocks, so hence the difference.
-
-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".
-
-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 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.
- Step 0: Blockchain Basics
- Step 1: xayad <⸺ start here
- Step 2: The Game State Processor
- Step 3a: libxayagame Component Relationships
- Step 3b: Compile libxayagame in Windows
- Step 3b: Compile libxayagame in Ubuntu
- Step 4: Run xayad for Games
- Step 5: Hello World! in C++
- Step 5: Hello World! in C#
- Step 5: Hello World! with SQLite
- Step 6a: Mover Overview
- Step 6b: Mover Console
- Step 6c: Mover Unity
- libxayagame Component Relationships
- How to Compile libxayagame in Ubuntu 20.04.03
- How to Compile libxayagame in Ubuntu 22.04
- How to Compile libxayagame in Windows
- Xayaships (How to get started playing)