ord icon indicating copy to clipboard operation
ord copied to clipboard

Fix remote RPC wallet commands

Open carlosalaniz opened this issue 2 years ago • 0 comments

https://discord.com/channels/987504378242007100/1074458232094994532/1074458232094994532

Original post;

Osvaldrinks OP — 02/12/2023 4:33 PM I have ord 0.5.0 installed on my laptop and use the --cookie-file and --rpc-url flags to connect to my raspberry pi node on my local network.

I can run $ ord --cookie-file ./.cookie --rpc-url 192.168.1.115 index and start indexind the blocks. That is my local ord talks to my node on my local network.

The problem I am running the $ ord --cookie-file ./.cookie --rpc-url 192.168.1.115 wallet create
and get this error error: JSON-RPC error: RPC error response: RpcError { code: -19, message: "Wallet file not specified (must request wallet RPC through /wallet/ uri-path).", data: None }

I go an check my node bitcoin directory and see that the ord wallet was created but no mnemonic or anything but the error above. I go ahead and run the same command again and get a DIFFERENT ERROR ord --cookie-file ./.cookie --rpc-url 192.168.1.115 wallet create error: JSON-RPC error: RPC error response: RpcError { code: -4, message: "Wallet file verification failed. Failed to create database path '/home/bitcoin/.bitcoin/ord'. Database already exists.", data: None }

It is important to note that all of this is being done while the $ ord --cookie-file ./.cookie --rpc-url 192.168.1.115 index command is running and the indexing has not finished

carlosalaniz avatar Feb 16 '23 04:02 carlosalaniz