Git Product home page Git Product logo

Comments (6)

oleonardolima avatar oleonardolima commented on September 13, 2024 1

I need to use a custom user and password but didn't notice that it's deprecated, using the -rpcauth works fine.

Great, a specific error would've saved me some time 😅

I'll work in a PR candidate to fix and update to give a proper error.

from bitcoind.

oleonardolima avatar oleonardolima commented on September 13, 2024

@RCasatta Please let me know if the bug makes sense or was expected behavior, and if any more info is needed.

If it either needs to fix to return an error or to accept the arguments and not consider the .cookie file I will be more than happy to discuss a solution, build the fix, and open a PR.

from bitcoind.

RCasatta avatar RCasatta commented on September 13, 2024

cookie support dates back to bitcoin core version 0.12, do you need to test with versions prior to this?

I think we should probably prevent users to specify rpcuser and rpcpassword and give a proper error.

from bitcoind.

MaxFangX avatar MaxFangX commented on September 13, 2024

Thanks for opening this issue - I was using rpcuser / rpcpassword, and seeing that there were problems with it saved me a bunch of debugging. If rpcuser / rpcpassword are known not to work, perhaps it should be documented somewhere? I had the assumption that although those options were deprecated in bitcoind, they would still be generally work, as this crate seems to be a relatively thin wrapper around bitcoind.

from bitcoind.

oleonardolima avatar oleonardolima commented on September 13, 2024

@MaxFangX I'm really glad that the issue helped and saved you a lot of time, I've used a lot of debugging time to figure out the problem 😅

I've not finished my work on a draft PR due to my final exams and SoB project

I'll try to open it in the next few days to add a better error message as discussed with RCasatta above.

from bitcoind.

oleonardolima avatar oleonardolima commented on September 13, 2024

@RCasatta I've now opened PR #72 related to this issue, would really appreciate a review.

I think would also be useful to have a function to produce the -rpcauth expected value, wdyt ?

I can port the bitcoin core python script like this one: https://github.com/testcontainers/testcontainers-rs/blob/dev/testcontainers/src/images/coblox_bitcoincore.rs#L40-L91

cc @MaxFangX

from bitcoind.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.