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

Extend the ListTransaction api to support queries to "watch only" wallets #1368

Closed

Conversation

zmanian
Copy link

@zmanian zmanian commented Dec 28, 2018

The ListTransactions api doesn't support any methods where including watch only wallets are set to true. This PR adds an api call with that option.

return c.sendCmd(cmd)
}

// ListTransactionsCountFromWatchOnly returns a list of the most recent transactions up
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All columns should be wrapped to 80 characters.

@jakesylvestre
Copy link
Collaborator

@jcvernaleo (as per #1530)

  • Low priority
  • Enhancement

// to the passed count while skipping the first 'from' transactions including transactions from "watch only" wallets.
//
// See the ListTransactions and ListTransactionsCount functions to use defaults.
func (c *Client) ListTransactionsCountFromWatchOnly(account string, count, from int) ([]btcjson.ListTransactionsResult, error) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the signature should include the bool to be consistent with other commands we implement which have optional bools.

@Rjected
Copy link
Collaborator

Rjected commented Jun 8, 2020

also, duplicate of #1505 and #1163 ?

@jcvernaleo
Copy link
Member

Done with #1628

@jcvernaleo jcvernaleo closed this Sep 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants