{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7573","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7573/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7573/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7573/events","html_url":"https://github.com/bitcoin/bitcoin/pull/7573","id":135220536,"number":7573,"title":"P2P: add maxtimeadjustment command line option","user":{"login":"mruddy","id":6440430,"avatar_url":"https://avatars.githubusercontent.com/u/6440430?v=3","gravatar_id":"","url":"https://api.github.com/users/mruddy","html_url":"https://github.com/mruddy","followers_url":"https://api.github.com/users/mruddy/followers","following_url":"https://api.github.com/users/mruddy/following{/other_user}","gists_url":"https://api.github.com/users/mruddy/gists{/gist_id}","starred_url":"https://api.github.com/users/mruddy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mruddy/subscriptions","organizations_url":"https://api.github.com/users/mruddy/orgs","repos_url":"https://api.github.com/users/mruddy/repos","events_url":"https://api.github.com/users/mruddy/events{/privacy}","received_events_url":"https://api.github.com/users/mruddy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Feature","name":"Feature","color":"7cf575"},{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/P2P","name":"P2P","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2016-02-21T15:48:03Z","updated_at":"2016-03-30T07:28:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/7573","html_url":"https://github.com/bitcoin/bitcoin/pull/7573","diff_url":"https://github.com/bitcoin/bitcoin/pull/7573.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/7573.patch"},"body":"Add `trustsystemclock` command line option to adjust whether peer input can affect the local perspective on time.\r\n\r\nI know that there are multiple issues open dealing with local node time management (e.g.- https://github.com/bitcoin/bitcoin/issues/4521).\r\nI didn't see a pull request though. So, here's one.\r\n\r\nThis is the same patch set that gained acceptance as being useful for https://github.com/bitcoinxt/bitcoinxt/pull/35/files.\r\n\r\nIt's a really simple change that gives the user the option of letting other nodes influence it's perspective on time vs. not (a new default).\r\n\r\nPeople have been using this for months without a problem that I'm aware of. At least it has actual usage behind it.\r\nIf you think making the default \"false\", to make the current functionality the default, is the way to go to get this included, then I could make that change to this PR.\r\n\r\nAt least this will give users an easy option to choose how they want to handle it.\r\nOn the command line, just use either `-trustsystemclock=0` or `-trustsystemclock=1` (the default in this initial proposed commit)."},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/203289933","html_url":"https://github.com/bitcoin/bitcoin/pull/7573#issuecomment-203289933","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/7573","id":203289933,"user":{"login":"laanwj","id":126646,"avatar_url":"https://avatars.githubusercontent.com/u/126646?v=3","gravatar_id":"","url":"https://api.github.com/users/laanwj","html_url":"https://github.com/laanwj","followers_url":"https://api.github.com/users/laanwj/followers","following_url":"https://api.github.com/users/laanwj/following{/other_user}","gists_url":"https://api.github.com/users/laanwj/gists{/gist_id}","starred_url":"https://api.github.com/users/laanwj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laanwj/subscriptions","organizations_url":"https://api.github.com/users/laanwj/orgs","repos_url":"https://api.github.com/users/laanwj/repos","events_url":"https://api.github.com/users/laanwj/events{/privacy}","received_events_url":"https://api.github.com/users/laanwj/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T07:28:57Z","updated_at":"2016-03-30T07:28:57Z","body":"Agreed, let's fix that to another pull.\r\n\r\nThere is no obligation for @mruddy to fix the peer time synchronization system, which is a herculean task, especially as it seems he doesn't want to use it at all. See #4521 for a collection of peer time related issues, will link there to this one too.\r\n"}}