Skip to content

Conversation

@furszy
Copy link

@furszy furszy commented Jun 8, 2020

Built on top of #1668.

Part of the back port series to get us closer to upstream's sigcache current state.

The main ones are:

@random-zebra
Copy link

Need to include the cuckoocache header in the makefile to be able to compile on all platforms (ref: bitcoin#9393).

@furszy
Copy link
Author

furszy commented Jun 9, 2020

done, updated. I didn't check travis output.
curiously it is compiling fine locally with the missing header file include.

@random-zebra
Copy link

This can be rebased now.

JeremyRubin and others added 7 commits June 21, 2020 22:20
SQUASHME: Change cuckoocache to only work for powers of two, to avoid mod operator
SQUASHME: Update Documentation and simplify logarithm logic
SQUASHME: OSX Build Errors
SQUASHME: minor Feedback from sipa + bluematt
SQUASHME: DOCONLY: Clarify a few comments.
SQUASHME: Update Tests for other SQUASHMEs
- If the -maxsigcachesize parameter is set to zero, setup a minimum sized
sigcache (2 elements) rather than segfaulting.
- Handle maxsigcachesize being negative
- Handle maxsigcachesize being too large
It was refactored into multiple functions in
0cc8b6b.
This moves the SignatureCacheHasher to the sigcache header, out of the anonymous
namespace, so that the tests can import it.
@furszy furszy force-pushed the 2020_cuckoocache branch from f7dbae5 to 2749d0a Compare June 22, 2020 01:21
@furszy
Copy link
Author

furszy commented Jun 22, 2020

rebased.

Copy link

@random-zebra random-zebra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really nice backport. Tested ACK 2749d0a

@furszy furszy requested a review from Fuzzbawls July 3, 2020 00:26
Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 2749d0a

@random-zebra random-zebra merged commit c072659 into PIVX-Project:master Jul 3, 2020
@furszy furszy deleted the 2020_cuckoocache branch November 29, 2022 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants