{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8448","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8448/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8448/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8448/events","html_url":"https://github.com/bitcoin/bitcoin/pull/8448","id":169044253,"number":8448,"title":"Store mempool and prioritization data to disk","user":{"login":"sipa","id":548488,"avatar_url":"https://avatars.githubusercontent.com/u/548488?v=3","gravatar_id":"","url":"https://api.github.com/users/sipa","html_url":"https://github.com/sipa","followers_url":"https://api.github.com/users/sipa/followers","following_url":"https://api.github.com/users/sipa/following{/other_user}","gists_url":"https://api.github.com/users/sipa/gists{/gist_id}","starred_url":"https://api.github.com/users/sipa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipa/subscriptions","organizations_url":"https://api.github.com/users/sipa/orgs","repos_url":"https://api.github.com/users/sipa/repos","events_url":"https://api.github.com/users/sipa/events{/privacy}","received_events_url":"https://api.github.com/users/sipa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Mempool","name":"Mempool","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":34,"created_at":"2016-08-03T04:16:44Z","updated_at":"2016-08-04T09:34:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/8448","html_url":"https://github.com/bitcoin/bitcoin/pull/8448","diff_url":"https://github.com/bitcoin/bitcoin/pull/8448.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/8448.patch"},"body":"Fixes #8433 and builds upon #8392.\r\n\r\nThis adds a file `mempool.dat` to the data directory, which is created every 10 minutes, and at shutdown. At startup, it is loaded after loading/reindexing/activation of blocks (in the background).\r\n\r\nIt only grabs a mempool lock while copying and sorting mempool shared pointers (similar to responding to a `mempool` BIP35 message), which takes 50-100ms here for 1 GB mempool. Loading from disk seems to take up to dozens of seconds but happens in the background.\r\n"},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/237502972","html_url":"https://github.com/bitcoin/bitcoin/pull/8448#issuecomment-237502972","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/8448","id":237502972,"user":{"login":"sipa","id":548488,"avatar_url":"https://avatars.githubusercontent.com/u/548488?v=3","gravatar_id":"","url":"https://api.github.com/users/sipa","html_url":"https://github.com/sipa","followers_url":"https://api.github.com/users/sipa/followers","following_url":"https://api.github.com/users/sipa/following{/other_user}","gists_url":"https://api.github.com/users/sipa/gists{/gist_id}","starred_url":"https://api.github.com/users/sipa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sipa/subscriptions","organizations_url":"https://api.github.com/users/sipa/orgs","repos_url":"https://api.github.com/users/sipa/repos","events_url":"https://api.github.com/users/sipa/events{/privacy}","received_events_url":"https://api.github.com/users/sipa/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T09:34:25Z","updated_at":"2016-08-04T09:34:25Z","body":"The benefit of turning it off by default is still slightly faster shutdown\n(~1s in my own benchmarks on a slow system with large mempool), and lower\ndisk usage (150 Mbyte by default is not much, but may matter for a pruning\nnode).\n"}}
{"actor":{"display_login":"sipa"}}