{"action":"created","issue":{"url":"https://api.github.com/repos/zack-bitcoin/amoveo/issues/113","repository_url":"https://api.github.com/repos/zack-bitcoin/amoveo","labels_url":"https://api.github.com/repos/zack-bitcoin/amoveo/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/zack-bitcoin/amoveo/issues/113/comments","events_url":"https://api.github.com/repos/zack-bitcoin/amoveo/issues/113/events","html_url":"https://github.com/zack-bitcoin/amoveo/issues/113","id":301995173,"number":113,"title":"Not automatically syncing","user":{"login":"McKean","id":517851,"avatar_url":"https://avatars1.githubusercontent.com/u/517851?v=4","gravatar_id":"","url":"https://api.github.com/users/McKean","html_url":"https://github.com/McKean","followers_url":"https://api.github.com/users/McKean/followers","following_url":"https://api.github.com/users/McKean/following{/other_user}","gists_url":"https://api.github.com/users/McKean/gists{/gist_id}","starred_url":"https://api.github.com/users/McKean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McKean/subscriptions","organizations_url":"https://api.github.com/users/McKean/orgs","repos_url":"https://api.github.com/users/McKean/repos","events_url":"https://api.github.com/users/McKean/events{/privacy}","received_events_url":"https://api.github.com/users/McKean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-03T12:39:37Z","updated_at":"2018-03-04T09:53:56Z","closed_at":null,"author_association":"NONE","body":"Maybe I'm doing something wrong but bascially doing a.\r\n\r\n```\r\nsync:start().\r\n% Waiting for all blocks to be synced\r\nsync_mode:normal().\r\n```\r\nTo make get it to be aware of new blocks I need to manually execute `sync:get_headers({{159,89,106,253}, 8080}).`\r\n\r\nAny ideas what the issue is?\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/zack-bitcoin/amoveo/issues/comments/370215997","html_url":"https://github.com/zack-bitcoin/amoveo/issues/113#issuecomment-370215997","issue_url":"https://api.github.com/repos/zack-bitcoin/amoveo/issues/113","id":370215997,"user":{"login":"termoose","id":179959,"avatar_url":"https://avatars2.githubusercontent.com/u/179959?v=4","gravatar_id":"","url":"https://api.github.com/users/termoose","html_url":"https://github.com/termoose","followers_url":"https://api.github.com/users/termoose/followers","following_url":"https://api.github.com/users/termoose/following{/other_user}","gists_url":"https://api.github.com/users/termoose/gists{/gist_id}","starred_url":"https://api.github.com/users/termoose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/termoose/subscriptions","organizations_url":"https://api.github.com/users/termoose/orgs","repos_url":"https://api.github.com/users/termoose/repos","events_url":"https://api.github.com/users/termoose/events{/privacy}","received_events_url":"https://api.github.com/users/termoose/received_events","type":"User","site_admin":false},"created_at":"2018-03-04T09:53:56Z","updated_at":"2018-03-04T09:53:56Z","author_association":"NONE","body":"Having a similar issue, one fix (that should not be final) could be to have something like:\r\n\r\n```erlang\r\nhandle_info(sync_cron, _From, State) ->\r\n    sync:get_headers({{159,89,106,253}, 8080}),\r\n    sync:start(),\r\n    self() ! sync_cron,\r\n    {noreply, State}.\r\n```\r\n\r\nAny better solution on the horizon?"}}
{"actor":{"display_login":"termoose"}}