okay so i was finally able to start delegated harvesting by changing the remote server host in the settings.
i got some more questions. in the auto-boot what node name do i put? also, how can i do local harvesting while doing delegated harvesting? thanks all
you can put any name you like. im not sure if you can activate delegated harvesting in the GUI and then start local harvesting, but what you can do is activate delegated harvesting, and then get the delegated key and set its private key as the boot key for your local nis in the config files and set autostart harvesting to true.(<- not sure of the exact name of the config property for that). that way it should start harvesting as soon as nis is up and running using your delegated account.
thanks. where can i find the delegated key? and where do i set its private key for my local nis? can you please give me a link to a tutorial for this? thanks again
if you go to your account dash board, click the settings cog next to your account address on the left. then go view account details > show remote accounts private key.
to find the config file you need to edit go to c:\
\nis-ncc-0.6.74\package\nis\config.properties (open config.properties with notepad).
edit the following:
#nis.bootKey = #0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
#nis.bootName = foobar
remove the #'s, all 3.
change the bootkey shown to the private key for your delegated account and change the bootname to anything you want(bootname shows public just so you know)
then:
set "nis.shouldAutoHarvestOnBoot = false" to true.
After I changed that NIS doesn't start well; end of logs;
2016-04-17 08:20:26.931 INFO loadBlocks (from height 516902 to height 517001) needed 0ms (org.nem.nis.dao.BlockDaoImpl d)
2016-04-17 08:20:26.946 INFO loadBlocks (from height 516968 to height 517067) needed 0ms (org.nem.nis.dao.BlockDaoImpl d)
2016-04-17 08:20:27.181 INFO clustering completed: { clusters: 3 (average size: 14.33), hubs: 1, outliers: 1433 } (org.nem.nis.pox.poi.PoiContext$AccountProcessor dd)
2016-04-17 08:20:27.321 INFO Iterations required: 21; converged?: true (org.nem.nis.cx.na.xgf run)
2016-04-17 08:20:27.321 INFO POI iterator needed 62ms. (org.nem.nis.pox.poi.PoiImportanceCalculator c)
2016-04-17 08:20:27.337 INFO block loading completed; height 516967 (org.nem.nis.service.BlockChainLastBlockLayer dX)
2016-04-17 08:20:27.400 WARNING auto-booting
... (org.nem.nis.NisMain a)
2016-04-17 08:20:27.446 INFO calculating trust values (org.nem.peer.trust.CachedTrustProvider a)
2016-04-17 08:20:27.462 INFO trust calculation finished (13 values) (org.nem.peer.trust.CachedTrustProvider a)
2016-04-17 08:20:27.634 INFO updating local node endpoint from to (org.nem.peer.services.LocalNodeEndpointUpdater a)
2016-04-17 08:20:27.681 INFO auto harvesting with '' -> 'FAILURE_UNKNOWN_ACCOUNT' (org.nem.nis.boot.HarvestAwareNetworkHostBootstrapper b)
2016-04-17 08:20:27.681 SEVERE something really bad happened: java.util.concurrent.CompletionException: java.lang.IllegalStateException: FAILURE_UNKNOWN_ACCOUNT (org.nem.nis.NisMain b)