vout and vin parsing from json added
This commit is contained in:
parent
df57d2b203
commit
13f2505f88
13
src/page.h
13
src/page.h
|
@ -475,10 +475,21 @@ public:
|
||||||
string
|
string
|
||||||
index2(uint64_t page_no = 0, bool refresh_page = false)
|
index2(uint64_t page_no = 0, bool refresh_page = false)
|
||||||
{
|
{
|
||||||
|
|
||||||
//get current server timestamp
|
//get current server timestamp
|
||||||
server_timestamp = std::time(nullptr);
|
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
|
// number of last blocks to show
|
||||||
uint64_t no_of_last_blocks {25 + 1};
|
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 New Issue