Browse Source

TODO

cl-refactor
Gav Wood 11 years ago
parent
commit
f4f6230e5d
  1. 30
      TODO

30
TODO

@ -1,7 +1,20 @@
### UP FOR GRABS ### UP FOR GRABS
Tests For PoC-4:
- Use standard tests.
GUI
- Make address/block chain list model-based, JIT populated.
- Make everything else model-based
- Qt/QML class.
Robustness
- Store version alongside BC DB. Kill old DBs when protocol different. Remove block chain on protocol change (i.e. store protocol with block chain).
Cleanups & caching
- All caches should flush unused data (I'm looking at you, BlockChain) to avoid memory overload.
Generally:
Crypto stuff: Crypto stuff:
- kFromMessage - kFromMessage
@ -21,7 +34,6 @@ Network:
- Ignore transactions with future nonces until address's nonce changes. - Ignore transactions with future nonces until address's nonce changes.
Cleanups & caching Cleanups & caching
- All caches should flush unused data (I'm looking at you, BlockChain) to avoid memory overload.
- State DB should keep only last few N blocks worth of nodes (except for restore points - configurable, defaults to every 30000th block - all blocks that are restore points should be stored so their stateRoots are known good). - State DB should keep only last few N blocks worth of nodes (except for restore points - configurable, defaults to every 30000th block - all blocks that are restore points should be stored so their stateRoots are known good).
THREAD-SAFETY THREAD-SAFETY
@ -32,29 +44,19 @@ THREAD-SAFETY
General: General:
- Better logging. - Better logging.
- Colours. - Colours.
- Move over to new system. - Move over to new system.
- Remove block chain on protocol change (i.e. store protocol with block chain).
Robustness Robustness
- Remove aborts - Remove aborts
- Recover from all exceptions. - Recover from all exceptions.
- Especially RLP & other I/O. - Especially RLP & other I/O.
- RLP should never assert; only throw. - RLP should never assert; only throw.
- Store version alongside BC DB.
- Better handling of corrupt blocks. - Better handling of corrupt blocks.
- Kill DB & restart. - Kill DB & restart.
GUI: GUI:
- Turn on/off debug channels. - Turn on/off debug channels.
For PoC-4:
GUI
- Make address/block chain list model-based, JIT populated.
- Make everything else model-based
- Qt/QML class.
Kill old DBs when protocol different.
### Marko ### Marko

Loading…
Cancel
Save