{"action":"opened","issue":{"url":"https://api.github.com/repos/spesmilo/electrum/issues/1382","labels_url":"https://api.github.com/repos/spesmilo/electrum/issues/1382/labels{/name}","comments_url":"https://api.github.com/repos/spesmilo/electrum/issues/1382/comments","events_url":"https://api.github.com/repos/spesmilo/electrum/issues/1382/events","html_url":"https://github.com/spesmilo/electrum/issues/1382","id":98241370,"number":1382,"title":"Use blockchain.estimatefee in client within some bound range","user":{"login":"EagleTM","id":2886147,"avatar_url":"https://avatars.githubusercontent.com/u/2886147?v=3","gravatar_id":"","url":"https://api.github.com/users/EagleTM","html_url":"https://github.com/EagleTM","followers_url":"https://api.github.com/users/EagleTM/followers","following_url":"https://api.github.com/users/EagleTM/following{/other_user}","gists_url":"https://api.github.com/users/EagleTM/gists{/gist_id}","starred_url":"https://api.github.com/users/EagleTM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EagleTM/subscriptions","organizations_url":"https://api.github.com/users/EagleTM/orgs","repos_url":"https://api.github.com/users/EagleTM/repos","events_url":"https://api.github.com/users/EagleTM/events{/privacy}","received_events_url":"https://api.github.com/users/EagleTM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-30T19:12:20Z","updated_at":"2015-07-30T19:12:20Z","closed_at":null,"body":"Server has blockchain.estimatefee for a while. The default fee of 0.1 mBTC set by the client can be too low. With the spam attacks on the network I'd suggest making use of it, so that the client queries the server for blockchain.estimatefee and uses it as a default fee.\r\n\r\nObviously there are security implications with this, as the fee could be faked by the server. I'd recommend to apply at least one of two countermeasures:\r\n\r\na) set an upper bound of 0.00050000 (0.5 mBTC) to be set by estimatefee in the client. If the server reports a higher one, still of 0.5 mBTC. The user can still change it up / down in the GUI \r\nb) query multiple servers (2-3? or all the ones it uses for headers if that's easy)"}}