Commit graph

37 commits

Author SHA1 Message Date
Jonathan Zernik
aef32d9417
Remove zqm hash block config (#2219) 2022-05-24 22:06:23 -07:00
Jonathan Zernik
ed360ff3d1
Add clightning backend support (#2205)
* Add c-lightning support

* Got subscribe paid invoices working with c-lightning

* Remove log lines

* Use a single config section for all lightning configs

* Fix itest config

* Update configuration doc with new confis
2022-05-08 12:41:44 -07:00
Jonathan Zernik
ecf3d8cecb
Use docker tor simple (#1847)
* Got docker-compose working with tor-simple tor proxy

* Got itest working with simple-tor docker image

* Delete old commented containers for tor
2021-12-13 11:36:25 -08:00
Jonathan Zernik
c53fe89096
Move tor configs to separate section (#1629)
* Move tor configs to separate section

* Update readme with new tor config section
2021-10-17 23:11:22 -07:00
Jonathan Zernik
411f050c93
Got itest working with lnd using tor for both listen and connect (#1495)
* Got itest working with lnd using tor for both listen and connect

* Got itest working with configurable target address for lnd tor config

* Update development doc with tor service in background services
2021-10-04 18:33:16 -07:00
Jonathan Zernik
028b0b5ef1
Use separate lnd container in docker compose (#1479)
* Other lnd container in docker-compose seems to work

* Add new docker-compose using btcd

* Fix external host config for docker-compose

* Remove btcctl container from docker-compose in docker dir

* Mount btcd rpc certs dir to host dir

* Revert "Mount btcd rpc certs dir to host dir"

This reverts commit a79246fb3c.

* Use bitcoin-core instead of btcd in docker-compose.btcd

* Got squeaknode connection and buy working from host machine to container

* Got host to container connection working in main docker-compose

* Remove old comments from docker-compose

* Make squeaknode container use persistent volume

* Add tor proxy to dockerfile

* Update development doc with containerized squeaknode info

* Remove docker-compose.btcd.yml

* Remove unused configs from docker config.ini

* Add zmq hash block port to docker config.ini
2021-10-04 15:12:45 -07:00
Jonathan Zernik
d797e76ed4
Run extra squeaknode instance in docker-compose (#1444) 2021-09-29 22:47:39 -07:00
Jonathan Zernik
be1ab4c79e
Update config.ini in docker directory (#1289)
* Update config.ini in docker directory

* Update config.ini in readme

* Use mainnet configs for readme
2021-09-14 22:53:07 -07:00
Jonathan Zernik
ebf08e7fe0
Use envoy proxy for rpc (#977)
* Got basic envoy proxy use working

* Got envoy proxy working with frontend dev mode and envoy v 1.16.0

* Change envoy proxy port to 15081
2021-08-19 15:14:14 -07:00
Jonathan Zernik
a43576a10e
Use bitcoincore for bitcoin node (#481)
* Got docker-compose working with bitcoin-core

* Got itest working

* Add bitcoin use_ssl config

* Rename service to bitcoin-core in docker-compose
2020-11-23 14:43:17 -05:00
Jonathan Zernik
6641e64995
Use msat as price unit (#427)
* Use price_msat for config and internally

* Use price_msat in admin protocol for offer message

* Use price_msat in sent payments table and protocol

* Update frontend to use new protocol with price_msat for offer

* Update static build
2020-11-10 02:35:24 -05:00
Jonathan Zernik
53fa118f20
Remove max squeaks config from docker config.ini (#426) 2020-11-09 23:12:22 -05:00
Jonathan Zernik
05e03a5979
Fix sync interval s config (#425) 2020-11-09 22:56:08 -05:00
Jonathan Zernik
724f72f1e5
Use more config defaults (#376)
* Use default configs for webadmin

* Remove sqlite config from config file

* Use default config for sqk dir

* Use derived default lnd tls cert path in config

* Use default config for macaroon path

* Remove macaroon path config from docker config.ini

* Got mainnet working in docker

* Update readme

* Remove unused network param in docker config.ini file

* Update readme
2020-11-04 23:18:04 -05:00
Jonathan Zernik
225cd7fdf1
Use better config defaults (#375)
* Use default ports for bitcoin rpc

* Use default configs for lnd ports

* Use default configs for server host/port and admin host/port
2020-11-04 21:24:04 -05:00
Jonathan Zernik
927299cef0
Allow frontend testing without login (#345)
* Frontend testing working in dev mode

* Make login_disabled and cors configs configurables

* Update frontend readme
2020-10-29 18:22:01 -04:00
Jonathan Zernik
99ddc2df77
Rename to squeaknode (#342)
* Rename squeakserver to squeaknode and get itest passing

* Fix itest dockerfile

* Rename more squeakserver to squeaknode

* Rename database from squeakserver to squeaknode

* Update readme

* Remove frontend/build from git

* Rename squeakserver to squeaknode in tox and main
2020-10-29 14:35:17 -04:00
Jonathan Zernik
79d7a45e32
Use authentication for web app (#321)
* Require authentication for web app index page

* Got template working for login page

* Got fake login working

* Add logout endpoint

* Remove old comment

* Got login working

* Remove log lines
2020-10-24 23:13:16 -04:00
Jonathan Zernik
537bb8439b
Use ssl for flask server (#319)
* Use ssl for flask server

* Use window location protocol to get https or http in frontend

* Make use_ssl configurable

* Remove log port in frontend
2020-10-24 18:04:56 -04:00
Jonathan Zernik
f321785d60
Change default web server port (#316) 2020-10-23 22:22:34 -04:00
Jonathan Zernik
ee27bcb6ee
Add config to enable admin web server (#315) 2020-10-23 21:31:06 -04:00
Jonathan Zernik
6f8e556bcf
Make web server port configurable (#314)
* Make host and port for web server configurable

* Add webadmin host and port to config file

* Use current host and port in web frontend

* Remove envoy and frontend from docker compose

* Remove envoy

* Remove unused postgres docker volume
2020-10-23 21:16:50 -04:00
Jonathan Zernik
8b9f87990d
Show peer connection in lightning node (#280)
* Show peer connection status for lightning node

* Add connect peer button to lightning node page

* Add test for connect peer

* Add working test for list peers and connect peer

* Add test for disconnect peer

* Fix sqk dir config

* Fix sqk_dir config

* Successfully connect to sqkserver_other in docker-compose

* Remove unused dialog from lightning node page
2020-10-09 05:55:32 -07:00
Jonathan Zernik
9aef37bd71
Update docker compose yaml (#259)
* Use sqlite for squeak node in docker compose

* Include other sqkserver in docker docker-compose

* Use second instance of squeak node in docker compose

* Remove old log line
2020-09-27 14:54:34 -07:00
Jonathan Zernik
1681776ebe
Use sqlite (#253)
* sqlite db engine works in itest

* Remove unused comment

* Use integer for invoice timestamp and invoice expir

* Fix insert offer

* Remove show tables in queries
2020-08-20 03:33:37 -07:00
Jonathan Zernik
af0ffca75a
Add peer sync (#214)
* Add peer sync controller class

* Got sync downloader with remote connection working

* Got lookup hashes to download working in sync downloader

* Add peer sync status class

* Check stopped event flag before continuing with download

* Got peer download running in a separate thread for each peer

* Rename peer download class

* Fix get current download in sync status

* Add peer upload thread

* Got peer upload working

* Got peer download working

* Display different message in frontend when squeak is locked

* Change default quota for upload rate limit
2020-08-04 00:54:14 -07:00
Jonathan Zernik
4cb447eb0c
Update docker config.ini file (#193) 2020-08-01 14:59:41 -07:00
Jonathan Zernik
7c4b84056b
Use created time for rate limiter (#178)
* Use created time to rate limit based on last hour

* Delete commented lines in rate limiter
2020-07-30 03:05:21 -07:00
Jonathan Zernik
b207469046
Add max squeak per block config (#159)
* Add max squeaks per block per address config

* Add rate limiter class

* Check rate limiter in squeaknode before saving squeak

* Got working itest with rate-limited requests
2020-07-28 01:10:04 -07:00
Jonathan Zernik
9658517380
Fix port for btcd in docker-compose (#120) 2020-07-22 22:30:29 -07:00
Jonathan Zernik
3d8a77cdaa
Run in main docker (#113)
* Docker-compose in main docker folder working

* Fix rpc host in start lnd script

* Remove link alias for btcd in btcctl

* Remove docker-compose links alias for btcd in lnd container

* Remove unused open ports in itest docker-compose

* Remove unused environment variabls from itest docker-compose

* Fix port conflicts between itest and docker docker foler docker-compose containers
2020-07-21 20:48:52 -07:00
Jonathan Zernik
80d67f0cd1
Fix external lnd host (#55) 2020-06-26 22:44:37 -07:00
Jonathan Zernik
1fcd601bac
Fix lnd host config (#52)
* Fix lnd host config to not lookup ip by host

* Fix external lnd host
2020-06-26 02:33:30 -07:00
Jonathan Zernik
7dafb7ce2e
Fix macaroon path in docker config and change log level to info (#50) 2020-06-22 14:35:44 -07:00
Jonathan Zernik
21f3569887
Added lnd to docker compose (#49) 2020-06-22 13:55:20 -07:00
Jonathan Zernik
e54de2b380
Make docker compose run (#45)
* Organize docker docker-compose file

* Got docker docker-compose working to start server with postgres db
2020-06-11 20:09:02 -07:00
Jonathan Zernik
30034d35ab
Use config file in docker (#38)
* Use config file mounted in docker container to run squeakserver

* Fix test script to shut down at end

* Expose port in dockerfile

* Update main docker-compose to use config file
2020-06-08 00:10:04 -07:00