{"action":"created","issue":{"url":"https://api.github.com/repos/PascalCoin/PascalCoin/issues/152","repository_url":"https://api.github.com/repos/PascalCoin/PascalCoin","labels_url":"https://api.github.com/repos/PascalCoin/PascalCoin/issues/152/labels{/name}","comments_url":"https://api.github.com/repos/PascalCoin/PascalCoin/issues/152/comments","events_url":"https://api.github.com/repos/PascalCoin/PascalCoin/issues/152/events","html_url":"https://github.com/PascalCoin/PascalCoin/issues/152","id":366794141,"node_id":"MDU6SXNzdWUzNjY3OTQxNDE=","number":152,"title":"Upgrade bug from protocol 1 to 2 or 2 to 3 during testing.","user":{"login":"DelphiniumCoin","id":43813840,"node_id":"MDQ6VXNlcjQzODEzODQw","avatar_url":"https://avatars3.githubusercontent.com/u/43813840?v=4","gravatar_id":"","url":"https://api.github.com/users/DelphiniumCoin","html_url":"https://github.com/DelphiniumCoin","followers_url":"https://api.github.com/users/DelphiniumCoin/followers","following_url":"https://api.github.com/users/DelphiniumCoin/following{/other_user}","gists_url":"https://api.github.com/users/DelphiniumCoin/gists{/gist_id}","starred_url":"https://api.github.com/users/DelphiniumCoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DelphiniumCoin/subscriptions","organizations_url":"https://api.github.com/users/DelphiniumCoin/orgs","repos_url":"https://api.github.com/users/DelphiniumCoin/repos","events_url":"https://api.github.com/users/DelphiniumCoin/events{/privacy}","received_events_url":"https://api.github.com/users/DelphiniumCoin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-04T13:37:33Z","updated_at":"2018-10-07T11:52:43Z","closed_at":null,"author_association":"NONE","body":"While testing with following settings (testing production settings, locally):\r\n\r\n  CT_BankToDiskEveryNBlocks = {$IFDEF PRODUCTION}10{$ELSE}10{$ENDIF}; // Build 1.5 changed from 500 to 100;\r\n\r\n\r\n  CT_Protocol_Upgrade_v2_MinBlock = {$IFDEF PRODUCTION}20{$ELSE}50{$ENDIF};\r\n  CT_Protocol_Upgrade_v3_MinBlock = {$IFDEF PRODUCTION}30{$ELSE}250{$ENDIF};\r\n\r\nThis error is produced when a new client comes online and tries to download the first 33 blocks:\r\n\r\n Reason: Invalid received chunk: Invalid received chunk based on call: Blockscount:20 20 - from:0 0 to 19 19 \r\n\r\nThis is precisely the block where a protocol change happens from 1 to 2 or 2 to 3, not sure which, probably 2 to 3.\r\n\r\nSo seems like some upgrade bug for new clients."},"comment":{"url":"https://api.github.com/repos/PascalCoin/PascalCoin/issues/comments/427647342","html_url":"https://github.com/PascalCoin/PascalCoin/issues/152#issuecomment-427647342","issue_url":"https://api.github.com/repos/PascalCoin/PascalCoin/issues/152","id":427647342,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzY0NzM0Mg==","user":{"login":"DelphiniumCoin","id":43813840,"node_id":"MDQ6VXNlcjQzODEzODQw","avatar_url":"https://avatars3.githubusercontent.com/u/43813840?v=4","gravatar_id":"","url":"https://api.github.com/users/DelphiniumCoin","html_url":"https://github.com/DelphiniumCoin","followers_url":"https://api.github.com/users/DelphiniumCoin/followers","following_url":"https://api.github.com/users/DelphiniumCoin/following{/other_user}","gists_url":"https://api.github.com/users/DelphiniumCoin/gists{/gist_id}","starred_url":"https://api.github.com/users/DelphiniumCoin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DelphiniumCoin/subscriptions","organizations_url":"https://api.github.com/users/DelphiniumCoin/orgs","repos_url":"https://api.github.com/users/DelphiniumCoin/repos","events_url":"https://api.github.com/users/DelphiniumCoin/events{/privacy}","received_events_url":"https://api.github.com/users/DelphiniumCoin/received_events","type":"User","site_admin":false},"created_at":"2018-10-07T11:52:43Z","updated_at":"2018-10-07T11:52:43Z","author_association":"NONE","body":"(safeBoxHeader.protocol=1<CT_PROTOCOL_2=2)  (this gets triggered)\r\n\r\nApperently this code does not expect safeBoxHeader.protocol to be smaller than protocol 2. Which is kinda weird."}}
{"actor":{"display_login":"DelphiniumCoin"}}