ord
ord copied to clipboard
error: output in Bitcoin Core wallet but not in ord index
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
- start bitcoin
bitcoind -regtest -fallbackfee=0.0001
- create addr and generate block
bitcoin-cli -regtest createwallet test
bitcoin-cli -regtest -rpcwallet=test -generate 1
- create ord addr
ord -r wallet create
ord -r wallet receive
- 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.
I tried deleting all block data and regenerating them, but the same error still occurs.
for this issue you need to sync ord index again, try ord index
Any solution?
This probably means the ord index still has to catch up with bitcoin core. So should work after letting the index update completely
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.
Well ! Though I am late , I could solve it what you do is
- Navigate to "C:\Users**{USERNAME}**\AppData\Roaming\ord" and delete the regtest folder
- Now go to the cmd and then run the following commands
ord -r index run
- Now start again with receive address thing
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 {}
That is the correct thing to return.
What happens exactly if you run the wallet commands?