Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Main] Don't limit zPIV spends from getting into the mempool #327

Merged
merged 1 commit into from Oct 28, 2017

Conversation

Fuzzbawls
Copy link
Collaborator

Since zPIV spends have no fee associated with them (fees are paid up
front during the minting process), the built in rate limiter for
zero-fee transactions was kicking in when it shouldn't have.

This change will allow zPIV spends in AcceptToMemoryPool() and
AcceptableInputs() to bypass the zero-fee rate limiter.

At the same time, also double the default number of bytes to allow per
minute before rate limiting. Previous default equated to 15000 bytes per
minute, new default is 30000 bytes per minute (exclusive of zPIV
spends).

Since zPIV spends have no fee associated with them (fees are paid up
front during the minting process), the built in rate limiter for
zero-fee transactions was kicking in when it shouldn't have.

This change will allow zPIV spends in `AcceptToMemoryPool()` and
`AcceptableInputs()` to bypass the zero-fee rate limiter.

At the same time, also double the default number of bytes to allow per
minute before rate limiting. Previous default equated to 15000 bytes per
minute, new default is 30000 bytes per minute (exclusive of zPIV
spends).
@presstab
Copy link

utACK

@Mrs-X
Copy link

Mrs-X commented Oct 28, 2017

utACK and merging...

@Mrs-X Mrs-X merged commit 1387fbd into PIVX-Project:master Oct 28, 2017
Mrs-X added a commit that referenced this pull request Oct 28, 2017
1387fbd [Main] Don't limit zPIV spends from getting into the mempool (Fuzzbawls)

Tree-SHA512: 92ad0dce5ce033adbc5b32d3949b2e2557821c175068e6483dbc6fabcd5747875550d7f7c49ed4df77a3dc2f0b65f287578d4be112d643921d183c28af0aca07
@Fuzzbawls Fuzzbawls added this to the Future milestone Oct 28, 2017
Fuzzbawls added a commit to Fuzzbawls/PIVX that referenced this pull request Oct 29, 2017
Since zPIV spends have no fee associated with them (fees are paid up
front during the minting process), the built in rate limiter for
zero-fee transactions was kicking in when it shouldn't have.

This change will allow zPIV spends in `AcceptToMemoryPool()` and
`AcceptableInputs()` to bypass the zero-fee rate limiter.

At the same time, also double the default number of bytes to allow per
minute before rate limiting. Previous default equated to 15000 bytes per
minute, new default is 30000 bytes per minute (exclusive of zPIV
spends).

Github-Pull: PIVX-Project#327
Rebased-From: 1387fbd
@Fuzzbawls Fuzzbawls modified the milestones: Future, 3.0.4 Oct 29, 2017
@Fuzzbawls Fuzzbawls deleted the 2017_zpend_unlimited branch November 30, 2017 01:00
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.

None yet

3 participants