Hi, I'm working on coding up a prototype client to better understand bitcoin.
I understand the first steps as:
1. send initial "getblocks" (I only have the genesis block preloaded to start)
2. peer sends me "inv" with 500 blocks
3. I call "getdata" on each
I know I need to call getblocks again, but does it make sense to queue up another "getblocks" again after every "inv"? My implementation for inv handling is generalized so it's not just for the initial blockchain download, so I wasn't sure if this was the best route.