{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/9497067ae41f79214b83acbf7b946a8f?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9497067ae41f79214b83acbf7b946a8f","url":"https://api.github.com/users/midnightmagic","login":"midnightmagic","id":607777},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-11-04T16:45:07Z","closed_at":null,"comments":10,"url":"https://api.github.com/repos/namecoin/namecoin/issues/4","body":"Even though they are reported as expired, it looks like the calculation as to whether to allow expired domains to be re-registered uses the current best-height block and not the origin block..  so domains that are reported as expired hundreds of blocks ago (even if you account for the fact the GetDisplay*() call doesn't calculate it the same way) can't be registered currently.\r\n\r\nI suspect the fix is to correct the problem in GetTxOfName and feed the GetExpirationDepth() call the nHeight and not the pindexBest->nHeight, otherwise a whole pile of \"expired\" names are going into un-re-registerable limbo until we come out of the incremental per-block expiration increase at 24000+12000..\r\n\r\nHowever, I don't know if this was intentional. Nor so I know whether fixing this in my own code will make me generate illegal blocks, so.. meh.\r\n","html_url":"https://github.com/namecoin/namecoin/issues/4","title":"Recently-expired names can't be re-registered","number":4,"id":2063565,"created_at":"2011-10-27T00:57:58Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/1ac0d3873578055fb6d7a7501ab16c9c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"1ac0d3873578055fb6d7a7501ab16c9c","url":"https://api.github.com/users/khalahan","login":"khalahan","id":729047},"updated_at":"2011-11-04T16:45:07Z","url":"https://api.github.com/repos/namecoin/namecoin/issues/comments/2633274","body":"The issue seems fixed in https://github.com/khalahan/namecoin/commit/4b7c92dd3439419231c768ce8738f58714ecc632\r\nWill be integrated in trunk soon.","id":2633274,"created_at":"2011-11-04T16:45:07Z"}}