Page MenuHomePhabricator

Refactor MinimalizeBigEndianArray t be part of CScriptNum
ClosedPublic

Authored by deadalnix on Mar 19 2018, 14:01.

Details

Summary

Also make the logic LE, like everything related to numbers

Test Plan

Move test case over to scriptnum_tests.cpp . Add check against CScriptNum::IsMinimallyEncoded to make sure both are consistent.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
minimalyencode
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 2181
Build 2506: Bitcoin ABC Buildbot (legacy)
Build 2505: arc lint + arc unit