No description
Find a file
Jonathan Zernik 76ad744936
Updrage squeaklib to 0.7.1 (#1194)
* Updrage squeaklib to 0.7.1

* Add case to handle secret key msg in peer msg handler

* Add fields for custom price and use custom price to profile table

* Got itest working with new profile fields

* Use default values for profile struct constructor

* Fix db migration to use use profile columns

* Got itest passing for set use custom price

* Show custom price or default price in profile page

* Change wording of selling with price in profile page

* Got set use custom price toggle working in configure profile dialog
2021-09-05 12:30:58 -07:00
.github/workflows Update main.yml (#555) 2021-01-03 23:09:10 -08:00
docker Implement block subscription client (#1141) 2021-09-01 06:06:11 -07:00
docs Remove docker link from readme (#1156) 2021-09-02 14:29:38 -07:00
frontend Updrage squeaklib to 0.7.1 (#1194) 2021-09-05 12:30:58 -07:00
itests Updrage squeaklib to 0.7.1 (#1194) 2021-09-05 12:30:58 -07:00
proto Updrage squeaklib to 0.7.1 (#1194) 2021-09-05 12:30:58 -07:00
squeaknode Updrage squeaklib to 0.7.1 (#1194) 2021-09-05 12:30:58 -07:00
tests Updrage squeaklib to 0.7.1 (#1194) 2021-09-05 12:30:58 -07:00
.dockerignore Add get squeaks for address rpc method (#108) 2020-07-21 16:12:26 -07:00
.flake8 Add precommit hooks (#526) 2020-12-28 23:52:32 -08:00
.gitignore Use data classes instead of namedtuples (#508) 2020-12-26 01:00:58 -08:00
.pre-commit-config.yaml Add license headers (#1080) 2021-08-27 18:31:53 -07:00
config-mainnet.ini Add mainnet config.ini file (#652) 2021-01-14 10:25:37 -08:00
config.ini Rename core config to node config (#1045) 2021-08-24 01:13:24 -07:00
createdb.sql Fix serialization of payment hash db (#579) 2021-01-08 00:48:16 -08:00
Dockerfile Use correct ports for expose in dockerfile (#906) 2021-08-10 21:57:36 -07:00
LICENSE Update LICENSE (#71) 2020-07-15 16:00:13 -07:00
Makefile Clean up makefile (#570) 2021-01-06 23:47:50 -08:00
MANIFEST.in Show custom user avatar (#740) 2021-01-28 22:37:55 -08:00
README.md Remove docker link from readme (#1156) 2021-09-02 14:29:38 -07:00
requirements-dev.txt Add precommit hooks (#526) 2020-12-28 23:52:32 -08:00
requirements-itest.txt Updrage squeaklib to 0.7.1 (#1194) 2021-09-05 12:30:58 -07:00
requirements.txt Updrage squeaklib to 0.7.1 (#1194) 2021-09-05 12:30:58 -07:00
setup.cfg Fix license files config (#1063) 2021-08-24 21:22:00 -07:00
setup.py Updrage squeaklib to 0.7.1 (#1194) 2021-09-05 12:30:58 -07:00
start-squeaknode.sh Improve squeaknode entrypoint command (#583) 2021-01-08 14:17:43 -08:00
tox.ini Add precommit hooks (#526) 2020-12-28 23:52:32 -08:00

squeaknode

Node for Squeak protocol

Run a node:

Requirements

  • a bitcoin node
  • an LND node
  • Python 3.6 or later

Steps

  • Update the config.ini file and fill in the relevant sections to connect to your bitcoin and lnd nodes:

    [core]
    network=testnet
    
    [lnd]
    host=localhost
    external_host=lnd_server
    tls_cert_path=~/.lnd/tls.cert
    macaroon_path=~/.lnd/data/chain/bitcoin/testnet/admin.macaroon
    
    [bitcoin]
    rpc_host=localhost
    rpc_port=18332
    rpc_user=devuser
    rpc_pass=devpass
    
    [webadmin]
    enabled=true
    username=devuser
    password=devpass
    
  • Install squeaknode:

    $ pip install -r requirements.txt
    $ python setup.py install
    
  • Start the squeaknode:

    $ squeaknode --config config.ini
    
  • Go to http://localhost:12994/ and use the username/password in config.ini to log in.

Test

Unit tests:

Requirements

  • tox
$ make test

Integration tests:

Requirements

  • docker-compose
  • jq
$ make itest