borsh-construct-py icon indicating copy to clipboard operation
borsh-construct-py copied to clipboard

Decoding TCP packet capture message using borsh-construct-py

Open singhparshant opened this issue 2 years ago • 0 comments

I am trying to deserialise the message data captured using TCP dump in a local near network. As per the documentation, the messages are serialised using borsh protocol. Does anyone know how can i use borsh-construct-py to deserialse the borsh encoded message ? I think this is the format of the message between 2 nodes ?

https://github.com/near/nearcore/blob/fa8749dc60fe0de8e94c3046571731c622326e9f/chain/network-primitives/src/types.rs#L362

singhparshant avatar Dec 22 '23 17:12 singhparshant