Security Enhancement: Adjusting Fees for Generate ID

that is wishful thinking. don’t see how millions of people would do that unless there was a real benefit to them and if there are millions of people doing it not sure if there would be really good rewards for them to continue to do it. VPS nodes mixed with home setups are the way to go long term. unless the rewards are like helium where it really rewards one personal hotspot at their home, then not sure if millions of people would do for 11nkn… let’s see what happens…

1 Like

Would be ideal if somehow you guys could do something similar to helium where a home can use a specific router/gateway/raspberry PI that can only be purchased through an authorized vendor for nkn where that gateway has a unique license key that enables the home to mine NKN and also increase the rewards for those new gateways/nodes. that would ultimately reduce the centralization of VPNs and help increase the decentralization of the network since alot of people would buy it and run it at their home for good rewards. removing DIY nodes and providing a specific gateway/router/PI that can only mine NKN would interesting and possible. keeping an option for a DIY gateway would be good too I guess, but if you are looking for mass adoption I think this might be good. This might be too much at this stage since this project still is in the early stages but definitely agree with you that it would be awesome to get more people to do it from their home, but for low rewards not sure if that will happen and the issue with not being able to swap your coin is really not good. the real coin is the ERC20 coin. if you can’t sell a coin it has no value, but I know you guys are working on that. also making it easier for somebody to mine from home would help too like having a chrome extension setup that automatically shares part of your internet and shows you how much you have contributed and how much you are making would work… (not sure if that is possible) just a crazy idea.

1 Like

We also have to think about the community of miners and the rewards. Because in my opinion this is the basis of the network.
Otherwise, I did not understand how 1 vps can make currently 10x gain?

I agree with you.
I heard about Nkn in a helium group a week ago, and since then I’ve been researching this corner.
Creating a gadget for like helium is an idea, I propose something else that can really make Nkn explode. A homemade gadget + installation of a specific Nkn driver and some customizations and that’s it. To avoid the current stock shortage at helium…

2 Likes

that works too.

What is the change of the new id? Is it a new field or the previous id field? On nstatus.org, how can I make sure that the node has been upgraded to the new id?

1 Like

How to setup node ZERO?

  • Suppose I’m totally new to nkn community and wanna to setup the very first node, node ZERO.
  • How could I get the very first 10 NKN from scratch?
  • Do we have a tutorial on it?

Perhaps there are supporters, but I am convinced that there are very few of them.
That is why you did not vote, because you know that most will be opposed. Of course, even the brood idea itself will have supporters, but how many of them are there? 1, 2, 5%?

By the way, I completely agree with you that there is a group of people who began to make a huge number of nodes and get 51% of the network and even more!

These fights came in March and started creating 3000 nodes every day. It was stupid. They are very stupid!

But I am still in favor of coin hold. I don’t like the idea of ​​giving away coins. It just isn’t right.

I do not argue, the network needs to be protected from such idiots. But taking coins from the community is not the right way!

Currently a NKN node can be run on a raspberry pi, a open wrt router, a home NAS device and more. I agree that having some hardware with NKN node built in would be super cool.

Also IMO a mining pool might solve most of the issues today when trying to run NKN node at home: nodes in pool get more smoothed payout, which is much more friendly to single node runner. The payout can even be in ERC-20 token to avoid swap issue.

It’s still the previous id field but with a new version. I don’t think nstatus shows id version, but there are a few ways:

  • If you see another generate ID in your node pubkey on nscan, it’s having a new ID
  • If your node continue to run after block 2,600,000 then it has a new ID

We do like vote, but it is a privilege for the peaceful time. When an attacker is already in your home with a weapon, you won’t have time to do a family vote :slight_smile:. In our case we only have a few hours to respond, work on the new version, and roll it out before any actual damage is done, using all the feedbacks we have collected in fee/staking related discussion. Generate ID fee is considered the best option so far because it achieves highest security with minimal amount of token, so we can have strong security and not asking miners to invest in hundreds of or thousands of dollars. And it’s the only option that the foundation can pay for all current miners so they don’t need to pay anything extra. With the staking option, all current miners need to pay a lot immediately, and I can assure you that there will be a much LOUDER voice against it :joy:

I still don’t agree this is “taking coins from the community”. Think of it this way: mining is basically a lottery (if we assume everyone has the same Internet). Previously anyone can get the lottery ticket for free when relay a message. Now the new mechanism is that, in order to get tickets, one needs to pay 10 NKN to register, all the token paid will enter the lottery pool to increase the prize amount. That is actually a quite common mechanism that has been using for hundreds of years.

Try swap.nkn.org and swap from ERC-20 token, ERC->mainnet is basically always open.

We are also trying to come up with a plan that can help new miners joining more easily.

Is it safe now to deploy new node?

Yes if you have mainnet token to generate new ID

new node seems get stuck at this line and no log is write to file

Apr 27 05:14:17 xh.c.hons.cloud bash[31609]: 2021/04/27 05:14:17.305502 [INFO ] GID 1, CreateID got resp: {"id":"1","jsonrpc":"2.0","result":"8df2d23a49087d49754f01516c949864c79cd9d9a2047d6c6c605cc0a2"} from http://mainnet-seed-0002.nkn.org:30003

