dominant-strategies / go-quai

Official Go Implementation of the Quai Network
GNU General Public License v3.0
2.36k stars 457 forks source link

Converge all RPCs into one RPC in goQuai #1278

Open gameofpointers opened 8 months ago

gameofpointers commented 8 months ago

After the move to the new client architecture, to have one http/ws server in the node we need to make few changes to the client.

mibuono commented 1 month ago

GoQuai should route requests, rather than having separate ports for each of the zones that are spun up. If we don't change pre goldenage, it will break everything that is being built currently.

Outcome:

We need a single RPC, and anyone who interacts with the RPC needs to send location. This means we need to add the location to any requests that have a hash besides txhash.

mibuono commented 2 weeks ago

One day we want to converge the proxies into 1 for the nodes - but this can be done at a later date. We can do some discovery during golden age to see if this is feasible to do or not.