Skip to content

unsigned_int unpacking - #1267

Merged
abitmore merged 3 commits into
developfrom
993_un_signed_int_unpacking
Aug 23, 2018
Merged

unsigned_int unpacking#1267
abitmore merged 3 commits into
developfrom
993_un_signed_int_unpacking

Conversation

@pmconrad

@pmconrad pmconrad commented Aug 19, 2018

Copy link
Copy Markdown
Contributor

Resolves #993 and #1088.

TODO:

template<> struct js_name<fc::sha224> { static std::string name(){ return "bytes 28"; } };
template<> struct js_name<fc::sha256> { static std::string name(){ return "bytes 32"; } };
template<> struct js_name<fc::unsigned_int> { static std::string name(){ return "varuint32"; } };
template<> struct js_name<fc::signed_int> { static std::string name(){ return "varint32"; } };

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually JS code is using varint32 everywhere but not varuint32. Will submit an issue there.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm, should we rename that to varuint64?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think so.
JS code need to be fixed anyway.

@abitmore

Copy link
Copy Markdown
Member
[ 93%] Building CXX object libraries/plugins/elasticsearch/CMakeFiles/graphene_elasticsearch.dir/elasticsearch_plugin.o
�
Broadcast message from root@travis-job-2cd07e9d-7fb4-490c-8b3e-31a13c875a31
	(unknown) at 22:14 ...
The system is going down for power off NOW!
[ 94%] Linking CXX static library libgraphene_witness.a

Restarted.

@abitmore
abitmore merged commit d382ac8 into develop Aug 23, 2018
@abitmore
abitmore deleted the 993_un_signed_int_unpacking branch August 23, 2018 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants