Welcome, Guest. Please login or register.

Author Topic: A few questions about hallmark  (Read 197 times)

0 Members and 1 Guest are viewing this topic.

Offline Evan

  • Fresh Nxter
  • *
  • Posts: 22
    • View Profile
A few questions about hallmark
« on: December 17, 2013, 08:25:08 AM »
1. the weight is the balance of the account, not the percent of the balance, right?

2. What if the balance of the account is changed? If some money is transfered in or out, does the hallmark need to be regenerated? especially when the balance becomes less than the weight.

3. Since a part of the balance can be used as weight, does the weight of the hallmark affect the balance used in mining/forging?

4. A hallmark ties an account/balance to an IP address, does this mean that it will make login from other IPs with the account invalid?

Offline abctc

  • Fresh Nxter
  • *
  • Posts: 24
    • View Profile
Re: A few questions about hallmark
« Reply #1 on: December 17, 2013, 11:05:57 AM »
1. the weight is a relative portion of the account's balance. The weight is needed only if you use the same account on several your nodes.
For example: the account's balance is 1000 NXT
hallmark for your node #1 made with weight=1  (25% of total weights)
hallmark for your node #2 made with weight=3  (75% of total weights)
sum of all weights = 1+3 = 4
So effective hallmark's value for node #1 will be 0.25*1000 = 250 NXT,
and effective hallmark's value for node #2 will be 0.75*1000 = 750 NXT

2. say you spent 200 NXT from your 1000 NXT, then
effective hallmark's value for node #1 will be 0.25*800 = 200 NXT,
effective hallmark's value for node #2 will be 0.75*800 = 600 NXT

3. No, forging is a completely different process.

4. No, login from other IPs is a completely different story.
« Last Edit: December 17, 2013, 11:23:16 AM by abctc »
My Nxt  authorization token.

Offline Evan

  • Fresh Nxter
  • *
  • Posts: 22
    • View Profile
Re: A few questions about hallmark
« Reply #2 on: December 17, 2013, 11:16:47 AM »
1. the weight is a relative portion of the account's balance. The weight is needed only if you use the same account on several your nodes.
For example: the account's balance is 1000 NXT
hallmark for your node #1 made with weight=1  (25% of total weights)
hallmark for your node #2 made with weight=3  (75% of total weights)
sum of all weights = 1+3 = 4
So effective hallmark's value for node #1 will be 0.25*1000 = 250 NXT,
and effective hallmark's value for node #2 will be 0.75*1000 = 750 NXT

2. say you spent 200 NXT from your 1000 NXT, then
effective hallmark's value for node #1 will be 0.25*800 = 200 NXT,
effective hallmark's value for node #1 will be 0.75*800 = 600 NXT

3. No, forging is a completely different process.

4. No, login from other IPs is a completely different story.

very clear explanation, thank you very much.

Offline Lokytech

  • Fresh Nxter
  • *
  • Posts: 9
    • View Profile
Re: A few questions about hallmark
« Reply #3 on: February 24, 2014, 04:01:05 PM »
Thanks for you explanation.

If you allow me, i still have a question : i have ~1300 NXT. I just installed a second nodes and hallmarked it.
So now i have 2 node (2 different IPs) and both my node have a weight of 100.

Did i do something wrong ? And what is the purpose of weighting a node ? Load-Balancing ?

Thank you :)
NXT : 12836714582825243617

Offline Lokytech

  • Fresh Nxter
  • *
  • Posts: 9
    • View Profile
Re: A few questions about hallmark
« Reply #4 on: February 24, 2014, 04:06:15 PM »
I reply to myself but here the answer (from the wiki) :
Quote from: http://www.thenxtwiki.org/wiki/How-To:CreateHallmark
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.

So if you got multiple node, the purpose of weight is load-balancing ;)
NXT : 12836714582825243617