Paulo Cesar
Paulo Cesar
usually you'd want to communicate directly to JSON RPC interfaces. AJAX is an on-top-of-HTTP method, and relies on HTTP headers for either urlencoded or form data POSTS and GET. stratum...
will update the examples when I finish the rewrite
that code is for demonstration only, it sends fake data when connecting, that's why it's disconnecting you right way
before executing the client, set the environment variable `set DEBUG=stratum,jsonrpc` in your command line (`export` if you in linux), you'll see what's happening underneath
@envman thanks for that, can you make the PR? I'll merge it (as it's not a breaking change)
maybe that could be added to the README, because, indeed, stratum+tcp is not a valid protocol per se
yeah, it could. in the refactor I'm doing, I'm trying to decouple most of hard coded functionality so it could actually facilitate using other protocols, like HTTP, RPC2 itself, gRPC,...
none, it's just the protocol, not a pool. you can use it as a proxy, implement your own algorithms, PP strategy, etc
@jaimehgb could you create an organization and split the codebase? the "pure" JS for the raiblocks inner functioning is really good. having to manually copy the file and place as...
``` ts export class BB extends ByteBuffer { static allocate( capacity?: number, littleEndian?: number, noAssert?: boolean ): BB { var c: BB = super.allocate(capacity, littleEndian, noAssert); c.readBytes = this.prototype.readBytes; c.refresh...