btcs

bitcoin script parser/evaluator/compiler/decompiler
git clone git://jb55.com/btcs
Log | Files | Refs | README | LICENSE

commit 2d0dd3a88c167f8c761323ca37579ff8c2f0e48b
parent 6c4dbbd7c10e1e8b8d56a3233330012fd7d3fb46
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 25 Oct 2017 20:15:29 -0700

stack: smaller default stack size

Diffstat:
Mstack.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stack.h b/stack.h @@ -11,7 +11,7 @@ static const int MAX_STACK_SIZE = 1000; // Maximum number of values on script interpreter stack -static const int DEFAULT_STACK_SIZE = 100; +static const int DEFAULT_STACK_SIZE = 32; struct stack { void *_data[DEFAULT_STACK_SIZE];