You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tuweni.apache.org by "Antoine Toulme (Jira)" <ji...@apache.org> on 2019/12/16 08:42:00 UTC

[jira] [Updated] (TUWENI-27) GOSSIP Messages should have no body

     [ https://issues.apache.org/jira/browse/TUWENI-27?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Antoine Toulme updated TUWENI-27:
---------------------------------
    Fix Version/s:     (was: 0.9)
                   0.10.0

> GOSSIP Messages should have no body
> -----------------------------------
>
>                 Key: TUWENI-27
>                 URL: https://issues.apache.org/jira/browse/TUWENI-27
>             Project: Tuweni
>          Issue Type: Bug
>            Reporter: Jonny Rhea
>            Priority: Major
>              Labels: easyfix
>             Fix For: 0.10.0
>
>
> The hobbits message format looks something like this for RPC
> {{<preamble><version><protocol><header-length><body-length>}}{{<header><body>}}
> {{However, GOSSIP messages don't contain a body}}
> {{<preamble><version><protocol><header-length><body-length>}}{{<header>}}{{}}
> So an example message header for a GOSSIP message should look something like:
> EWP 3 1 150 0
> with a total message size of 166 bytes
> The problem is that this implementation doesn't recognize that GOSSIP doesn't have a body so the 'lightweight' GOSSIP messages headers actually look like something like this:
> EWP 3 1 150 408
> for a total size of 574 byes 
>  
>  More info on this bug can be found here: [https://hackmd.io/ScrFEzocQG-4p83ynKwFEg?both]
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@tuweni.apache.org
For additional commands, e-mail: issues-help@tuweni.apache.org