Response from other seed says no id found, but 10NKN is deducted from account to generate ID

Apr 27 05:20:01 xh.c.hoens.cloud bash[31609]: 2021/04/27 05:20:01.831504 [INFO ] GID 1, GetID got resp: {"error":{"code":-45022,"data":null,"message":"No ID in this account, waiting for generate ID fee or generate ID transaction"},"id":"1","jsonrpc":"2.0"} from http://mainnet-seed-0012.nkn.org:30003

Then restart nknd and got it in log

Apr 27 05:23:41 xeh.c.hostens.cloud bash[31774]: 2021/04/27 05:23:41.798986 [INFO ] GID 1, CreateID got resp: {"error":{"code":-45021,"data":"not sufficient funds","message":"INTERNAL ERROR, can not append tx to txpool"},"id":"1","jsonrpc":"2.0"} from http://mainnet-seed-0004.nkn.org:30003
Apr 27 05:23:41 xh.c.hosens.cloud bash[31774]: 2021/04/27 05:23:41.800151 [WARN ] GID 1, create ID from http://mainnet-seed-0004.nkn.org:30003 error: CreateID(http://mainnet-seed-0004.nkn.org:30003) resp error: {"error":{"code":-45021,"data":"not sufficient funds","message":"INTERNAL ERROR, can not append tx to txpool"},"id":"1","jsonrpc":"2.0"}
Apr 27 05:23:42 xh.c.hotens.cloud bash[31774]: 2021/04/27 05:23:42.030818 [INFO ] GID 1, GetNonceByAddr got resp: {"id":"1","jsonrpc":"2.0","result":{"currentHeight":2571975,"nonce":0,"nonceInTxPool":0}} from http://mainnet-seed-0017.nkn.org:30003
Apr 27 05:23:42 xh.c.hstens.cloud bash[31774]: 2021/04/27 05:23:42.262061 [INFO ] GID 1, CreateID got resp: {"error":{"code":-45021,"data":"not sufficient funds","message":"INTERNAL ERROR, can not append tx to txpool"},"id":"1","jsonrpc":"2.0"} from http://mainnet-seed-0017.nkn.org:30003
Apr 27 05:23:42 xh.c.hotens.cloud bash[31774]: 2021/04/27 05:23:42.265967 [WARN ] GID 1, create ID from http://mainnet-seed-0017.nkn.org:30003 error: CreateID(http://mainnet-seed-0017.nkn.org:30003) resp error: {"error":{"code":-45021,"data":"not sufficient funds","message":"INTERNAL ERROR, can not append tx to txpool"},"id":"1","jsonrpc":"2.0"}
Apr 27 05:23:42 xeh.c.hostens.cloud bash[31774]: 2021/04/27 05:23:42.616073 [INFO ] GID 1, GetNonceByAddr got resp: {"id":"1","jsonrpc":"2.0","result":{"currentHeight":2571975,"nonce":0,"nonceInTxPool":0}} from http://mainnet-seed-0040.nkn.org:30003
Apr 27 05:23:42 xh.c.hstens.cloud bash[31774]: 2021/04/27 05:23:42.959118 [INFO ] GID 1, CreateID got resp: {"error":{"code":-45021,"data":"not sufficient funds","message":"INTERNAL ERROR, can not append tx to txpool"},"id":"1","jsonrpc":"2.0"} from http://mainnet-seed-0040.nkn.org:30003
Apr 27 05:23:42 xh.c.hstens.cloud bash[31774]: 2021/04/27 05:23:42.960666 [WARN ] GID 1, create ID from http://mainnet-seed-0040.nkn.org:30003 error: CreateID(http://mainnet-seed-0040.nkn.org:30003) resp error: {"error":{"code":-45021,"data":"not sufficient funds","message":"INTERNAL ERROR, can not append tx to txpool"},"id":"1","jsonrpc":"2.0"}
Apr 27 05:23:43 xh.c.hstens.cloud bash[31774]: 2021/04/27 05:23:43.306706 [INFO ] GID 1, GetNonceByAddr got resp: {"id":"1","jsonrpc":"2.0","result":{"currentHeight":2571880,"nonce":0,"nonceInTxPool":1}} from http://mainnet-seed-0010.nkn.org:30003
Apr 27 05:23:43 xh.c.hstens.cloud bash[31774]: 2021/04/27 05:23:43.656494 [INFO ] GID 1, CreateID got resp: {"error":{"code":-1,"data":"duplicate GenerateID txns","message":"INTERNAL ERROR, Duplicate transaction"},"id":"1","jsonrpc":"2.0"} from http://mainnet-seed-0010.nkn.org:30003

seems like 10NKN is gone forever…

Duplicate transaction means transaction is already in txpool, so you just need to wait for a couple minutes.

What do you mean about " IMO a mining pool " and the “The payout can even be in ERC-20 token” ?
Could you describe it more percific ?

IMO means “in my opinion”.

“The payout can even be in ERC-20 token” this means the mining pool payout token could be different from mined token. Like many mining pool mine token X, but pays out in token Y (could be BTC, ETH, USDT, NKN ERC-20 token, or even your own token).

Thank you for the reply,How to build a nkn mining pool?

I don’t know how to build it… I just think it will be useful to small miners. :joy: