I'm trying to understand how the ethereum test related geth golang code work.

I'm stuck at how the test json files are processed.


//go:generate gencodec -type btHeader -field-override btHeaderMarshaling -out gen_btheader.go

Q: How do I use this gencodec thing?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.