Do the nodes advertise if they are full/archive/SPV nodes?

And can those claims be verified? I.e. if a node claims to be an archival node, can we ask it for an arbitrary block?

I ask because I guess 'fake' nodes could be easily set up quickly and cheaply, where they are missing some functionality or they delegate to full nodes if needed

Reply to this note

Please Login to reply.

Discussion

I haven't looked at the bitcoin network code in awhile but I would imagine it would or at least could be smart enough to do those kinds of things.

I can take a look.