blockbook
blockbook copied to clipboard
Transaction not found error
Try to get transaction details from api:
But got "transaction not found error"
Is there a way i can get all transactions in the network ?
I can only get the recent transaction details from api.
Blockbook should return all transactions. Is the txid valid?
I faced the same issue in bsc(forked repository) and etc too. https://etc1.trezor.io/address/0x6B176BD299b24E6c68e6fe8149793973C1eE24C6
The same thing with etc blockchain - many transactions are not found. Tried to reindex blockchain - didn't help.
Version / Commit / Build | 0.3.5 / 491580b / 2021-07-03T11:42:49+00:00 Backend: CoreGeth/v1.12.0-stable-c5ef3a9e/linux-amd64/go1.16.2
It seems like some strange issue with the backend. I have already reported the issue to the core-geth repo https://github.com/etclabscore/core-geth/issues/399.
The fix is to add a parameter --txlookuplimit=0
, see the reply in the core-geth issue https://github.com/etclabscore/core-geth/issues/399. This commit https://github.com/trezor/blockbook/commit/4b233813800c820cb517396fe3a85968f5247dd2 fixes it for ETC.
I have the same issue with BTC and I think, the flag --txlookuplimit=0 is only for eth
I'm having a similar issue with ltc
I have the same issue With litecoin and bitcoin. how it is solved on the trezor servers?
I have the same issue with LTC, Is there any solutions for that? we seriously need it
I've recently faced the same issue, trying to integrate BTC SegWit. Maybe there are things that I missed?
I am facing the same issue with LTC and BTC. Is there a way to have information from all transactions?
I'm facing the same problem with BTC. I appreciate any help to solve this issue.
FMI Why is it closed?
Reopening the issue. The original issue was ETH related and solved by the --txlookuplimit=0
parameter.
However, the new issues are not very informative. Could you plese @ciberluffy @mano92fuentesjimenez @v1adislave @alireza1371 @raisty describe more precisely what problem are you facing (ie. version of Blockbook, missing tx, etc.)
Reopening the issue. The original issue was ETH related and solved by the
--txlookuplimit=0
parameter. However, the new issues are not very informative. Could you plese @ciberluffy @mano92fuentesjimenez @v1adislave @alireza1371 @raisty describe more precisely what problem are you facing (ie. version of Blockbook, missing tx, etc.)
The problem that we have is the following
I send some btc to an address "tb1q8at548ja9xvxxq9gylhag2k8tre5fwpx68525e" in testnet network, and receive a notification of this transaction con ID="317a3a9d3e6ba1c1bfe9ea6e8a3d41212dee98eaa3160b15a81853de5bfb9cc7", but at the moment that this transaction get one or more confirmations, the Get transaction endpoint show this error
but if we take a look, the transaction does exist and is confirmed because we see it in the Get address endpoint.
The solution in this topic, using the --txlookuplimit=0 flag is only for eth, it doesn't work on btc
@alexeirojas87 Is Blockbook never able to find the tx 317a3a9d3e6ba1c1bfe9ea6e8a3d41212dee98eaa3160b15a81853de5bfb9cc7 or only for a short time after it is mined in the new block?
@alexeirojas87 Is Blockbook never able to find the tx 317a3a9d3e6ba1c1bfe9ea6e8a3d41212dee98eaa3160b15a81853de5bfb9cc7 or only for a short time after it is mined in the new block?
blockbook only finds the txs in the time between it is sent and the time it receives the first confirmation. When it receives the first confirmation we already receive Transaction X not found
Are you able to get the transaction from the backend, using bitcoind-cli getrawtransaction
?
Are you able to get the transaction from the backend, using
bitcoind-cli getrawtransaction
?
Look the transaction in this link https://www.blockchain.com/btc-testnet/tx/d2c0f99177eb10aa8ae962b2e9b871ec407ef133563cfd677e0ce0741ba0bedf
but this same id tx, not found in blockbook
But we have it in our Blockbook, see https://tbtc1.trezor.io/tx/d2c0f99177eb10aa8ae962b2e9b871ec407ef133563cfd677e0ce0741ba0bedf. The issue is not that Blockbook is not able to handle this transaction in general, there must be something specific to your instance. And without knowing more about your instance, I am not able to help you. We must narrow the problem and I suggest that you make sure that the transaction is in your backend by trying to find it using bitcoind-cli getrawtransaction
command.
Are you able to get the transaction from the backend, using
bitcoind-cli getrawtransaction
?Look the transaction in this link https://www.blockchain.com/btc-testnet/tx/d2c0f99177eb10aa8ae962b2e9b871ec407ef133563cfd677e0ce0741ba0bedf
but this same id tx, not found in blockbook
have you solve the problem?
transaction can be found before first confirmation, but during 1-6 confirmations, transaction can't be found, after 6 confirmations, it can be found again
Are you able to get the transaction from the backend, using
bitcoind-cli getrawtransaction
?Look the transaction in this link https://www.blockchain.com/btc-testnet/tx/d2c0f99177eb10aa8ae962b2e9b871ec407ef133563cfd677e0ce0741ba0bedf but this same id tx, not found in blockbook
have you solve the problem?
No, I applied another strategy to solve my problem.
transaction can be found before first confirmation, but during 1-6 confirmations, transaction can't be found, after 6 confirmations, it can be found again
The same thing happened to me
@alexeirojas87, @peterpan0708 Hi, please provide more details. Ideally blockbook log around the problematic case.
@alexeirojas87, @peterpan0708 Hi, please provide more details. Ideally blockbook log around the problematic case.
hi, we are now facing the problem, what detail do you need, thanks for help
Timed Blockbook responses (i.e. at xx:xx gettransaction works, at yy:yy does not work, at zz:zz works again), accompanied with the Blockbook log from the problematic period.
The problem is described in detail here: STEP1: address A sends LTC to address B, get TXid: xxx STEP2: To get the transaction record, use 'GET api/v2/xpub/$[xpubkey]', at this time txid xxx confirms 0 and appears at the top of the list. STEP3: query the transaction record about 30 seconds later, and txid xxx disappears
Timed Blockbook responses (i.e. at xx:xx gettransaction works, at yy:yy does not work, at zz:zz works again), accompanied with the Blockbook log from the problematic period. The problem is described in detail here: STEP1: address A sends LTC to address B, get TXid: xxx STEP2: To get the transaction record, use 'GET api/v2/xpub/$[xpubkey]', at this time txid xxx confirms 0 and appears at the top of the list. STEP3: query the transaction record about 30 seconds later, and txid xxx disappears
@huanghuang933 does the transaction record reappear later? How long does it take to sync block? Is your Blockbook connected to the backend using ZeroMQ? What would help is to see the Blockbook log from the period when you observe such issue. The problem could be that the tx is removed from mempool (mined) but Blockbook synchronizes the new block a lot later (for example if it is not notified immediately about the new block using ZeroMQ).