package
0.0.0-20240610110821-095633c8b6be
Repository: https://github.com/shantanu-hashcash/go.git
Documentation: pkg.go.dev
# README
xdr
The xdr package contains encoding/decoding of Hcnet XDR types.
Code Generate
Most of the code this package is generated.
To download new XDR for code generation:
docker run --platform linux/amd64 -it --rm -v $PWD:/wd -w /wd ruby /bin/bash -c 'bundle install && bundle exec rake xdr:download'
To regenerate the code from the local XDR:
docker run --platform linux/amd64 -it --rm -v $PWD:/wd -w /wd ruby /bin/bash -c 'bundle install && bundle exec rake xdr:generate' && go fmt ./xdr
To download XDR for a different branch of hcnet-core, modify Rakefile
in the root.