{"action":"closed","issue":{"url":"https://api.github.com/repos/voisine/breadwallet/issues/165","labels_url":"https://api.github.com/repos/voisine/breadwallet/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/voisine/breadwallet/issues/165/comments","events_url":"https://api.github.com/repos/voisine/breadwallet/issues/165/events","html_url":"https://github.com/voisine/breadwallet/issues/165","id":60164771,"number":165,"title":"increase fee to trigger child-pays-for-parent when spending unconfirmed inputs","user":{"login":"voisine","id":316879,"avatar_url":"https://avatars.githubusercontent.com/u/316879?v=3","gravatar_id":"","url":"https://api.github.com/users/voisine","html_url":"https://github.com/voisine","followers_url":"https://api.github.com/users/voisine/followers","following_url":"https://api.github.com/users/voisine/following{/other_user}","gists_url":"https://api.github.com/users/voisine/gists{/gist_id}","starred_url":"https://api.github.com/users/voisine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voisine/subscriptions","organizations_url":"https://api.github.com/users/voisine/orgs","repos_url":"https://api.github.com/users/voisine/repos","events_url":"https://api.github.com/users/voisine/events{/privacy}","received_events_url":"https://api.github.com/users/voisine/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/voisine/breadwallet/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-06T21:58:11Z","updated_at":"2015-03-09T07:54:10Z","closed_at":"2015-03-09T07:54:10Z","body":"We had a new user test out breadwallet by sending 10,000bits to blockchain.info, then send it back with no fee (hey it's just a quid, who cares, right?)\r\n\r\nThen they spent their full wallet balance of 17btc, including the 10,000bits. So now they have a few thousand pounds sterling stuck in limbo.\r\n\r\nsome pools like eligius have instituted child-pays-for-parent, so when spending unconfirmed inputs the wallet should include a fee to cover all unconfirmed input transactions in addition to the current transaction, according to eligius pool selection rules since that's the only pool we know of that implements child-pays-for-parent. According to http://eligius.st/~gateway/faq/following-applies-transactions-being-processed-our-blocks they require 40.96bits per 512bytes of tx size."}}