forked from Qortal/qortal
491e79b8e6
Unified terminology from block "generator", "forger", etc. to "minter" Unified terminology "proxy forger" to "reward share" as it was incorrect, or at least highly ambiguous, which account had which role. AccountRepository.findRewardShares() has different arg order! Account.canMint() now returns true if account has 'founder' flag set. Added Account.canRewardShare() which returns whether acocunt can create a reward-share (e.g. level 5+ or founder). Fixed HSQLDBAssetRepository.getAllAssets() which had incorrect resultSet column indexes. Removed old traces of EnableForging transaction. ACCOUNT_LEVEL and ACCOUNT_FLAGS (genesis-block-only transaction types) now set target account's last-reference. This is allow later REWARD_SHARE transactions in genesis block and post-genesis transactions by that account. REWARD_SHARE transactions are now FREE, but only if minter is also recipient. If a self-reward-share already exists, then unless share-percent is zero (to terminate reward-share), any subsequent self-reward-share is invalid. Updated SysTray i18n properties file. BlockChain config file requires 'minAccountLevelToRewardShare' and optional 'minAccountLevelToMint'. Added potential, but currently unused, memory-hard PoW algorithm. Fixed/removed/disabled some unit tests. BlockMinter.generateTestingBlock asks Controller to pretend mintingAccount is 'online'. More testing needed! |
||
---|---|---|
.. | ||
java/org | ||
resources |