Bitmessage / PyBitmessage

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

Don't use network for sending ACK #2205

Closed PeterSurda closed 7 months ago

PeterSurda commented 7 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.