ord icon indicating copy to clipboard operation
ord copied to clipboard

error: output in Bitcoin Core wallet but not in ord index

Open skyargos opened this issue 1 year ago • 2 comments

I encountered this error while testing ord on the Bitcoin regtest network.

error: output in Bitcoin Core wallet but not in ord index: c1023c0da24101730c8b3a4f67c346bd0a2b2b91f50ecc63a83341cb88cf0a7a:1

Here are the steps I followed to use it

  1. start bitcoin bitcoind -regtest -fallbackfee=0.0001
  2. create addr and generate block bitcoin-cli -regtest createwallet test bitcoin-cli -regtest -rpcwallet=test -generate 1
  3. create ord addr ord -r wallet create ord -r wallet receive
  4. send coin to ord bitcoin-cli -regtest -rpcwallet=test sendtoaddress <addr info> 1

I encountered this error when using the output function. ord -r wallet outputs How can this issue be resolved? Thank you very much.

skyargos avatar May 14 '23 06:05 skyargos

I tried deleting all block data and regenerating them, but the same error still occurs.

skyargos avatar May 14 '23 06:05 skyargos

for this issue you need to sync ord index again, try ord index

0xtrou avatar May 29 '23 03:05 0xtrou

Any solution?

virgil2019 avatar Aug 21 '23 07:08 virgil2019

This probably means the ord index still has to catch up with bitcoin core. So should work after letting the index update completely

raphjaph avatar Aug 22 '23 16:08 raphjaph

Can this be reproduced with a fresh index and instance of bitcoin core, and the commands in the first comment?

bitcoind -regtest -fallbackfee=0.0001
bitcoin-cli -regtest createwallet test
bitcoin-cli -regtest -rpcwallet=test -generate 1
ord -r wallet create ord -r wallet receive
bitcoin-cli -regtest -rpcwallet=test sendtoaddress <addr info> 1

We need to be able to reproduce this before we can debug it.

casey avatar Aug 31 '23 18:08 casey

Well ! Though I am late , I could solve it what you do is

  1. Navigate to "C:\Users**{USERNAME}**\AppData\Roaming\ord" and delete the regtest folder
  2. Now go to the cmd and then run the following commands

ord -r index run

  1. Now start again with receive address thing

rohitkeshav27 avatar Sep 22 '23 15:09 rohitkeshav27

I'm getting this on main net. Unsure what has gone wrong. I know that the index data is correct, as I can run the explorer. But it fails to index the ord wallet

ord index run returns {} ord index update returns {}

hwnprsd avatar Dec 20 '23 17:12 hwnprsd

That is the correct thing to return.

What happens exactly if you run the wallet commands?

raphjaph avatar Dec 21 '23 10:12 raphjaph