Commit graph

9 commits

Author SHA1 Message Date
Jonathan Zernik
c032b5be0f
Fix client server rpc connection (#16)
* Trying to get connection from sqkclient to sqkserver

* Looks like connection from client to sqkserver may be working...

* Got client server rpc request to work
2020-06-03 15:00:57 -07:00
Jonathan Zernik
b78e868f53
Connect client and server (#15)
* Remove threading from uploader.

* Create rpc_client class in client to connect to server (using grpc) and verify that the upload_squeak method in rpc_client gets calleed

* Add main class with entry point in squeaknod/server

* Added sqkserver command and service to docker-compose for test

* Add server handler class, and still trying to load rpc implementation of server proto

* Almost got server grpc proto working, now only lnd client failing with tls cert issue

* Added server service and got it working in itest, it still doesn't do anything.
2020-06-03 02:59:56 -07:00
Jonathan Zernik
890fb68c7c
Speed up docker build by caching rpc file downloads. (#12) 2020-03-22 23:37:02 -07:00
Jonathan Zernik
f2f7f2bbd1
Fix installing rpc protocol files. (#10) 2020-03-20 18:44:58 -07:00
Jonathan Zernik
085f5f7419
Add itest test for make squeak in client. (#9)
* Add itest test for make squeak in client.

* Remove print lines.

* Add squeak to db after rpc request to make squeak.

* Got test working for reading blog post from client db.
2020-03-20 01:18:30 -07:00
Jonathan Zernik
fc2f783bab
Use config file for client (#7)
* Load configs from config file instead of command line options.

* Get the config object before the subcommand.

* Rename load client function.

* Rename load client function.

* Load client objects from config object

* Update config file templates.

* Rename rpc server start function.
2020-03-19 17:56:44 -07:00
Jonathan Zernik
b2a0bc97be
pass flask configs through cfg file. (#5)
* pass flask configs through cfg file.

* Remove print line

* Add db to client.

* Call the initialize db function before starting the client.

* Add script to install rpc (#6)

* Add script to install rpc

* Remove comment.

* pass flask configs through cfg file.

* Remove print line

* Add db to client.

* Call the initialize db function before starting the client.

* Fix initialize db function.

* Update install rpc script.
2020-03-19 15:35:48 -07:00
Jonathan Zernik
b9aa585799
Add script to install rpc (#6)
* Add script to install rpc

* Remove comment.
2020-03-19 15:02:03 -07:00
Jonathan Zernik
6851466aed
Itest for squeaknodeclient (#3)
* Add itest for squeaknode client, not passing yet

* Got working itest with get wallet balance

* Change name of squeak node client class.
2020-03-01 00:15:24 -08:00