The network seems to be pretty congested recently, and it takes a long time for node with fresh wallet to first join the network because it needs to wait for generate id txn to go through.
But the truth is, the network is far far far below from its capacity and is not congested at all, but just the free transactions are congested. Many people want to send txn for free, but each miner only allows a few (by default 4) txn below minimal txn fee (by default 0.1 NKN and subject to change later) per block. That’s why it takes so long for a free txn to be included into a block. Once we know the cause, the problem becomes very easy to solve.
When miner is building a block, he will include transaction with highest txn fee first. Because almost all txn has zero txn fee at the moment, putting a tiny amount of NKN (e.g. the minimal valid amount 10^-8 NKN) is enough to put your txn on top of the queue and thus be included into the block immediately. Here is the detailed steps:
- Upgrade to the latest version 1.0.8-beta (1.0.7-beta does not support this)
nknc wallet -l accountto view the address of your
wallet.json(NOT your beneficiary address)
- Transfer enough amount (txn fee you plan to use) of NKN to the address shown in above step. Note that you might also need to choose a nonzero txn fee for the transfer txn if it takes too long.
- In your
config.json, put a line as below, change the txn fee to the amount you want, and then starts nknd
config.json is in unit of
10^-8 NKN, so 1 above actually means 0.00000001 NKN as txn fee. You might need to use higher value if most people start to use same or higher txn fee as you do.
If everything works, your node should be able to join the network a few minutes after you starts nknd.