Protobuff

Hey people,

I’m trying to track perpera transactions and this is my first time around protobuf.

Problem:

protoc --php_out=/ payload.proto
payload.proto: The first enum value must be zero in proto3.

Where payload.proto comes directly from here https://github.com/peercoin/perpera/blob/master/src/payload.proto

Any ideas?

Willy

@kazzkiq @backpacker69
ping - pong

that is correct, enums in proto3 must start with 0, not with 1 as the linked example, that is obviously an error.

Can you point me to the “correct” protobuff file for PeerAssets?

You mean Perpera?

I’ll take anything that let’s me do chain analysis for PeerAssets transactions,