4 ms·
Actually the implementation of the script language is super simple, just a few hundred lines of code (EvalScript function in https://github.com/bitcoin/bitcoin/
by xiphias2 4y ago
Actually the implementation of the script language is super simple, just a few hundred lines of code (EvalScript function in https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.cpp https://github.com/bitcoin/bitcoin/blob/master/src/script/in... ).
I think it’s quite well written and worth a look.