Commit graph

506 commits

Author SHA1 Message Date
Jonathan Zernik
9fcb87aeed
Make config.ini file optional (#531) 2020-12-31 15:30:58 -08:00
Jonathan Zernik
705ffef8a9
Debug failed webapp reply (#530)
* Add log line to debug webapp hanlder reply

* Log request message

* Log type of handler reply

* Log type of request message

* Fix callling serialize reply

* Remove debug log lines
2020-12-31 08:56:12 -08:00
Jonathan Zernik
98d9b5a87d
Make dockerfile run with cmd (#529)
* Add cmd to dockerfile

* Remove waiting for cert file in start script

* Output docker container dirs before starting script

* Remove failing ls line

* Add lnd tls cert path and macaroon path env vars

* Add env vars for webadmin congis
2020-12-31 00:05:20 -08:00
Jonathan Zernik
9b14c8016b
Package for umbrel (#528)
* Switch dockerfile base image to buster

* Try to make build work for umbrel

* Remove libs from Dockerfile

* Add build-essential to dockerfile

* Make sqk_dir configurable with environment variable

* Use new env var names
2020-12-30 16:46:48 -08:00
yzernik
d06283c9b1 Release 0.1.3 2020-12-29 01:11:32 -08:00
Jonathan Zernik
22f6b4fc3c
Add precommit hooks (#526) 2020-12-28 23:52:32 -08:00
yzernik
089db023c8 Release version 0.1.2 2020-12-28 17:49:09 -08:00
Jonathan Zernik
a930b2cf0e
Use TZDateTime as type for time columns in database (#525) 2020-12-28 17:08:46 -08:00
Jonathan Zernik
5d436acbdb
Add the missing postgres ubuntu package in dockerfile (#524) 2020-12-28 14:52:13 -08:00
Jonathan Zernik
0c9e3c0788
Fix install_requires (#523) 2020-12-28 00:57:37 -08:00
Jonathan Zernik
1d8b25dcae
Use semantic versioning (#522) 2020-12-28 00:34:17 -08:00
Jonathan Zernik
b9f37a545f
Improve readme sections (#521) 2020-12-27 23:55:28 -08:00
Jonathan Zernik
b39f308a90
Update readme for launching no docker (#520)
* Update readme and add separate doc for launching docker

* Fix typo
2020-12-27 23:49:44 -08:00
Jonathan Zernik
e966f73db1
Update db to use Timestamp for times (#519) 2020-12-27 23:32:02 -08:00
Jonathan Zernik
5b22b25ad0
Run squeaknode directly on host without docker (#518) 2020-12-27 20:55:52 -08:00
Jonathan Zernik
34ec5deee8
Use python slim docker base image (#516)
* Use python slim image for both squeaknode and test

* Clean up dockerfiles

* Reorder dockerfile for squeaknode

* Load alembic config file from packaged module

* Alembic directory is now loaded from packaged module

* Got multi-stage docker build working

* Removed old app directory from docker config

* Remove commented package data arg from setup.py

* Remove unused alembic graft from manifest

* Fix extra space in alembic revision
2020-12-27 04:59:59 -08:00
Jonathan Zernik
0064d8ea48
Makefile test target works now with protos (#515) 2020-12-26 05:29:02 -08:00
Jonathan Zernik
293cbc4db5
Got all flake8 checks passing (#514)
* Got all flake8 checks passing

* Remove reorder imports from codecheck tox env
2020-12-26 04:56:46 -08:00
Jonathan Zernik
a7564b3326
Fix all codecheck errors in source code (#512) 2020-12-26 04:16:11 -08:00
Jonathan Zernik
62f21874f1
Autoformat python code with tox command (#510) 2020-12-26 02:01:22 -08:00
Jonathan Zernik
1a1e92f586
Remove squeak server client class (#509) 2020-12-26 01:33:24 -08:00
Jonathan Zernik
0a5a54554c
Use data classes instead of namedtuples (#508)
* Build mypy files for protos in tox env

* Include mypy check in make test

* Improve building offer from remote peer download

* Remove old methods from peer task
2020-12-26 01:00:58 -08:00
Jonathan Zernik
462626035c
Use data class for block info (#507)
* Use data class for block info

* Use data class for block info and update types
2020-12-25 21:46:11 -08:00
Jonathan Zernik
6eb50b48fd
Remove old commented method from blockchain client (#506) 2020-12-25 20:53:59 -08:00
Jonathan Zernik
bf638f561a
Fix type hints (#505) 2020-12-25 20:51:02 -08:00
Jonathan Zernik
eaf26bd556
Remove old migrations comment (#504) 2020-12-25 20:23:20 -08:00
Jonathan Zernik
00fc72514f
Use squeaklib with ptlc (#502)
* Rename secret_key

* More work to convert to using PTLC

* Updated most code for PTLC

* More work to use ptlc with secret key

* Got itest passing

* Remove unused import

* Use version 0.5.0 of squeaklib

* Added simple unit test for squeak controller

* Use modular addition subtraction for secret key nonce tweak

* Move util to core folder

* Store secret key as hex in database

* Store nonce as hex in db
2020-12-25 20:17:54 -08:00
Jonathan Zernik
a9e663c268
Update static build (#497) 2020-11-30 23:53:04 -05:00
azernik
c4b54a6a0a
Remove channel item expand btn (#496)
* added transaction details to TransactionItem display

* frontend wallet page changes

* fixed horizontal width bug
fixed ChannelItem.js click bug

* fixed pending channel bug

* fixed expand channel details

* added visualization to ChannelItem balance
2020-11-30 23:11:52 -05:00
Jonathan Zernik
70836e6087
Update static build (#494) 2020-11-25 14:44:55 -05:00
azernik
6231832cbe
redid styles code for wallet page (#473)
* added transaction details to TransactionItem display

* frontend wallet page changes

* fixed horizontal width bug
fixed ChannelItem.js click bug

* fixed pending channel bug

* fixed expand channel details
2020-11-25 13:51:27 -05:00
Jonathan Zernik
9de9c80549
Always save squeak with block header (#490)
* Make block header required non-nullable in squeak table

* Remove unused block verifier worker classes
2020-11-24 17:36:41 -05:00
Jonathan Zernik
fad797fa45
Fix wait for block index in lnd (#487)
* Fix bug where trying to kill same process twice.

* Increase time to check for running lnd
2020-11-24 01:49:19 -05:00
Jonathan Zernik
c62d4229cf
Remove btcd cert shared volume (#486)
* Remove shared volume for btcd cert file

* Got ssl cert working as a config

* Remove old comment about adding ssl certificate in dockerfile
2020-11-24 01:18:53 -05:00
Jonathan Zernik
c1e1f7c224
Wait for lnd to succeed in connecting to bitcoin before starting (#485) 2020-11-23 23:06:34 -05:00
Jonathan Zernik
dbd3598eb9
Reduce lnd sleep time to 30 s (#484) 2020-11-23 21:04:11 -05:00
Jonathan Zernik
64643b25a8
Use docker compose overrides for testnet mainnet (#482)
* Use default override file for docker-compose testnet

* Add mainnet docker-compose override file

* Put common environment variables in main docker-compose file

* Update readme with instructions for mainnet override
2020-11-23 20:43:19 -05: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
5babad14ac
Update readme for default network config (#479) 2020-11-22 23:25:41 -05:00
Jonathan Zernik
13574a3520
Make log line for sent offer verifier lnd failure simpler (#478) 2020-11-22 23:02:12 -05:00
Jonathan Zernik
cbd7a8b2a7
Use testnet by default (#477) 2020-11-22 22:55:58 -05:00
Jonathan Zernik
e6c7d19690
Remove old db config (#476) 2020-11-22 22:43:55 -05:00
Jonathan Zernik
32cdff9a85
Make peer sync efficient (#475) 2020-11-22 22:24:09 -05:00
Jonathan Zernik
f35451977b
Update static build (#474) 2020-11-21 12:30:41 -05:00
Jonathan Zernik
7b5513dc8d
Fix subscribe received payments, only process each index once (#472) 2020-11-21 10:29:18 -05:00
Jonathan Zernik
d25a56ccb1
Subscribe received payments (#471)
* Got subscribe received payments working

* Add test for subscribe received payments
2020-11-21 03:30:45 -05:00
Jonathan Zernik
c5e5889135
Rename get timeline squeak displays (#469)
* Rename get timeline squeak displays and don't filter for following

* Update static build
2020-11-20 23:26:14 -05:00
Jonathan Zernik
9d10acc4e9
Delete expired sent offers in background worker thread (#465) 2020-11-15 14:47:52 -05:00
Jonathan Zernik
2a90e3f1b6
Check for existing sent offer before creating new (#464)
* Check for existing sent offer before sending new offer

* Load offer from saved offer in db

* Include payment request in sent offers table

* Remove old comments

* Organize saving and loading of saved sent offer when sending buyer offer
2020-11-15 01:34:43 -05:00
Jonathan Zernik
0cd0cec893
Update static build (#462) 2020-11-14 19:37:27 -05:00