{"action":"created","issue":{"url":"https://api.github.com/repos/qtumproject/qtum/issues/617","repository_url":"https://api.github.com/repos/qtumproject/qtum","labels_url":"https://api.github.com/repos/qtumproject/qtum/issues/617/labels{/name}","comments_url":"https://api.github.com/repos/qtumproject/qtum/issues/617/comments","events_url":"https://api.github.com/repos/qtumproject/qtum/issues/617/events","html_url":"https://github.com/qtumproject/qtum/issues/617","id":377016224,"node_id":"MDU6SXNzdWUzNzcwMTYyMjQ=","number":617,"title":"getblocktemplate Command Not Working","user":{"login":"JB395","id":29760787,"node_id":"MDQ6VXNlcjI5NzYwNzg3","avatar_url":"https://avatars2.githubusercontent.com/u/29760787?v=4","gravatar_id":"","url":"https://api.github.com/users/JB395","html_url":"https://github.com/JB395","followers_url":"https://api.github.com/users/JB395/followers","following_url":"https://api.github.com/users/JB395/following{/other_user}","gists_url":"https://api.github.com/users/JB395/gists{/gist_id}","starred_url":"https://api.github.com/users/JB395/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JB395/subscriptions","organizations_url":"https://api.github.com/users/JB395/orgs","repos_url":"https://api.github.com/users/JB395/repos","events_url":"https://api.github.com/users/JB395/events{/privacy}","received_events_url":"https://api.github.com/users/JB395/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-03T02:44:55Z","updated_at":"2018-11-15T01:03:36Z","closed_at":"2018-11-15T01:03:36Z","author_association":"NONE","body":"Using Qtum Core v0.16.1, using the command\r\n\r\n`qtum-cli getblocktemplate\r\n`\r\n\r\nreturns\r\n\r\n```\r\nerror code: -1\r\nerror message:\r\nCreateNewBlock: TestBlockValidity failed:  (code 0)\r\n```\r\n\r\nvs. bitcoin Core v0.17.0 returns an extensive template starting out\r\n\r\n```\r\n{\r\n  \"capabilities\": [\r\n    \"proposal\"\r\n  ],\r\n  \"version\": 536870912,\r\n  \"rules\": [\r\n    \"csv\",\r\n    \"segwit\"\r\n  ],\r\n  \"vbavailable\": {\r\n  },\r\n  \"vbrequired\": 0,\r\n  \"previousblockhash\": \"0000000000000000000a95bf193867f54b23f979f2e5619435800e7c0522f7eb\",\r\n  \"transactions\": [\r\n    {\r\n      \"data\": \"0200000001d6f774ae2eddf572c3ed262e68f380ccde26bd28dcaa78bf066100304472b284000000006a47304402201fb0f9902ec066864c618383612dc0d6ed9b0702c55f12cf34585d05703a022402207c75f83aa2ed62abd777e494a31ad59412e4a1c36a0417e05dc2cd3f014db95c012103bfa3e9d1fec0a0409a4858dacbb8de82ff19629fde67d01ca82d68c115a229dbffffffff0283b4524b020000001976a914b039c7919c0177476499bc77ddfa80133bd4c9e288ac200689000000000017a914f1937de97441b54ad07182c35cca03fd4a4d376f8700000000\",\r\n      \"txid\": \"24b7841d0ced0ed751eabb4ca9238f72a637e5766afee4e23f24cab42da32cc0\",\r\n      \"hash\": \"24b7841d0ced0ed751eabb4ca9238f72a637e5766afee4e23f24cab42da32cc0\",\r\n      \"depends\": [\r\n      ],\r\n      \"fee\": 100000,\r\n      \"sigops\": 4,\r\n      \"weight\": 892\r\n    },\r\n<snip>\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/qtumproject/qtum/issues/comments/438876938","html_url":"https://github.com/qtumproject/qtum/issues/617#issuecomment-438876938","issue_url":"https://api.github.com/repos/qtumproject/qtum/issues/617","id":438876938,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODg3NjkzOA==","user":{"login":"qtum-neil","id":25196716,"node_id":"MDQ6VXNlcjI1MTk2NzE2","avatar_url":"https://avatars0.githubusercontent.com/u/25196716?v=4","gravatar_id":"","url":"https://api.github.com/users/qtum-neil","html_url":"https://github.com/qtum-neil","followers_url":"https://api.github.com/users/qtum-neil/followers","following_url":"https://api.github.com/users/qtum-neil/following{/other_user}","gists_url":"https://api.github.com/users/qtum-neil/gists{/gist_id}","starred_url":"https://api.github.com/users/qtum-neil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qtum-neil/subscriptions","organizations_url":"https://api.github.com/users/qtum-neil/orgs","repos_url":"https://api.github.com/users/qtum-neil/repos","events_url":"https://api.github.com/users/qtum-neil/events{/privacy}","received_events_url":"https://api.github.com/users/qtum-neil/received_events","type":"User","site_admin":false},"created_at":"2018-11-15T01:03:36Z","updated_at":"2018-11-15T01:03:36Z","author_association":"CONTRIBUTOR","body":"Fixed here: https://github.com/qtumproject/qtum/commit/0729064a7ca9389d102b538b27d134d08f1b343d"}}
{"actor":{"display_login":"qtum-neil"}}