mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
vout and vin parsing from json added
This commit is contained in:
parent
df57d2b203
commit
13f2505f88
2 changed files with 210 additions and 2 deletions
13
src/page.h
13
src/page.h
|
@ -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};
|
||||
|
||||
|
|
199
src/tools.cpp
199
src/tools.cpp
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue