You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pull request #263 syncs in the upstream mempool policy structure however it does not add the new Decred-specific variables to it. That must be done before the mempool can properly be split out into a separate package.
Also, the code in rpcserver.go is improperly referencing the mempool policy from the block template generation code, so the variable for maxSigOpsPerTx had to be added to it in order to keep the code working. The comment added as part of the PR explains why:
// NOTE: This is being added while syncing upstream because the code in
// the RPC server here is referencing the variable even though it most
// definitely shouldn't be. It is a policy limit regarding what should
// be relayed or mined and thus should only apply in the mempool and/or
// possibly the mining code.
The text was updated successfully, but these errors were encountered:
Pull request #263 syncs in the upstream mempool policy structure however it does not add the new Decred-specific variables to it. That must be done before the mempool can properly be split out into a separate package.
Also, the code in
rpcserver.go
is improperly referencing the mempool policy from the block template generation code, so the variable formaxSigOpsPerTx
had to be added to it in order to keep the code working. The comment added as part of the PR explains why:The text was updated successfully, but these errors were encountered: