#
Node configuration
In this page, we will explain the relevant configuration information of the node. martiscoin is a platform built on Blockcore for building a first-layer consensus network based on the Bitcoin protocol. Therefore, the relevant configuration parameters remain consistent with Bitcoin.The node directory is as follows:
#
Node Directory Path
The configuration file is in the node directory, msc.conf .
#
Windows
Enter the following command in the folder directory address bar.
%Appdata%\martiscoin
#
Linux
If you start the martiscoin node using the root account.
cd /root/.martiscoin
#
Seed Nodes
These are seed nodes hosted by us. The network does not requires them to be up at all time because martiscoin is a decentralized network. However we provide them for others who can't run one for whatever reasons.
More additional node information can be found here
#
Add a node in the wallet interface
#
Add nodes using configuration files
xxx.xx.xx.xx is the IP address of other nodes.
Open the node file msc.conf using Notepad, enter the following content and save. The configuration information takes effect after the node is restarted.
addnode=xxx.xx.xx.xx
addnode=xxx.xx.xx.xx
#
RPC Settings
The RPC service supports most Bitcoin methods, server=1 Activate RPC Server (default: 0);Where the RPC Server binds (default: 127.0.0.1 and ::1);#Ip address allowed to connect to RPC (default all: 0.0.0.0 and ::)
server=1
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
rpcuser=
rpcpassword=
#
Whitelist
Whitelist peers having the given IP:port address, both inbound or outbound. Can be specified multiple times.
whitelist=<ip:port>
#
Outbound Connections
The maximum number of outbound connections. Default 16.
maxoutboundconnections=<number>
#
Inbound Connections
The maximum number of inbound connections. Default 109.
maxinboundconnections=<number>