HomePhabricator

Use size_t for stack index in OP_MULTISIG

Description

Use size_t for stack index in OP_MULTISIG

Summary: Indices are used to index into the stack and to be compared with the stack size. Even though we don't expect the stack to a billions of elements big, it is correct to use size_t here.

Test Plan:

make check
./test/functional/test_runner.py

Reviewers: #bitcoin_abc, markblundeberg

Reviewed By: #bitcoin_abc, markblundeberg

Subscribers: markblundeberg

Differential Revision: https://reviews.bitcoinabc.org/D3648

Details

Provenance
deadalnixAuthored on Jul 11 2019, 01:21
markblundebergPushed on Jul 13 2019, 23:51
Reviewer
Restricted Project
Differential Revision
D3648: Use size_t for stack index in OP_MULTISIG
Parents
rSTAGING8b410f1118ea: Merge #12988: Hold cs_main while calling UpdatedBlockTip() signal
Branches
Unknown
Tags
Unknown