{"action":"created","issue":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/495","labels_url":"https://api.github.com/repos/btcsuite/btcd/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/btcsuite/btcd/issues/495/comments","events_url":"https://api.github.com/repos/btcsuite/btcd/issues/495/events","html_url":"https://github.com/btcsuite/btcd/pull/495","id":104035472,"number":495,"title":"Fix skip not being applied to mempool txns in searchrawtransactions","user":{"login":"Dirbaio","id":1247578,"avatar_url":"https://avatars.githubusercontent.com/u/1247578?v=3","gravatar_id":"","url":"https://api.github.com/users/Dirbaio","html_url":"https://github.com/Dirbaio","followers_url":"https://api.github.com/users/Dirbaio/followers","following_url":"https://api.github.com/users/Dirbaio/following{/other_user}","gists_url":"https://api.github.com/users/Dirbaio/gists{/gist_id}","starred_url":"https://api.github.com/users/Dirbaio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dirbaio/subscriptions","organizations_url":"https://api.github.com/users/Dirbaio/orgs","repos_url":"https://api.github.com/users/Dirbaio/repos","events_url":"https://api.github.com/users/Dirbaio/events{/privacy}","received_events_url":"https://api.github.com/users/Dirbaio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-31T11:30:16Z","updated_at":"2015-09-08T02:44:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/btcsuite/btcd/pulls/495","html_url":"https://github.com/btcsuite/btcd/pull/495","diff_url":"https://github.com/btcsuite/btcd/pull/495.diff","patch_url":"https://github.com/btcsuite/btcd/pull/495.patch"},"body":"Currently, skip is not being applied properly to mempool transactions in searchrawtransactions. This PR fixes that.\r\n\r\nI had to change FetchTxsForAddr to additionally return the number of transactions skipped, to properly calculate how many transactions in mempool to skip. (For example, if FetchTxsForAddr returns an empty array, I need to know whether there was no transactions at all, or there were some but they were all skipped)."},"comment":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/comments/138415304","html_url":"https://github.com/btcsuite/btcd/pull/495#issuecomment-138415304","issue_url":"https://api.github.com/repos/btcsuite/btcd/issues/495","id":138415304,"user":{"login":"davecgh","id":2115102,"avatar_url":"https://avatars.githubusercontent.com/u/2115102?v=3","gravatar_id":"","url":"https://api.github.com/users/davecgh","html_url":"https://github.com/davecgh","followers_url":"https://api.github.com/users/davecgh/followers","following_url":"https://api.github.com/users/davecgh/following{/other_user}","gists_url":"https://api.github.com/users/davecgh/gists{/gist_id}","starred_url":"https://api.github.com/users/davecgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecgh/subscriptions","organizations_url":"https://api.github.com/users/davecgh/orgs","repos_url":"https://api.github.com/users/davecgh/repos","events_url":"https://api.github.com/users/davecgh/events{/privacy}","received_events_url":"https://api.github.com/users/davecgh/received_events","type":"User","site_admin":false},"created_at":"2015-09-08T02:44:14Z","updated_at":"2015-09-08T02:44:14Z","body":"@Dirbaio: Can you please [rebase](https://gist.github.com/davecgh/04cb601a147f8c831ca5#rebasing-one-of-your-existing-pull-requests) this to the latest master.  I'll merge it once that's done."}}