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))); 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>") CROW_ROUTE(app, "/blockhex/<uint>")
([&](size_t block_height) { ([&](size_t block_height) {
return crow::response(xmrblocks.show_block_hex(block_height, false)); return crow::response(xmrblocks.show_block_hex(block_height, false));

11275
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> <a href="/tx/{{tx_hash}}/1">More details</a>
{{#enable_as_hex}} {{#enable_as_hex}}
| <a href="/txhex/{{tx_hash}}">Tx as hex</a> | <a href="/txhex/{{tx_hash}}">Tx as hex</a>
| <a href="/ringmembershex/{{tx_hash}}">Tx ring members as hex</a>
{{/enable_as_hex}} {{/enable_as_hex}}
</h5> </h5>
{{/show_more_details_link}} {{/show_more_details_link}}