Git Product home page Git Product logo

Comments (6)

SChernykh avatar SChernykh commented on July 17, 2024 1

It looks like curl can work with libuv properly: https://curl.se/libcurl/c/multi-uv.html
This is still a huge task. I'll look into it in June.

from p2pool.

f-fusco avatar f-fusco commented on July 17, 2024

Would be nice to have. Anyone following the official guide for connecting to a node over Tor can't use p2pool, unless by omitting the rpc-login option.

from p2pool.

adhisimon avatar adhisimon commented on July 17, 2024

I am also waiting for this feature

from p2pool.

bladedoyle avatar bladedoyle commented on July 17, 2024

monero node rpc uses "digest" auth (as opposed to Basicauth)

from p2pool.

bladedoyle avatar bladedoyle commented on July 17, 2024

@SChernykh I think I can take this task and produce a PR if this is a feature you want added?

edit: Ya, it looks like this is more work than im prepared to take on. I am thinking it should be possible to write a simple shim/proxy to sit between the p2pool and the monero daemon that handles the digest auth....but built-in support would be much, much better and its June already so I'll wait on your work.

edit: I think instead I'll put a little time into writing a "./configure" script for interactive customization of the docker-compose configs. Will submit PR for this in a week or so.

from p2pool.

SChernykh avatar SChernykh commented on July 17, 2024

@bladedoyle This is not an easy task. Just read through https://datatracker.ietf.org/doc/html/rfc7616 to get an idea. JSONRPCRequest class does requests at a very low level and uses external/src/llhttp to parse monerod responses. Implementing RFC 7616 is a lot of work, and bringing the whole libcurl just to enable rpc login seems an overkill. Also, in case with libcurl, it can't do HTTP requests in a fully non-blocking way, so additional workarounds (like uv queue_work) will be needed.

from p2pool.

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.