]> Git Repo - VerusCoin.git/commit - src/arith_uint256.cpp
arith_uint256: remove initialization from byte vector
authorWladimir J. van der Laan <[email protected]>
Fri, 19 Dec 2014 12:07:07 +0000 (13:07 +0100)
committerWladimir J. van der Laan <[email protected]>
Mon, 5 Jan 2015 14:45:36 +0000 (15:45 +0100)
commit6bd0dc2a845b4d17d5ffabbdadda80d47d6c2dc3
tree0a9d27e397e15c0e7bcbe8f3eff95c5285a2d7ba
parent30007fda76aa7ba4e4090f7a16298874a7722926
arith_uint256: remove initialization from byte vector

Remove initialization from vector (as this is only used in the tests).

Also implement SetHex and GetHex in terms of uint256, to avoid
duplicate code as well as avoid endianness issues (as they
work in term of bytes).
src/arith_uint256.cpp
src/arith_uint256.h
src/test/arith_uint256_tests.cpp
This page took 0.025492 seconds and 4 git commands to generate.