status-go/node
Samuel Hawksby-Robinson 7f149f93c1
Get preferred network IP and refactor server package to increase reusability (#2626)
* Added function to get preffered network IP

Also done some refactor work oon server package to make a lot more reusable

* Added server.Option and simplified handler funcs

* Added serial number deterministically generated from pk

* Debugging TLS server connection

* Implemented configurable server ip

When accessing over the network the server needs to listen on the network port and not localhost or 127.0.0.1 . Also the cert can now have a dedicated IP

* Refactor of URL funcs to use the url package

* Removed redundant Options pattern in favour of config param

* Added full server test using GetOutboundIP

* Remove references and usage of Server.port

The application does not need to set the port, we rely on the net.Listener to pick a port.

* Version bump

* Added ToECDSA func and improved cert testing

* Added error check in test

* Split Server types, embedding raw Server funcs into specialised server types

* localhost

* Implemented DNS and IP based cert gen

ios doesn't allow for restricted ip addresses to be used in a valid tls cert

* Replace listener handling with original port store

Also added handlers as a parameter of the Server
2022-06-15 15:49:31 +01:00
..
README.md Upgrade to london signer and cleanup 2021-07-20 10:57:38 +02:00
get_status_node.go Get preferred network IP and refactor server package to increase reusability (#2626) 2022-06-15 15:49:31 +01:00
geth_node.go linting and remove unused code 2021-07-20 10:57:38 +02:00
geth_node_api_test.go feat: desktop browser provider (#2465) 2021-12-21 11:44:37 -04:00
geth_node_test.go fix topic pool tests 2021-07-20 10:57:38 +02:00
geth_status_node_test.go feat: desktop browser provider (#2465) 2021-12-21 11:44:37 -04:00
rpc.go bump version 2021-07-20 10:57:38 +02:00
status_node_rpc_client_test.go Sync Settings (#2478) 2022-03-23 18:47:00 +00:00
status_node_services.go feat: add service for checking if there are new versions available (#2552) 2022-06-08 08:38:26 -04:00

README.md

Structure

A Status node is a container of services. These services are passed to geth and registered with geth as APIs and Protocols.

Status node manages all the services and the geth node.

Status node is managed by api/geth_backend.go

So:

GethBackend manages StatusNode, StatusNode manages GethNode