vout and vin parsing from json added

master
moneroexamples 8 years ago
parent df57d2b203
commit 13f2505f88

@ -475,10 +475,21 @@ public:
string
index2(uint64_t page_no = 0, bool refresh_page = false)
{
//get current server timestamp
server_timestamp = std::time(nullptr);
// @TODO need to make this tx from _tx_info.tx_json
transaction tx;
if (!xmreg::make_tx_from_json(string{}, tx))
{
cerr << "Cant make tx from _tx_info.tx_json" << endl;
return string {"Cant make tx from _tx_info.tx_json"};
}
// number of last blocks to show
uint64_t no_of_last_blocks {25 + 1};

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save