- Generate POS blocks using RPC call 'generate'
- Allow generation of mixed POS/POW blocks
- Deterministic mn list skips the coinbase AND coinstake
- Set ION staking parameters 'staking', 'ionstake', 'reservebalance'
- Schedule staking thread that attempts a stake every 1 second
- Currently this thread is empty
- Opening a wallet for mixing now also opens the wallet for staking
- Add stakable coins as an option for selecting AvailableCoins
TODO:
- Time regular stake block generation ('staking=1' functionality)
- Take coinstake split parameter from config options (currently fixed and set to 2000 ION)
- Split difficulty algo for POS and POW in hybrid POS/POW
Update functions and parameters to enable correctly syncing ION testnet
- Update rewards schedule
- Disconnect() with checklevel 3 is memory-only, so (for now) only disconnect token transactions if they get reconnected in level 4
- Allow blocks with block.nTime >= prevblock.nTime (instead of >)
- Set different coinbase maturity for testnet, mainnet and regtest
- Set exception for testnet where three POW blocks use the POS difficulty function
- Separate DGW difficulty from DGW stake modifier for testnet
- Fix potential null pointer exception in avgRecentTimestamps()