Gridcoin-research: listsinceblock and listtransactions don't show incoming unconfirmed transactions

Created on 8 Jun 2018  路  9Comments  路  Source: gridcoin-community/Gridcoin-Research

The list of transactions returned by listsinceblock and listtransactions don't show the incoming transactions with 0 confirmations. They are only shown when they reach one confirmation. This rpc api behavior is different comparing to bitcoin and some other bitcoin family coins

rpc

Most helpful comment

getrawmempool rpc command will display all txs in the memory pool waiting to be staked in a block. you can still gettransaction a tx if it is in the memorypool

All 9 comments

the listtransactions functionality is not much different then bitcoins actually . if the transaction has 0 confirms it does show for me in listtransactions with 0 confirms (sent to myself). default it shows only 10 transactions. there are some issues regarding listsinceblock in the main release that is addressed in development slated for release in near future.i'll verify there were no changes to listtransactions since release

only time no tx would be shown is if it conflicted -1

also note that if someone sends u a tx u wont see it till 1 confirm anyway as the block u receive that has the tx is considered first confirm

I'm having the issue when the transaction is sent from some external address to my wallet. When I sent money from my wallet to another address the commands seem to work OK. That is why I mention in incoming transactions.

so your sending from a wallet to another wallet then? or are you sending between two addresses within same wallet?

any txs received from the network from two different wallets wont show till 1 confirm as it sits in the memory pool until a staked block carries the transaction

Do you have in mind to change that behavior? In bitcoin, lite, and others the show this transactions in those cases

that would likely occur when we do a rebase to add the functionality of showing transactions sitting in the memory pool.

we will be re-basing to update the long overdue code in the files

OK. Nice! Thanks for the info

getrawmempool rpc command will display all txs in the memory pool waiting to be staked in a block. you can still gettransaction a tx if it is in the memorypool

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Erkan-Yilmaz picture Erkan-Yilmaz  路  5Comments

Penumbra69 picture Penumbra69  路  6Comments

Peppernrino picture Peppernrino  路  6Comments

Erkan-Yilmaz picture Erkan-Yilmaz  路  4Comments

grctest picture grctest  路  6Comments