{"push_id":620691148,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"1bf564d96365856d623da13beb1d99aff3f92264","before":"7c46f213e16bd8185cf51a795116a579997c661f","commits":[{"sha":"1bf564d96365856d623da13beb1d99aff3f92264","author":{"email":"8f4a394d9ed23c1204a697b6e111221ca5254fba@gmail.com","name":"Olaoluwa Osuntokun"},"message":"Fix #138 by dynamically updating heights of peers\n\nIn order to avoid prior situations of stalled syncs due to\noutdated peer height data, we now update block heights up peers in\nreal-time as we learn of their announced\nblocks.\n\nUpdates happen when:\n   * A peer sends us an orphan block. We update based on\n     the height embedded in the scriptSig for the coinbase tx\n   * When a peer sends us an inv for a block we already know\n     of\n   * When peers announce new blocks. Subsequent\n     announcements that lost the announcement race are\n     recognized and peer heights are updated accordingly\n\nAdditionally, the `getpeerinfo` command has been modified\nto include both the starting height, and current height of\nconnected peers.\n\nDocs have been updated with `getpeerinfo` extension.","distinct":true,"url":"https://api.github.com/repos/btcsuite/btcd/commits/1bf564d96365856d623da13beb1d99aff3f92264"}]}