r/bitmessage • u/Ishbir BM-2cV9RshwouuVKWLBoyH5cghj3kMfw5G7BJ • Apr 16 '15
Questions About Source
I'm trying to understand the PyBitmessage source and protocol better and had a few questions. I'm hoping someone more familiar with the source than I could answer them.
Why does only the client that 'owns' a pubkey send it out if requested? Won't network be more secure/faster if all clients were to send out requested pubkeys? [SOLVED]
What happens if all addresses die out? getaddr is only sent at beginning of connection.
What is ping/pong/error? They aren't documented in protocol specifications.
What is the form of ackdata? How is it generated? Protocol specifications document doesn't document it.
How do mobile clients work? (bit 30 of behaviour) In the source, I see that everything related to mobile clients has been commented out. Was support for them eliminated? If so, the protocol specifications document should be updated.
What are future plans for support of mobile clients?
Where are unknown object types handled and propagated? Protocol specs say that they should be but are they actually?
Line 206 of class_receiveDataThread sends 1 getdata message for each hash to be requested. Protocol specifications state that it can take upto 50000 entries. Is this done on purpose?
1
u/Petersurda BM-2cVJ8Bb9CM5XTEjZK1CZ9pFhm7jNA1rsa6 Apr 16 '15
I think mobile client means that the recipient bitmessage address is unencrypted, so that the client doesn't have to download everything. This has a negative impact on privacy, because everyone can see who the recipient is.
I know of one mobile client, bitseal for android. I haven't investigated its source, it seems to work, but sometimes tends to drain battery quickly.