{"action":"created","issue":{"url":"https://api.github.com/repos/blockstack/blockstack-core/issues/758","repository_url":"https://api.github.com/repos/blockstack/blockstack-core","labels_url":"https://api.github.com/repos/blockstack/blockstack-core/issues/758/labels{/name}","comments_url":"https://api.github.com/repos/blockstack/blockstack-core/issues/758/comments","events_url":"https://api.github.com/repos/blockstack/blockstack-core/issues/758/events","html_url":"https://github.com/blockstack/blockstack-core/issues/758","id":299602892,"number":758,"title":"Dev Onboarding: blockstack-core --debug fast_sync fails Not enough signatures match (required 1, found 0)","user":{"login":"nsipplswezey","id":7946707,"avatar_url":"https://avatars3.githubusercontent.com/u/7946707?v=4","gravatar_id":"","url":"https://api.github.com/users/nsipplswezey","html_url":"https://github.com/nsipplswezey","followers_url":"https://api.github.com/users/nsipplswezey/followers","following_url":"https://api.github.com/users/nsipplswezey/following{/other_user}","gists_url":"https://api.github.com/users/nsipplswezey/gists{/gist_id}","starred_url":"https://api.github.com/users/nsipplswezey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nsipplswezey/subscriptions","organizations_url":"https://api.github.com/users/nsipplswezey/orgs","repos_url":"https://api.github.com/users/nsipplswezey/repos","events_url":"https://api.github.com/users/nsipplswezey/events{/privacy}","received_events_url":"https://api.github.com/users/nsipplswezey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-23T05:26:18Z","updated_at":"2018-02-23T14:58:03Z","closed_at":null,"author_association":"NONE","body":"While working through newly released developer docs in README.md, specifically following steps at https://github.com/blockstack/blockstack-core#setting-up-blockstack-core command `blockstack-core --debug fast_sync` fails. Log below.\r\n\r\nSearched for where the public key referenced in `By default, it will pull a snapshot from http://fast-sync.blockstack.org/snapshot.bsk and use a built-in public key to verify its authenticity.` might exist, and whether that's consistent with my debug output.\r\n\r\nBest I could find was https://github.com/blockstack/blockstack-core/blob/c02d964734f5cd8d008299dd8706ebb45ca443f4/blockstack/lib/config.py#L60-L62\r\n\r\nReferenced in https://github.com/blockstack/blockstack-core/blob/c02d964734f5cd8d008299dd8706ebb45ca443f4/blockstack/lib/fast_sync.py#L512-L520\r\n\r\nWhich seems inconsistent with the public key in my log output, though unclear to me if that's actually the underlying issue, or if it's something else.\r\n\r\n ```\r\nMacintosh-7:BlockStack nsipplswezey$ blockstack-core --debug fast_sync\r\n[2018-02-22 20:55:22,790] [DEBUG] [spv:103] (14138.140735599272768) Using mainnet\r\n[2018-02-22 20:55:22,955] [DEBUG] [blockstackd:2718] (14138.140735599272768) Working dir: /Users/nsipplswezey/.blockstack-server\r\n[2018-02-22 20:55:22,955] [DEBUG] [config:1270] (14138.140735599272768) Load config from '/Users/nsipplswezey/.blockstack-server/blockstack-server.ini'\r\n[2018-02-22 20:55:22,967] [DEBUG] [blockstackd:2735] (14138.140735599272768) config:\r\n{\r\n    \"bitcoind\": {\r\n        \"bitcoind_p2p_port\": 8333, \r\n        \"bitcoind_passwd\": \"blockstacksystem\", \r\n        \"bitcoind_port\": 8332, \r\n        \"bitcoind_regtest\": false, \r\n        \"bitcoind_server\": \"bitcoin.blockstack.com\", \r\n        \"bitcoind_spv_path\": \"/Users/nsipplswezey/.virtualchain-spv-headers.dat\", \r\n        \"bitcoind_timeout\": 300.0, \r\n        \"bitcoind_user\": \"blockstack\"\r\n    }, \r\n    \"blockstack\": {\r\n        \"announcers\": \"judecn.id,muneeb.id,shea256.id\", \r\n        \"atlas\": true, \r\n        \"atlas_blacklist\": \"\", \r\n        \"atlas_hostname\": \"Macintosh-7\", \r\n        \"atlas_seeds\": \"node.blockstack.org:6264\", \r\n        \"atlasdb_path\": \"/Users/nsipplswezey/.blockstack-server/atlas.db\", \r\n        \"backup_frequency\": 144, \r\n        \"backup_max_age\": 1008, \r\n        \"data_storage_drivers\": \"disk\", \r\n        \"data_storage_drivers_write\": \"disk\", \r\n        \"email\": \"nsipplswezey@gmail.com\", \r\n        \"profile_storage_drivers\": \"disk\", \r\n        \"profile_storage_drivers_write\": \"disk\", \r\n        \"redirect_data\": false, \r\n        \"rpc_port\": 6264, \r\n        \"serve_data\": false, \r\n        \"serve_profiles\": false, \r\n        \"serve_zonefiles\": true, \r\n        \"server_version\": \"0.17.0.16\", \r\n        \"zonefile_storage_drivers\": \"disk,dht\", \r\n        \"zonefile_storage_drivers_write\": \"disk\", \r\n        \"zonefiles\": \"/Users/nsipplswezey/.blockstack-server/zonefiles\"\r\n    }\r\n}\r\nSynchronizing from snapshot from http://fast-sync.blockstack.org/snapshot.bsk.  This may take up to 15 minutes.\r\n[2018-02-22 20:55:22,978] [DEBUG] [fast_sync:433] (14138.140735599272768) Fetch http://fast-sync.blockstack.org/snapshot.bsk to /var/folders/j8/zg8_6vn11qx7cfftkgxsyrv80000gn/T/.blockstack-fast-sync-MtbwgO...\r\nVerify 206537885 bytes\r\n[2018-02-22 20:57:48,191] [DEBUG] [ecdsalib:341] (14138.140735599272768) Bad signature mBjGsbQ6EZOaN2qPlFJHxHgdxcQD1qtPfrjZkcQAK2gFwm086zP4BZzX52d20ZGNEJscKnkx476ri5CZ58jCBQ==; not from 02edbaa730f241960bcd1a50c718fac7f9d4874f460c1f6db0a3941094e7685ef9 on d9cda92f1f09dcb9702c8ceebff54d01d1724a2fa4e0a201cd5e940cc732b578?\r\nPublic key 02edbaa730f241960bcd1a50c718fac7f9d4874f460c1f6db0a3941094e7685ef9 does NOT match mBjGsbQ6EZOaN2qPlFJHxHgdxcQD1qtPfrjZkcQAK2gFwm086zP4BZzX52d20ZGNEJscKnkx476ri5CZ58jCBQ== (d9cda92f1f09dcb9702c8ceebff54d01d1724a2fa4e0a201cd5e940cc732b578)\r\nNot enough signatures match (required 1, found 0)\r\nfast_sync failed\r\n```"},"comment":{"url":"https://api.github.com/repos/blockstack/blockstack-core/issues/comments/368032233","html_url":"https://github.com/blockstack/blockstack-core/issues/758#issuecomment-368032233","issue_url":"https://api.github.com/repos/blockstack/blockstack-core/issues/758","id":368032233,"user":{"login":"jackzampolin","id":7452680,"avatar_url":"https://avatars3.githubusercontent.com/u/7452680?v=4","gravatar_id":"","url":"https://api.github.com/users/jackzampolin","html_url":"https://github.com/jackzampolin","followers_url":"https://api.github.com/users/jackzampolin/followers","following_url":"https://api.github.com/users/jackzampolin/following{/other_user}","gists_url":"https://api.github.com/users/jackzampolin/gists{/gist_id}","starred_url":"https://api.github.com/users/jackzampolin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackzampolin/subscriptions","organizations_url":"https://api.github.com/users/jackzampolin/orgs","repos_url":"https://api.github.com/users/jackzampolin/repos","events_url":"https://api.github.com/users/jackzampolin/events{/privacy}","received_events_url":"https://api.github.com/users/jackzampolin/received_events","type":"User","site_admin":false},"created_at":"2018-02-23T14:58:03Z","updated_at":"2018-02-23T14:58:03Z","author_association":"MEMBER","body":"@nsipplswezey It looks like you are still on version `0.17.0.16`. We released `0.18.0` this week. The keys for the fast sync server were changed in this release so this is likely the issue you are experiencing. Please upgrade and try again. "}}
{"actor":{"display_login":"jackzampolin"}}