Impossible to generate the root block
Created by: b3j0f
Hi, I just created a new node, accessible from the http api, and I connected a new participant (not a member actually) from the sakia interface. Then, I tried to create a root block, and I got this error (I haven't got time to put a newcomer to add...):
lyst@lyst:~$ duniter gen-root
2016-08-27T10:24:49-04:00 - debug: Plugging file system...
2016-08-27T10:24:49-04:00 - debug: Loading conf...
2016-08-27T10:24:49-04:00 - debug: Loading crypto functions...
2016-08-27T10:24:49-04:00 - debug: Upgrade database...
? Newcomers to add: (Press <space> to select)
❯◯ b3j0f2016-08-27T10:24:49-04:00 - error: httpCode=400, ucode=2018, message=Wrong new block: cannot make a root block without members
2016-08-27T10:24:49-04:00 - error: Error: [object Object]
at Error (native)
at /opt/duniter/sources/app/cli.js:829:15
at process._tickCallback (node.js:412:9)
2016-08-27T10:24:49-04:00 - error: Error: [object Object]
at Error (native)
at /opt/duniter/sources/app/cli.js:829:15
at process._tickCallback (node.js:412:9)
Then, I tried to write the next block and the process is still running with this output...
2016-08-27T10:26:39-04:00 - debug: Plugging file system...
2016-08-27T10:26:40-04:00 - debug: Loading conf...
2016-08-27T10:26:40-04:00 - debug: Loading crypto functions...
2016-08-27T10:26:40-04:00 - debug: Upgrade database...
2016-08-27T10:26:40-04:00 - debug: Block to be sent: #0 (1 newcomers, 0 certifications)
2016-08-27T10:26:40-04:00 - info: Generating proof-of-work with NaN leading zeros followed by [0-undefined]... (CPU usage set to 60%)
2016-08-27T10:26:50-04:00 - info: Mesured max speed is ~106 tests/s. Proof will try with ~64 tests/s.
Did I miss something ? Or the command "gen-root" is became useless ?