{"action":"created","issue":{"url":"https://api.github.com/repos/BitcoinUnlimited/BitcoinUnlimited/issues/1144","repository_url":"https://api.github.com/repos/BitcoinUnlimited/BitcoinUnlimited","labels_url":"https://api.github.com/repos/BitcoinUnlimited/BitcoinUnlimited/issues/1144/labels{/name}","comments_url":"https://api.github.com/repos/BitcoinUnlimited/BitcoinUnlimited/issues/1144/comments","events_url":"https://api.github.com/repos/BitcoinUnlimited/BitcoinUnlimited/issues/1144/events","html_url":"https://github.com/BitcoinUnlimited/BitcoinUnlimited/issues/1144","id":332837720,"node_id":"MDU6SXNzdWUzMzI4Mzc3MjA=","number":1144,"title":"CVarInt does not always properly read/write negative numbers","user":{"login":"Greg-Griffith","id":8345264,"node_id":"MDQ6VXNlcjgzNDUyNjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8345264?v=4","gravatar_id":"","url":"https://api.github.com/users/Greg-Griffith","html_url":"https://github.com/Greg-Griffith","followers_url":"https://api.github.com/users/Greg-Griffith/followers","following_url":"https://api.github.com/users/Greg-Griffith/following{/other_user}","gists_url":"https://api.github.com/users/Greg-Griffith/gists{/gist_id}","starred_url":"https://api.github.com/users/Greg-Griffith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Greg-Griffith/subscriptions","organizations_url":"https://api.github.com/users/Greg-Griffith/orgs","repos_url":"https://api.github.com/users/Greg-Griffith/repos","events_url":"https://api.github.com/users/Greg-Griffith/events{/privacy}","received_events_url":"https://api.github.com/users/Greg-Griffith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-15T16:20:55Z","updated_at":"2018-06-16T15:28:51Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"when serializing a field to disk that is wrapped in VARINT has a fairly high chance of being mistakenly deserialized as its twos compliment. \r\n\r\nFor example, the following will serialize/deserialize as -1 a majority of the time but will occasionally be 127\r\n\r\nint var = -1\r\nREADWRITE(VARINT(var))\r\n\r\nit was tested using a set of 10.000 entries. "},"comment":{"url":"https://api.github.com/repos/BitcoinUnlimited/BitcoinUnlimited/issues/comments/397819682","html_url":"https://github.com/BitcoinUnlimited/BitcoinUnlimited/issues/1144#issuecomment-397819682","issue_url":"https://api.github.com/repos/BitcoinUnlimited/BitcoinUnlimited/issues/1144","id":397819682,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzgxOTY4Mg==","user":{"login":"Greg-Griffith","id":8345264,"node_id":"MDQ6VXNlcjgzNDUyNjQ=","avatar_url":"https://avatars1.githubusercontent.com/u/8345264?v=4","gravatar_id":"","url":"https://api.github.com/users/Greg-Griffith","html_url":"https://github.com/Greg-Griffith","followers_url":"https://api.github.com/users/Greg-Griffith/followers","following_url":"https://api.github.com/users/Greg-Griffith/following{/other_user}","gists_url":"https://api.github.com/users/Greg-Griffith/gists{/gist_id}","starred_url":"https://api.github.com/users/Greg-Griffith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Greg-Griffith/subscriptions","organizations_url":"https://api.github.com/users/Greg-Griffith/orgs","repos_url":"https://api.github.com/users/Greg-Griffith/repos","events_url":"https://api.github.com/users/Greg-Griffith/events{/privacy}","received_events_url":"https://api.github.com/users/Greg-Griffith/received_events","type":"User","site_admin":false},"created_at":"2018-06-16T15:28:51Z","updated_at":"2018-06-16T15:28:51Z","author_association":"CONTRIBUTOR","body":"this issue is the same as https://github.com/bitcoin/bitcoin/pull/9753"}}
{"actor":{"display_login":"Greg-Griffith"}}