{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11800","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11800/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11800/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11800/events","html_url":"https://github.com/bitcoin/bitcoin/issues/11800","id":278179354,"number":11800,"title":"Bitcoin is returning higher fees for 36 block window than 2 block window (on testnet)","user":{"login":"runn1ng","id":104945,"avatar_url":"https://avatars2.githubusercontent.com/u/104945?v=4","gravatar_id":"","url":"https://api.github.com/users/runn1ng","html_url":"https://github.com/runn1ng","followers_url":"https://api.github.com/users/runn1ng/followers","following_url":"https://api.github.com/users/runn1ng/following{/other_user}","gists_url":"https://api.github.com/users/runn1ng/gists{/gist_id}","starred_url":"https://api.github.com/users/runn1ng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/runn1ng/subscriptions","organizations_url":"https://api.github.com/users/runn1ng/orgs","repos_url":"https://api.github.com/users/runn1ng/repos","events_url":"https://api.github.com/users/runn1ng/events{/privacy}","received_events_url":"https://api.github.com/users/runn1ng/received_events","type":"User","site_admin":false},"labels":[{"id":82428251,"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/TX%20fees%20and%20policy","name":"TX fees and policy","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-11-30T16:15:10Z","updated_at":"2017-12-05T15:42:35Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"In testnet, right now, `estimatesmartfee` is returning *higher* estimates for 36 block window than 2 block window. The results:\r\n\r\n```\r\nestimatesmartfee 2 ->\r\n{\r\n  \"feerate\": 0.01254483,\r\n  \"blocks\": 2\r\n}\r\n\r\nestimatesmartfee 36 ->\r\n{\r\n  \"feerate\": 0.03863968,\r\n  \"blocks\": 36\r\n}\r\n\r\n\r\nestimaterawfee 2 ->\r\n{\r\n  \"short\": {\r\n    \"decay\": 0.962,\r\n    \"scale\": 1,\r\n    \"fail\": {\r\n      \"startrange\": 490954,\r\n      \"endrange\": 1e+99,\r\n      \"withintarget\": 35,\r\n      \"totalconfirmed\": 35.41,\r\n      \"inmempool\": 165,\r\n      \"leftmempool\": 0\r\n    },\r\n    \"errors\": [\r\n      \"Insufficient data or no feerate found which meets threshold\"\r\n    ]\r\n  },\r\n  \"medium\": {\r\n    \"feerate\": 0.01254483,\r\n    \"decay\": 0.9952,\r\n    \"scale\": 2,\r\n    \"pass\": {\r\n      \"startrange\": 626596,\r\n      \"endrange\": 1e+99,\r\n      \"withintarget\": 38,\r\n      \"totalconfirmed\": 38.96,\r\n      \"inmempool\": 1,\r\n      \"leftmempool\": 0\r\n    },\r\n    \"fail\": {\r\n      \"startrange\": 596758,\r\n      \"endrange\": 626596,\r\n      \"withintarget\": 15.9,\r\n      \"totalconfirmed\": 50.78,\r\n      \"inmempool\": 14,\r\n      \"leftmempool\": 0\r\n    }\r\n  },\r\n  \"long\": {\r\n    \"decay\": 0.99931,\r\n    \"scale\": 24,\r\n    \"fail\": {\r\n      \"startrange\": 799713,\r\n      \"endrange\": 1e+99,\r\n      \"withintarget\": 138.78,\r\n      \"totalconfirmed\": 147.56,\r\n      \"inmempool\": 1,\r\n      \"leftmempool\": 0\r\n    },\r\n    \"errors\": [\r\n      \"Insufficient data or no feerate found which meets threshold\"\r\n    ]\r\n  }\r\n}\r\n\r\nestimaterawfee 36 ->\r\n{\r\n  \"medium\": {\r\n    \"feerate\": 0.01254483,\r\n    \"decay\": 0.9952,\r\n    \"scale\": 2,\r\n    \"pass\": {\r\n      \"startrange\": 690822,\r\n      \"endrange\": 1e+99,\r\n      \"withintarget\": 37.33,\r\n      \"totalconfirmed\": 38.19,\r\n      \"inmempool\": 1,\r\n      \"leftmempool\": 0\r\n    },\r\n    \"fail\": {\r\n      \"startrange\": 596758,\r\n      \"endrange\": 690822,\r\n      \"withintarget\": 47.22,\r\n      \"totalconfirmed\": 51.99,\r\n      \"inmempool\": 12,\r\n      \"leftmempool\": 0\r\n    }\r\n  },\r\n  \"long\": {\r\n    \"decay\": 0.99931,\r\n    \"scale\": 24,\r\n    \"fail\": {\r\n      \"startrange\": 799713,\r\n      \"endrange\": 1e+99,\r\n      \"withintarget\": 139.47,\r\n      \"totalconfirmed\": 147.66,\r\n      \"inmempool\": 1,\r\n      \"leftmempool\": 0\r\n    },\r\n    \"errors\": [\r\n      \"Insufficient data or no feerate found which meets threshold\"\r\n    ]\r\n  }\r\n}\r\n```\r\n\r\nI am also attaching fee_estimates.dat\r\n\r\n[fee_estimates.dat.zip](https://github.com/bitcoin/bitcoin/files/1518545/fee_estimates.dat.zip)\r\n\r\nOf course testnet is always \"weird\", but 36 block estimate being higher than 2 block estimate doesn't make sense, even on testnet.\r\n\r\nThe version of bitcoind is v0.15.0.0"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/349343598","html_url":"https://github.com/bitcoin/bitcoin/issues/11800#issuecomment-349343598","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/11800","id":349343598,"user":{"login":"morcos","id":4360349,"avatar_url":"https://avatars2.githubusercontent.com/u/4360349?v=4","gravatar_id":"","url":"https://api.github.com/users/morcos","html_url":"https://github.com/morcos","followers_url":"https://api.github.com/users/morcos/followers","following_url":"https://api.github.com/users/morcos/following{/other_user}","gists_url":"https://api.github.com/users/morcos/gists{/gist_id}","starred_url":"https://api.github.com/users/morcos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morcos/subscriptions","organizations_url":"https://api.github.com/users/morcos/orgs","repos_url":"https://api.github.com/users/morcos/repos","events_url":"https://api.github.com/users/morcos/events{/privacy}","received_events_url":"https://api.github.com/users/morcos/received_events","type":"User","site_admin":false},"created_at":"2017-12-05T15:42:35Z","updated_at":"2017-12-05T15:42:35Z","author_association":"MEMBER","body":"Question about the fee_estimates file you attached.  Did you quit bitcoind before grabbing it, or is that the file that was in place while it was running?"}}
{"actor":{"display_login":"morcos"}}