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

[Rpc] memorypool and getrawmempool not matching #2213

Closed
NetherStar64 opened this issue Jul 6, 2021 · 2 comments · Fixed by #2214
Closed

[Rpc] memorypool and getrawmempool not matching #2213

NetherStar64 opened this issue Jul 6, 2021 · 2 comments · Fixed by #2214

Comments

@NetherStar64
Copy link

When using the command memorypool, it doesn't show any transaction, however when using getrawmempool, it shows them correctly (e.g. when I do a Transaction the right txid shows in getrawmempool)

pi@raspberrypi:~ $ gridcoinresearchd -rpcuser=myuser -rpcpassword=mypassword memorypool
{
  "Excluded Tx": "",
  "Included Tx": ""
}
pi@raspberrypi:~ $ gridcoinresearchd -rpcuser=myuser -rpcpassword=mypassword getrawmempool
[
"ef14c21ba6cbf36baa47201e2583f3b62e3a1f82ac5dcc78cd411d880bfcf2d2"
]

In Gui the same:
Screenshot_20210706_201751

@iFoggz
Copy link
Member

iFoggz commented Jul 6, 2021

getrawmempool:
gets memorypool data on transactions stored in the memory

memorypool:
gets excluded/included tx's in miner from when a block (by you) is staked. So If you staked a block and you excluded a tx due to a bad transaction or included any and got fees for it it'll be in this variable until wallet is shutdown.

It's incorrectly named imo or useless.

@RoboticMind
Copy link
Contributor

Yeah I think it might not be bad to remove the memorypool command

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 a pull request may close this issue.

3 participants