Bitmessage / PyBitmessage

Reference client for Bitmessage: a P2P encrypted decentralised communication protocol:
https://bitmessage.org/wiki/Main_Page
Other
2.81k stars 578 forks source link

Don't use network for sending ACK #2205

Closed PeterSurda closed 2 months ago

PeterSurda commented 2 months ago

Hi!

After careful reading of the code I found a simple replacement for network.bmproto.BMStringParser() . Both objectProcessor and API HandleDisseminatePreEncryptedMsg handler do it by putting the payload into the inventory. To decode the object parameters I defined a corresponding function decodeObjectParameters() in the protocol.

Need to add more tests.