namecoin / namecoin-core

Namecoin full node + wallet based on the current Bitcoin Core codebase.
https://www.namecoin.org/
MIT License
456 stars 146 forks source link

Do name lookups in P2P during IBD #420

Open yanmaani opened 3 years ago

yanmaani commented 3 years ago

It's a goal to have Namecoin Core work during IBD by relying on SPV-like functionality. To this end, name_show should query other nodes if it does not have the latest block.

It would probably be a good idea to check the validity of the returned results somehow. (maybe with namecoin/meta#69?)

This wouldn't change the API of name_show, only the implementation. It would add a new P2P message.

domob1812 commented 3 years ago

When you say "it's a goal to have Namecoin Core work during IBD", where does this goal come from? Did we discuss this previously? (I'm not trying to object, I just can't remember seeing this mentioned/discussed before.)