ring members output info as hex added

This commit is contained in:
moneroexamples 2018-08-22 14:44:50 +08:00
parent 8c8a42656c
commit 2b78eb4ef1
3 changed files with 5690 additions and 5593 deletions

View File

@ -321,6 +321,11 @@ main(int ac, const char* av[])
return crow::response(xmrblocks.show_tx_hex(remove_bad_chars(tx_hash)));
});
CROW_ROUTE(app, "/ringmembershex/<string>")
([&](string tx_hash) {
return crow::response(xmrblocks.show_ringmembers_hex(remove_bad_chars(tx_hash)));
});
CROW_ROUTE(app, "/blockhex/<uint>")
([&](size_t block_height) {
return crow::response(xmrblocks.show_block_hex(block_height, false));

11277
src/page.h

File diff suppressed because it is too large Load Diff

View File

@ -535,6 +535,7 @@
<a href="/tx/{{tx_hash}}/1">More details</a>
{{#enable_as_hex}}
| <a href="/txhex/{{tx_hash}}">Tx as hex</a>
| <a href="/ringmembershex/{{tx_hash}}">Tx ring members as hex</a>
{{/enable_as_hex}}
</h5>
{{/show_more_details_link}}