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

Transaction list command with the -k and -n flag #46

Closed
buhtignew opened this issue Mar 5, 2024 · 8 comments
Closed

Transaction list command with the -k and -n flag #46

buhtignew opened this issue Mar 5, 2024 · 8 comments
Labels
anomaly If something works not as expected enhancement New feature or request

Comments

@buhtignew
Copy link
Collaborator

I've run transaction list -n -k and got the same output of transaction list -n.

The -k flag description states as following: Use an address/label stored in the keyring, but are there addresses that are specifically stored in the keyring? I thought only the labels where. Maybe we should edit it into Use a label stored in the keyring?

_
Also output of the transaction list [ADDRESS] -n is the same as that of transaction list -n.

@buhtignew buhtignew added enhancement New feature or request anomaly If something works not as expected labels Mar 5, 2024
@d5000
Copy link

d5000 commented Mar 5, 2024

The -k flag description states as following: Use an address/label stored in the keyring, but are there addresses that are specifically stored in the keyring? I thought only the labels where. Maybe we should edit it into Use a label stored in the keyring?

There can be addresses which are stored only in the keyring, not in the wallet, so the flag description is correct. But I think I get what you mean so I changed it into "a label of an address stored in the keyring". Will be uploaded in the next substantial commit.

Also output of the transaction list [ADDRESS] -n is the same as that of transaction list -n.

ADDRESS is not mentioned in the help string for this option so I see no need to change anything.

I'm closing.

@d5000 d5000 closed this as completed Mar 5, 2024
@buhtignew
Copy link
Collaborator Author

What I was wondering here is that at the moment I have only 3 named transaction, but what if I had hundreds of them?
Wouldn't it make sense to have them sorted by the relative address as well?

@buhtignew buhtignew reopened this Mar 6, 2024
@d5000
Copy link

d5000 commented Mar 6, 2024

I think you meant sorting by label. Yes, that makes sense. I've just implemented that for all lists of this type. Commit: 32938f3

(Can be closed.)

@buhtignew
Copy link
Collaborator Author

I think I've formulated it wrong.
Instead of "sorting" I meant to have the possibility to output the transaction label that corresponds to an address.
We are already outputting transactions of an address, should someone have hundreds of labeled transactions would it have sense to output those of a specific address only?

@d5000
Copy link

d5000 commented Mar 7, 2024

Why should you label hundreds of transactions?
As I wrote in issue #50, I'm not accepting feature requests anymore unless for very good reasons, if the DEX is concerned, or very small changes :) This is not such a small change, and it would only be of use of extreme power users. I have no time to lose for niche requests, sorry.

@buhtignew
Copy link
Collaborator Author

Agreed.

@buhtignew
Copy link
Collaborator Author

If we see that it's necessary we can implement it later on, can't we?

@d5000
Copy link

d5000 commented Mar 8, 2024

Of course. I'm closing this, reopen if there are open questions to the command.

@d5000 d5000 closed this as completed Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
anomaly If something works not as expected enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants