“Wallet file not specified (must request wallet RPC through /wallet/ uri-path).”
This problem is limited to batched RPC request on testnet as just making the exact same request without the ‘[’ and ‘]’ works fine. It works also fine on regtest, which is crazy. I will look into later.
NicolasDorier renamed this:
RPC Batching does not work with multi wallet on Testnet
[RPC] Bug: RPC Batching does not work with multi wallet on Testnet
on Sep 6, 2017
sipa
commented at 3:06 pm on September 6, 2017:
member
Very strange! Does it work if you use the wallet URL?
ryanofsky
commented at 8:34 pm on September 6, 2017:
member
Seems to be a bug in JSONRPCExecOne. It is creating a request object without assigning a url.
sipa
commented at 8:54 pm on September 6, 2017:
member
Is this a 0.15.0 issue?
fanquake added the label
RPC/REST/ZMQ
on Sep 6, 2017
ryanofsky
commented at 2:07 pm on September 7, 2017:
member
Is this a 0.15.0 issue?
Actually, I’m not sure the bug I see in JSONRPCExecOne is the same one Nicolas is reporting. The bug in JSONRPCExecOne (which is only called for batch requests and not single requests) is that request uri field is not filled, so if more than one wallet file is loaded, “Wallet file not specified” errors will trigger when a wallet RPC is called. This is a bug in 0.15, but not a regression because previous releases did not support loading multiple wallets.
Nicolas’s issue is more confusing because despite multiwallet being mentioned in issue title, steps to reproduce only show bitcoind being started with a single -wallet argument. Also, strangely the bug happens with testnet but not regtest.
ryanofsky referenced this in commit
990d24a96d
on Sep 7, 2017
ryanofsky referenced this in commit
b7205b88f0
on Sep 7, 2017
ryanofsky referenced this in commit
379bd795e0
on Sep 7, 2017
ryanofsky referenced this in commit
c0c652ccc2
on Sep 7, 2017
NicolasDorier
commented at 6:03 am on September 10, 2017:
contributor
Sorry I was in holidays @ryanofsky . This bug came into a “production” testnet. I confirm that my bitcoind has two wallets, and did not tried to reproduce on a blank new bitcoind, as I have none other with testnet under the hand for now. Sorry for the misleading description. :(
NicolasDorier renamed this:
[RPC] Bug: RPC Batching does not work with multi wallet on Testnet
[RPC] Bug: RPC Batching does not work with more than 1 multi wallet
on Sep 10, 2017
NicolasDorier
commented at 6:29 am on September 10, 2017:
contributor
@sipa yes, 0.15.0 issue. Hopefully ryanosky’s fix can make it in time. Testing it now.
NicolasDorier
commented at 7:17 am on September 10, 2017:
contributor
This is a metadata mirror of the GitHub repository
bitcoin/bitcoin.
This site is not affiliated with GitHub.
Content is generated from a GitHub metadata backup.
generated: 2024-12-19 00:12 UTC
This site is hosted by @0xB10C More mirrored repositories can be found on mirror.b10c.me