WS_MAX_SUBS_ADDRS_EMPTYmust be changed to hold the new gap limit value. More details about how to run a full node with custom configurations are available in the Custom Configuration section of the Full Node guide.
--wallet-indexparameter creates an index of transactions by address. This index is required for some full node APIs and the headless wallet to work properly.
--wallet-indexparameter causes the wallet headless to throw an HTTP 503 (Service Unavailable) error.
txMiningURLparameter of the
config.jsfile of the wallet headless holds the correct address of the mining service. Another option is just to remove such a parameter from the file. In this case, the headless wallet will select the mining service correctly depending on the network you are using.
mark_as_usedparameter is an artificial way to say that this address is used and the next time you request an address this one shouldn't be returned.
/wallet/addressendpoint twice you will get in return the same address. However, by requesting the
/wallet/address?mark_as_used=trueendpoint twice, it will return two different addresses.