Automate new blocks' creation events
For now, new blocks are manually generated using ucoin gen-*
commands:
-
ucoin gen-newcomers-auto
: make a block with newcomers' data only (identity + certifications + join) -
ucoin gen-newcomers
: same as above, but with manual selection of newcomers -
ucoin gen-updates
: make a block with members' data only (certifications) -
ucoin gen-next
make bothgen-newcomers
&gen-updates
at the same time
First, the idea would be to make ucoin able to create a new block without asking for salt+password, by storing them in config parameters.
Second, it would be to allow the software to launch ucoin gen-next
by itself, on some events like:
- New data received (join, certifications, transactions, ...)
- No block received since last
delay
minutes