diff --git a/TODO b/TODO new file mode 100644 index 000000000..d59112a69 --- /dev/null +++ b/TODO @@ -0,0 +1,24 @@ +Tests +- Use standard tests. + +Config file & command line options. + +Peer network. + +Trie on DB. +- Modularise overlay and DB. +- Iterate. +- Kill all the restore point stuff. + +Cache some state +- Contract memory, balances - for single commit into Trie. + +Better handling of corrupt blocks. + +Stateful Miner class. + +Better Mod-Exp. + +Crypto stuff: +- kFromMessage +- Check all the tweak instructions. diff --git a/libethereum/RLP.h b/libethereum/RLP.h index 6399206ae..3883aadb2 100644 --- a/libethereum/RLP.h +++ b/libethereum/RLP.h @@ -58,7 +58,7 @@ public: explicit RLP(bytesConstRef _d): m_data(_d) {} /// Construct a node of value given in the bytes. - explicit RLP(bytes const& _d): m_data(const_cast(&_d)) {} // a bit horrible, but we know we won't be altering the data. TODO: allow vector const* to be passed to vector_ref. + explicit RLP(bytes const& _d): m_data(&_d) {} /// Construct a node to read RLP data in the bytes given. RLP(byte const* _b, uint _s): m_data(bytesConstRef(_b, _s)) {}