Start local harvesting, which algorithm?

I opened some accounts in one wallet and sent there some quantity of NEM: 1000, 10 000, 20 000, 50 000, 100 000. After 15 hours (why not 24?) one account has started local harvesting only, 100 000. After 2 days (?) no one others account didn't start (I get Error 700 or Error 306). I know theoretically, 1440 blocks (about 24 hours, one day ) must pass and if more then 10 000 local harvesting will start )) Btw in Error message I see 1000 threshold (?).

Which threshold is, 1000, 10 000 or 100 000? Other people have same question, but there is threshold [url=https://bitcointalk.org/index.php?topic=455591.msg9566501#msg9566501]40 000 for example. Every time I see a different time and a different sum for the starting. How many hours must pass for starting local harvesting, which threshold is or which algorithm is?

Vested 10,000 NEM is required for harvesting.

Theoretically I know, 1440 blocks & ≥ 10,000 … but actually it is not.


Theoretically I know, 1440 blocks & ≥ 10,000 ... but actually it is not.


10.000 need to be vested. However afaik vesting happens in %.
For example after 1 day x % of your balance will be vested (I don't know the real numbers). So for different balances it will probably take different amount of times before you can start harvesting.

A dev might want to weigh in here cuz I'm not 100% positive on this.

A balance is devided into a vested and an unvested part. The sum is the actual balance you see in the browser.
To be eligible to harvest, the vested part of the balance needs to be at least 10k NEM. At certain heights (every 1440 blocks), 1/10 of the unvested part of the balance is converted to the vested balance part.
Thus, if you receive 100K NEM, you need to wait for at most 1440 block to be able to harvest. If you received only 20k NEM you need to wait at most  6 * 1440 blocks (approximately 6 days) before you can start to harvest.
Nemesis accounts are fully vested from the beginning.

Thx, I got it  :slight_smile:
'At most 1440 blocks' = 0…1440 , for example 5 blocks ?


Thx, I got it  :)
'At most 1440 blocks' = 0...1440 , for example 5 blocks ?


If you get 100k NEM it's at most 1440 blocks. It can be more. Every 1440 bocks 10% of your balance becomes vested.

Let Δn∈(0; 1440].
    ≥100k:                    n=0⋅1440+Δn    (≤ 1⋅1440 blocks)
    90k, 80k, 70k, 60k: n=1⋅1440+Δn    (≤ 2⋅1440 blocks)
      …
    20k:                        n=6⋅1440+Δn    (≤ 7⋅1440 blocks)
Is it right (especially about Δn)?

For an arbitrary sum:
                       
m - sum, kNEM

@adme you have to know web version can harvest only one account and in standalon version you have to fix in NIS config.properties  nis.unlockedLimit =to number of harvested accounts - default is 1

Unvested part of the sum m at t-nd iteration:
      .
Vested part of the sum m at t-nd iteration:
      .
If m kNEM, then harvesting can start if:
     
Waiting time until start harvesting event, days:
     

[center][/center]

In blocks:
      .


@filchef, thx.
If we start harvesting, then:
  a) if vested part of the balance < 10k, then we'll get Error 700,
  b) if vested part of the balance ≥ 10k, but another account is harvesting already, then we'll get Error 306.

@andme: very nice graph :slight_smile:
What's your profession?

I just studied in a school )
Some questions stay still for me, one of them is:
Why and from where appears Δt∈(0;1], what reason for it?

@andme: not sure I understand the question. The vesting is done every 1440 blocks.

About 1440 i understand fine)
I attempt explain my question. It about 'AT MOST' term. I understand 'at most' as ≤. Therefore Δn appears in rigorous thinking.


…if you receive 100K NEM, you need to wait for at most 1440 block to be able to harvest. If you received only 20k NEM you need to wait at most 6 * 1440 blocks before you can start to harvest…


For examples. I use the graph in the reasoning.

1. An account has 20 kNEM. Let the sum appears at the moment n=0 blocks. 6⋅1440 blocks have passed.
a) If 'at most 6⋅1440 blocks' means 'n = 6⋅1440 blocks' then synchronization starts immediatly.
b) If 'at most 7⋅1440 blocks' means '6⋅1440 < n ≤ 7⋅1440 blocks' (I follow the graph) then we must wait yet from 0 to 1440 blocks the synchronization starts. As a result we wait or (6⋅1440+1) or (6*1440+2) … or (6⋅1440+1339) or (6⋅1440+1440) blocks. Here Δn=1, 2, … 1339, 1440. Isn't it?

2. An account has 110 kNEM. Let the sum appears at the moment n=0 blocks.
If 'at most 1440 blocks' means '0 < n ≤ 1440 blocks' then we must wait yet from 0 to 1440 blocks the synchronization starts. Maybe 1 block, in fact immediatly.

Must Δn be or not to be? Or is Δn a figment of my misunderstanding?

Let's say the vesting calculation is done at block 11441, 21441, 3*1441,…
If you receive 100k NEM at Block 1000, you have to wait 441 Blocks for vesting to take place. if you receive the NEM at Block 500, you have to wait 941 Blocks. Does that answer your qustion?

Oh really? That's interesting. So it could be that I receive coins and 1 minute (block) later it's already vested.


Let's say the vesting calculation is done at block 1*1441, 2*1441, 3*1441,...
If you receive 100k NEM at Block 1000, you have to wait 441 Blocks for vesting to take place. if you receive the NEM at Block 500, you have to wait 941 Blocks. Does that answer your qustion?


Now completely clear  :) Thanks