std::string pretty(const transaction_input_type& input) { std::ostringstream ss; ss << "\thash = " << encode_hash(input.previous_output.hash) << "\n" << "\tindex = " << input.previous_output.index << "\n" << "\t" << input.script << "\n" << "\tsequence = " << input.sequence << "\n"; return ss.str(); }
std::string point::to_string() const { std::ostringstream value; value << "\thash = " << encode_hash(hash) << "\n" << "\tindex = " << index; return value.str(); }