{"action":"created","issue":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/285","labels_url":"https://api.github.com/repos/btcsuite/btcd/issues/285/labels{/name}","comments_url":"https://api.github.com/repos/btcsuite/btcd/issues/285/comments","events_url":"https://api.github.com/repos/btcsuite/btcd/issues/285/events","html_url":"https://github.com/btcsuite/btcd/pull/285","id":56859398,"number":285,"title":"[btcec] Consistency and general cleanup in btcec. ","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-06T19:53:27Z","updated_at":"2015-02-06T22:56:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/btcsuite/btcd/pulls/285","html_url":"https://github.com/btcsuite/btcd/pull/285","diff_url":"https://github.com/btcsuite/btcd/pull/285.diff","patch_url":"https://github.com/btcsuite/btcd/pull/285.patch"},"body":"This pull request contains various modifications for code and comment consistency in the btcec package:\r\n- Call out references at the top and reference them by their identifier in the other comments\r\n- Remove a TODO that no longer applies\r\n- Add comments to the fields in the KoblitzCurve struct and reorder them slightly\r\n- Make comments wrap to 80\r\n- Cleanup code that was far exceeding col 80 (only function declarations typically do this)\r\n- Extend block comments to use as much of the 80 cols as available\r\n- Add a bit more explanation in a couple of places\r\n- Update copyright year on secp256k1.go\r\n- Fix a couple of typos in the comments"},"comment":{"url":"https://api.github.com/repos/btcsuite/btcd/issues/comments/73328779","html_url":"https://github.com/btcsuite/btcd/pull/285#issuecomment-73328779","issue_url":"https://api.github.com/repos/btcsuite/btcd/issues/285","id":73328779,"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-02-06T22:56:49Z","updated_at":"2015-02-06T22:56:49Z","body":"The size depends on the curve, so I'd rather it be a field on the curve.  I know the package is a bit too secp256k1-centric at the moment, but I'd prefer not to push it further that direction."}}