Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
19431871
Topic
1952248
Board
Development & Technical Discussion
Re: How to use OP_CHECKSEQUENCEVERIFY
by
piotr_n
on
08/06/2017, 06:44:09 UTC
Quote from: sonicskye on June 07, 2017, 09:03:08 PM
does it mean if we need to push numbers from 1-16, we shall use OP_1 to OP_16?
Yes, but also a few other things that you have to mind:
https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.cpp#L223
https://github.com/bitcoin/bitcoin/blob/master/src/script/script.h#L226