Ninjastic
Home
Search
Users
Boards
Addresses
Ctrl + K
Toggle theme
Open menu
Post
Edited versions
Quotes to this post
Post
52784244
Topic
5191349
Board
Development & Technical Discussion
Re: [Challenge] Come up with scripts that could take a long time to evaluate
by
Coding Enthusiast
on
17/10/2019, 06:08:39 UTC
Quote from: Sergio_Demian_Lerner on October 16, 2019, 04:54:20 PM
Check this
https://bitslog.com/2017/04/17/new-quadratic-delays-in-bitcoin-scripts/
Thanks.
By the way it is best that when you post a link to code on GitHub you also include the commit hash in that it in order to keep the link valid forever. For instance
https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.cpp#L659
(from your blog post) right now is pointing to an empty line since it is on master and due to changes in that file over time.
You could do that by simply pressing Y (on your keyboard) to get
the permanent link
instead:
https://github.com/bitcoin/bitcoin/blob/46d6930f8c7ba7cbcd7d86dd5d0117642fcbc819/src/script/interpreter.cpp#L659