Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Do Not Merge] Adding TX k-anonymity #289

Open
wants to merge 21 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,14 @@ main(int ac, const char* av[])
return r;
});

CROW_ROUTE(app, "/api/transaction/private/<string>")
([&](string tx_hash_postfix) {

myxmr::jsonresponse r{xmrblocks.json_transactions_private(remove_bad_chars(tx_hash_postfix))};

return r;
});

CROW_ROUTE(app, "/api/rawtransaction/<string>")
([&](string tx_hash) {

Expand Down Expand Up @@ -727,6 +735,7 @@ main(int ac, const char* av[])
return r;
});


CROW_ROUTE(app, "/api/mempool").methods("GET"_method)
([&](const crow::request &req) {

Expand Down
Loading