-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #81 from HarryR/HarryR/HTLC-improvements
Py2->Py3 bug fixes, Travis CI, HTLC improvements.
- Loading branch information
Showing
28 changed files
with
772 additions
and
498 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,3 +15,4 @@ lextab.py | |
yacctab.py | ||
*.swp | ||
*.swo | ||
*.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
sudo: enabled | ||
language: python | ||
python: | ||
- '3.6' | ||
install: | ||
- make requirements-dev requirements | ||
script: | ||
- make travis | ||
git: | ||
depth: 3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM jfloff/alpine-python:2.7 | ||
FROM jfloff/alpine-python:3.6 | ||
|
||
COPY . /app/ | ||
WORKDIR /app | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
[{"constant":false,"inputs":[{"name":"inReceiver","type":"address"},{"name":"inSecretHashed","type":"bytes32"},{"name":"inExpiry","type":"uint256"}],"name":"Deposit","outputs":[{"name":"","type":"bytes32"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"inExchGUID","type":"bytes32"}],"name":"Refund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"inExchGUID","type":"bytes32"},{"name":"inSecret","type":"bytes32"}],"name":"Withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"inExchGUID","type":"bytes32"}],"name":"GetState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"exchanges","outputs":[{"name":"secretHashed","type":"bytes32"},{"name":"sender","type":"address"},{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"},{"name":"expiry","type":"uint256"},{"name":"state","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"exchGUID","type":"bytes32"},{"indexed":true,"name":"receiver","type":"address"},{"indexed":false,"name":"secretHashed","type":"bytes32"},{"indexed":false,"name":"expiry","type":"uint256"}],"name":"OnDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"exchGUID","type":"bytes32"}],"name":"OnRefund","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"exchGUID","type":"bytes32"},{"indexed":false,"name":"secret","type":"bytes32"}],"name":"OnWithdraw","type":"event"}] | ||
[{"constant":true,"inputs":[{"name":"inExchGUID","type":"bytes32"}],"name":"GetReceiver","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"inReceiver","type":"address"},{"name":"inSecretHashed","type":"bytes32"},{"name":"inExpiry","type":"uint256"}],"name":"Deposit","outputs":[{"name":"","type":"bytes32"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"inExchGUID","type":"bytes32"}],"name":"GetAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"inExchGUID","type":"bytes32"}],"name":"Refund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"inExchGUID","type":"bytes32"},{"name":"inSecret","type":"bytes32"}],"name":"Withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"inExchGUID","type":"bytes32"}],"name":"GetExpiry","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"inExchGUID","type":"bytes32"}],"name":"GetSender","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"inExchGUID","type":"bytes32"}],"name":"GetState","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"bytes32"}],"name":"exchanges","outputs":[{"name":"secretHashed","type":"bytes32"},{"name":"sender","type":"address"},{"name":"receiver","type":"address"},{"name":"amount","type":"uint256"},{"name":"expiry","type":"uint256"},{"name":"state","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"inExchGUID","type":"bytes32"}],"name":"GetSecretHashed","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"name":"exchGUID","type":"bytes32"},{"indexed":true,"name":"receiver","type":"address"},{"indexed":false,"name":"secretHashed","type":"bytes32"},{"indexed":false,"name":"expiry","type":"uint256"}],"name":"OnDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"exchGUID","type":"bytes32"}],"name":"OnRefund","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"exchGUID","type":"bytes32"},{"indexed":false,"name":"secret","type":"bytes32"}],"name":"OnWithdraw","type":"event"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.