Commit graph

17 commits

Author SHA1 Message Date
Jonathan Zernik
2cabb8197a
Use only named volumes in docker-compose (#2221)
* Use only named volumes in docker-compose

* Try fixing itest with new docker compose

* Update development doc
2022-06-09 17:58:18 -07:00
Jonathan Zernik
ed9cf92ccc
Use custom class for get secret key reply to peer (#1831)
* Use custom class for get secret key reply to peer

* Update connection class to use secret key reply

* Rename get secret key reply method
2021-11-29 01:56:57 -08:00
Jonathan Zernik
2f8d718518
Add received payments worker (#450)
* Got subscribe invoices worker working

* Improve error message in lnd invoice worker

* Only mark received payments if paid if the invoice is settled

* Check if invoice is settled before marking received payment as paid

* Pass settle index as param to mark paid db method

* Add migration to include settle_index in sent payments table

* Got latest settle index query working, I think

* Only return received payments that are already paid in db query

* Remove unused column from get latest settle index query

* Update static build
2020-11-11 22:02:26 -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
4e9bc47440
Simplify get squeak with cleared decryption key (#366)
* Simplify get squeak method of squeak store working

* Shorten sleep time for mining blocks
2020-11-04 02:23:22 -05:00
Jonathan Zernik
8ebdc754ca
Add pay offer dialog and backend method (#296)
* Add insert sent payment method

* Delete db container from itest

* Add other container in itest

* Connect to other squeak node in itest

* Use client lightning container for itest to get offers from main node

* Get offers itest working

* Open channel to buy offer in itest

* Successfully pay offer

* Remove old print statements from itest

* Successfully unlock squeak in pay offer method

* Assert that decrypted content is correct in pay offer itest
2020-10-18 00:27:49 -04:00
Jonathan Zernik
41a6a87545
Use docker-compose build with option to fix dockerignore (#273) 2020-10-02 19:09:05 -07:00
Jonathan Zernik
b8dfac1e75
Use sqlite db file (#257)
* Use file for sqlite db

* Use squeak as relative path parent for sqlite db file
2020-09-26 01:30:47 -07:00
Jonathan Zernik
5f482bf9be
Fix ipv6 in lnd docker itest (#256)
* Fix ipv6 in lnd docker itest

* Clean up itest.sh
2020-09-21 01:00:48 -07:00
Jonathan Zernik
0bef07e133
Add admin rpc server (#72)
* Add admin rpc server

* Use the admin rpc to get the balance of the server in itest
2020-07-16 22:56:37 -07:00
Jonathan Zernik
47a60ef674
Include challenge proof in protocol (#70)
* Include challenge/proof in buy offer protocol

* Include proof bytes in offer message
2020-07-07 20:01:43 -07:00
Jonathan Zernik
2a88b51ec0
Simplify container names (#62)
* Rename docker lnd container

* Rename itest containers to avoid conflict with main containers
2020-07-02 22:28:26 -07:00
Jonathan Zernik
6fe55699f4
Add buy request (#39)
* Add buy squeak request

* Add payment of invoice in itest

* Use latest beta release of lnd

* Got connect peer from itest working

* Open channel in itest before trying to pay

* Add list channels and list peers commands

* Got lightning payment working

* Got full itest working with payment and decryption
2020-06-09 23:44:54 -07:00
Jonathan Zernik
057d9495d4
Clean up validation of squeak requests (#37)
* Move hashing function for squeak requests to util module

* Remove sayHello method from protocol
2020-06-06 19:10:12 -07:00
yzernik
964920bbbb Fix endianness of hash in db 2020-06-06 18:40:43 -07:00
Jonathan Zernik
0157d50064
Fix main docker file (#33)
* Shut down itest after complete, and fix docker compose

* Change squeak server listen port
2020-06-04 22:22:49 -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