forked from Qortal/qortal
09ffd6fe6b
These changes are for allowing devices to be shipped with an interim blockchain config & genesis block, running with "main-net" settings, prior to launch. At launch, an "auto-update" will be broadcast to replace blockchain config & genesis block with the final, launch version. When updated nodes restart (immediately after auto-update) they should notice their existing genesis blocks are invalid and hence wipe their blockchains, effectively starting the final, launch blockchain. To this end, genesis block signatures have been changed to better incorporate values that are likely to change at launch, e.g. block timestamp and transaction data. Added Crypto.dupDigest(), which is effectively Bytes.concat(digest(msg), digest(msg)). No need for HSQLDB repository to backup, or wipe, non-existent files for "in-memory" databases! New interim blockchain config/genesis block. **NOTE** These changes are being committed but require testing. However the auto-update suite requires a pushed commit in order to build an update file! |
||
---|---|---|
.. | ||
org |