forked from Qortal/qortal
0dd5b1e65a
Block data now includes number of online accounts, as encoded online account indexes can't be validated by ConciseSet it seems. Corresponding changes to repository, transformer, block validation, data object, block summaries... Block timestamps are now calculated using parent block data and generator's public key, instead of old qora1 generating balance code. Generators are valid to forge if they have forging flag enabled. This will probably change to an account-level check in the near future. Added trimming of old online accounts signatures from blocks. Tidied up SysTray/BlockGenerator generation enabled/possible flag. Although we perform online accounts tasks (currently) every 10 seconds, only broadcast our online accounts every 60 seconds. In Controller.main(), if args are present then use first as a filename to settings JSON file (overriding the default filename). Still to do: change Block/BlockChain/Synchronizer to prefer blocks with more online accounts, failing that use generator nearest 'ideal', etc. |
||
---|---|---|
.. | ||
main | ||
test |