Offline Transaction Signing (OTS) 0.1.0
Loading...
Searching...
No Matches
Todo List
File data.hpp
TODO: should search directly in monero source to collect the data from there
Namespace ots
Think about reimplementation of polyseed library
Member ots::Account::importOutputs (const std::tuple< uint64_t, uint64_t, std::vector< exported_transfer_details > > &outputs)
TODO: clarify the tuple format
Member ots::Account::importOutputs (const std::tuple< uint64_t, uint64_t, std::vector< transfer_details > > &outputs)
TODO: clarify the tuple format
Member ots::Account::importOutputs (const std::string &outputs)
TODO: continue here to make it work
Member ots::injectPolyseedDependency ()
TODO: holy clusterfuck, I really dislike using the polyseed lib as is
Member ots::LegacySeed::decode (const SeedIndices &indices, uint64_t height=0, uint64_t time=0, Network network=Network::MAIN)
TODO: should use a protected constructor LegacySeed(const char* data, uint64_t height, uint64_t time, Network network) to avoid code duplication
Member ots::OTS::verifyData (const std::string &data, const std::string &address, const std::string &signature, bool legacyFallback=false)
TODO: not sure if better in Wallet only or move here, or keep alias. How verification is not wallet dependent, maybe a user would search here. On the other hand, if he user uses Wallet to sign data, probably he would search in Wallet for the verification.
Member ots::Polyseed::create (const std::array< unsigned char, 19 > &random, Network network=Network::MAIN, uint64_t time=0, const std::string &passphrase="")
Maybe a PR with a refactoring of tevador/polyseed in the future and if accepted refactor here again, too.
Member ots::seedBytes (const SeedIndices &indices, const size_t word_list_length=1626, const size_t bytes_per_chunk=4, const size_t words_per_chunk=3)

TODO: documentation missing

TODO: documentation missing

Class ots::SeedJar
check if not better include in OTS
Class ots::TxDescription
Figure out how to best structure - must be done during actual implementation
Class ots::TxWarning
Figure out how to best offer this kind of warnings (i18n?)
File seed-polyseed.cpp
Refactor, the private header file use of polyseed is ugly, the dependency injection is ugly, too.