Skip to content

Cache hashes#39

Closed
NicolasDorier wants to merge 28 commits into
sipa:segwitfrom
NicolasDorier:cache-signatures2
Closed

Cache hashes#39
NicolasDorier wants to merge 28 commits into
sipa:segwitfrom
NicolasDorier:cache-signatures2

Conversation

@NicolasDorier
Copy link
Copy Markdown

No description provided.

@NicolasDorier
Copy link
Copy Markdown
Author

Moving #36

@sipa sipa force-pushed the segwit branch 4 times, most recently from 7ae0189 to 82f323e Compare January 23, 2016 18:22
@sipa sipa force-pushed the segwit branch 2 times, most recently from a660ed1 to 37973bf Compare January 27, 2016 17:22
morcos and others added 6 commits February 1, 2016 16:57
Includes fixup by Thomas Kerin.
…en verify_script receives VERIFY_WITNESS flag

script_tests: always test bitcoinconsensus_verify_script_with_amount if VERIFY_WITNESS isn't set

Rename internal method + make it static

trim bitcoinconsensus_ prefix

Add SERIALIZE_TRANSACTION_WITNESS flag
Witness blocks can be greater than 2MiB, but cannot be validly greater
than 4MB.
@sipa sipa force-pushed the segwit branch 2 times, most recently from 909fb25 to 99c8d54 Compare March 16, 2016 17:51
@sipa sipa force-pushed the segwit branch 4 times, most recently from a88b686 to 38a8b36 Compare March 26, 2016 00:21
@sipa
Copy link
Copy Markdown
Owner

sipa commented Mar 29, 2016

As explained on IRC, this needs a more complicated approach that lets cache entries live longer than the CheckInputs call.

@sipa sipa closed this Mar 29, 2016
@NicolasDorier
Copy link
Copy Markdown
Author

I will do it when I manage to get my hand on jetbrain Clion and PyCharm licenses.

I'm concerned though that the test did not break, this should have triggered a segfault as I was accessing freed memory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants