Offline Transaction Signing (OTS) 0.1.0
Loading...
Searching...
No Matches
ots-internal.hpp File Reference

Internal declarations for library. More...

#include "ots.hpp"
#include "data.hpp"
#include <memwipe.h>
#include <int-util.h>
#include <cryptonote_basic/cryptonote_basic.h>
Include dependency graph for ots-internal.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ots::ZeroizeReferenceCopy< T >
 A class to handle a reference copy of a value and zeroize it on destruction. More...
 

Namespaces

namespace  ots
 The library exists complete only in this namespace.
 

Functions

cryptonote::network_type ots::cryptonoteNetwork (Network network) noexcept
 Converts the network type from the library network type to cryptonote network type.
 
std::vector< std::string > ots::splitString (const std::string &input, const std::string &separator="", size_t fixedWidth=4)
 Converts a string by a separator or fixed 4 char width.
 
SeedIndices ots::seedIndices (const unsigned char *bytes, size_t byte_length, size_t word_list_length=1626, size_t bytes_per_chunk=4, size_t words_per_chunk=3)
 Returns the indices of a seed phrase.
 
template<size_t byte_count>
std::array< unsigned char, byte_count > 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)
 
const ots::data::NetworkDataots::getNetworkData (Network network)
 

Variables

const std::map< Network, ots::data::NetworkDataots::NETWORK_DATA_MAP
 

Detailed Description

Internal declarations for library.

See also
ots.cpp for implementations