Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[GMP] getuint256 crash fix. #829
Contains part of the complete mitigation for the underling issue on #828.
Illegal allocation of long serials crashes the node using gmp, openssl implementation only takes last 256 bits of those. This PR equalize getuint256 method behavior for those specific scenarios.
The chain will sync fine with gmp or openssl indifferently with this.