It seems my 'getheaders' request is being ignored by peers. I've followed the implementation: https://en.bitcoin.it/wiki/Protocol_documentation#getheaders without success.
If I change it to 'getblocks' then it returns an inv message just fine. But for some reason, it's not returning a 'headers' packet when requesting headers.
I'm connected to over 100 peers, and still no success.
Has anyone else had similar trouble before? Any guidance is appreciated.
The request values are as follows:
magic=3908297187 command=getheaders length=69 checksum=1021834552 payload=[version=70013, hashCount=1, blockLocatorHash=[00000000839a8e6886ab5951d76f411475428afc90947ee320161bbf18eb6048], hashStop=0000000000000000000000000000000000000000000000000000000000000000]
and the encoded bytes are:
Just to note, when serializing, i reverse the blockLocatorHash bytes as mentioned in the wiki.