As per the unofficial documentation for connecting to multichain from an external application, Im trying as per below with a java based SPV wallet and a multichain node running with multichain protocol and anyone-can-connect=true.
unofficial documentation from multichain:
3.1 First connection to the seed: Node X connects to seed node S, node X doesn't have information about blockchain at all
X sends "version" message with default "message start" - fbb4c7de
S sends "version" message (behaviour inherited from Bitcoin Core)
X ignores "version" message
S sends "verack" message with full paramset
X verifies signature in verack (it cannot verify paramsethash yet), stores parameter set, disconnects
My wallet X has obtained the verack message sent by S and I'm able to obtain the signature and the public key of the sender. What does X verifies signature mean? I verify the signature against the public key for what? the paramsethash or the entire msg?
Also is the signature in the form of base 64 encoding?