-
Notifications
You must be signed in to change notification settings - Fork 269
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
base: devel
Are you sure you want to change the base?
Conversation
Long strings without spaces don't get wrapped and will result in the text overflowing outside of the cell and messing up the structure of the page. See for example [the tx_extra field in this transaction](https://xmrchain.net/search?value=1ecce7898a4e1c7334241c834ba4866d6b511ee896c318b3445aea1cc926e40f). This small patch makes long text wrap inside the given limit, which would be otherwise "ignored".
css: fix overflowing text in cells
k-anonymity for transactions now works however performance needs to improve. It takes 35 seconds to return 825 transactions on a somewhat resource limited virtual machine. @moneroexamples do you have any ideas? Maybe batching transactions? |
Thanks. Sorry, at the moment I do not know how to improve its performance. |
I made some performance improvements which got the time down to 3 seconds to request 647 transactions. However, the use of get_transactions() requires the node RPC not be in restricted mode, or else only 100 transactions can be returned. |
I made some additional performance improvements which got the time down to 0.5 seconds to request 647 transactions and 16 seconds for 10,000 txs. Adding threading helped a lot when > 1000 transactions are requested. These numbers are also from a low resource VM, I will test it on a high performance server soon. I suggest you run the daemon with the following flags to prevent LMDB max reader errors. |
Added
/api/transaction/private/<TXID postfix hash>
to the block explorer API so users can request transaction information in a private way.Related to #284