Creating a hallmark for a node
A hallmark is a "stamp of approval" for a Nxt node. By creating a digital signature based on your IP address and secret passphrase (private key), you are verifying that your account "owns" a node and is accountable for it. This helps protect the network from attack, and increases the network's trust in your node. You do not need to generate a hallmark if you are a casual Nxt user. It is a very good idea for those who operate public Nxt nodes on dedicated, public servers. Hallmarks have no impact on forging.
To create a hallmark:
- Navigate to http://localhost:7876/admin.html (or http://127.0.0.1:7876/admin.html )
- In the "Generate hallmark" area, enter the following details:
- Public IP: The IP Address of your Nxt node, or, if you are advertising a DNS name in your properties file for the setting of: nxt.myAddress= then use this DNS name here as well instead of the IP address
- Weight: A weighting value for your node.
- If you only operate one node, the value doesn't matter... but if you operate multiple nodes, you can use this value to set a relative "weight" for each node. The network will "sum" all of the weights for your hallmarked node, and use the ratios of those weights to determine how much traffic each one can bear. For example, if you have four nodes and want them all weighted equally, set equal values. But if one node has much more memory and bandwidth allocated to it, you may weight it more highly relative to the other three.
- Date: Today's date, in format YYYY-MM-DD dashes, no slashes
- Secret phrase: Your account number's secret passphrase.
- Click "Submit".
Your Nxt server will generate a hallmark value for you, in the form of a long string of text. The response from the server will look something like this:
Der Wert in Anführungszeichen nach "Hallmark": Ist deine Hallmark.
Next, you must edit the settings file for your Nxt node:
- If it is running, stop the client.
- In the folder
nxt/conf/, create a copy of
- Locate the following lines in
nxt.propertiesand edit them:
# My externally visible IP address or host name, to be announced to peers.
# It can optionally include a port number, which will also be announced to peers,
# and may be different from nxt.peerServerPort (useful if you do port forwarding behind a router).
and add your public IP address immediately after the equals sign. If you do not know your IP address, browse to http://www.whatismyip.com/ from the server/computer where your node is running. For example:
# My hallmark, if available.
and add your hallmark value immediately after the equals sign. For example:
- Save and close the file.
- Restart your Nxt server to activate the hallmark.
Für zusätzliche Informationen, siehe FAQ