Blockstream Satellite
ef8b74e454
Add status badge for unit tests
2021-07-22 09:32:41 -03:00
Blockstream Satellite
e6cd148bc6
Support auth_token given as query string parameter
2021-07-21 14:43:44 -03:00
nitramiz
19a5e08e91
CI: add build job for tags; TF: cleanup
2021-07-21 10:34:58 -07:00
Blockstream Satellite
876c6de170
Fix line break on invoice callback URL
2021-07-21 13:52:45 -03:00
nitramiz
b6f14cbf73
CI: don't run test job on tags
2021-07-21 06:14:25 -07:00
Blockstream Satellite
69b97e9eae
Randomize charge api token's getenv fallback value
...
If the env var is not defined, fall back to a random string. However,
note the random string won't work over gunicorn if using multiple
workers. In this case, it is necessary to define the env var.
2021-07-20 15:05:11 -03:00
nitramiz
608e61692a
TF: update check_containers alert
2021-07-20 08:58:03 -07:00
nitramiz
ebe74cb80a
CI: remove redundant plan_satapi job
2021-07-20 12:28:49 -03:00
nitramiz
c0c904d7ff
TF: move iptables 4500 rule to correct service
2021-07-20 12:28:49 -03:00
nitramiz
ff1081033c
TF: rename the tx-daemon and sse services
2021-07-20 12:28:49 -03:00
Blockstream Satellite
095034b7dd
TF: Review the api-server and charge service order
2021-07-20 12:28:49 -03:00
nitramiz
a110135f6d
CI job nits
2021-07-20 12:28:49 -03:00
nitramiz
a89d2f3e70
TF: systemd services nits
2021-07-20 12:28:49 -03:00
nitramiz
9d8f4f16eb
CI: update job trigger rules
2021-07-20 12:28:49 -03:00
Blockstream Satellite
a6e5102641
TF: change lightningd prom metrics iptables port
2021-07-20 12:28:49 -03:00
Blockstream Satellite
4cf05d45f0
TF: make api-server PROACTIVE
2021-07-20 12:28:49 -03:00
nitramiz
79eb73f223
CI: manual image builds on all branches
2021-07-20 12:28:49 -03:00
nitramiz
5860c65540
CI: GCR docker auth; rename ionosphere to api-server
...
TF: add CI service account; add REDIS_URI to services
2021-07-20 12:28:49 -03:00
Blockstream Satellite
7f6d4b3a6b
CI: Review CI to allow deployment from any branch
...
- If a staging_/prod_/misc_ tag is present, or if merging to master,
push the Satellite API image upstream.
- Tag images with the commit SHA and the commit ref slug (.e.g, branch
name) for caching. Tag with latest if merging to master.
- Deploy the image specified by commit SHA.
2021-07-20 12:28:49 -03:00
Blockstream Satellite
fd36995b66
CI: Push Docker images to gcloud registry
2021-07-20 12:28:42 -03:00
Blockstream Satellite
afbd02f759
TF: prepare staging
2021-07-20 12:28:28 -03:00
Blockstream Satellite
be67323a24
CI/TF: Updates for python-ported version
2021-07-20 12:28:28 -03:00
Blockstream Satellite
3d7a5b764d
Add expired invoice error and rename paid error
...
- Add new error: INVOICE_ALREADY_EXPIRED.
- Rename ORDER_ALREADY_PAID to INVOICE_ALREADY_PAID.
2021-07-20 12:28:08 -03:00
Blockstream Satellite
90f7c12783
Remove unused/obsolete API error codes
...
The new server implementation in Python implements request validation
using the Marshamallow package. With that, some requests are validated
directly by the marshmallow validator and do not return custom error
codes. Drop those error codes and other unused ones. Review the README
docs accordingly.
2021-07-20 12:28:08 -03:00
Blockstream Satellite
24a4c5ccb7
Do not round the order's bid_per_byte value
...
Store the fractional value on the db. Let the frontend round if
necessary but keep it non-rounded on the backend.
2021-07-20 12:28:08 -03:00
Blockstream Satellite
1568ee54f2
Add a new error code for fetching info
...
Return a json response with a custom error code like most other API
endpoints.
2021-07-20 12:28:08 -03:00
Blockstream Satellite
d8e7516f01
Add date filter and paging on all orders/ states
...
- Add date filtering (before parameter) to /queued.
- Add page limit to /sent and /pending.
2021-07-20 12:28:08 -03:00
Blockstream Satellite
9d421771e7
Port the satellite API to python
...
- Preserve the SQLite database and use SQLAlchemy to wrap db
interactions.
- Use Alembic for database migrations.
- Organize all the python modules on the new server/ directory.
- Use pytest for unit tests and organize test modules at server/tests/.
2021-07-20 12:28:08 -03:00
Blockstream Satellite
8a332afcb0
TF: cleanup unused postgres service
2021-07-20 12:28:08 -03:00
Blockstream Satellite
825d04b651
CI: remove testnet_staging jobs
2021-07-20 12:28:08 -03:00
nitramiz
0dbeb9feab
CI: terraform 0.14.5
2021-03-29 08:34:55 -07:00
nitramiz
417b52ad5e
update lightningd to 0.9.3
...
remove LB autoscaler
2021-03-29 08:10:23 -07:00
nitramiz
905e7e6a87
CI: update misc jobs
2021-02-23 07:33:03 -08:00
nitramiz
a4281072b6
update DNS; output LB's internal IP
2021-02-23 07:23:07 -08:00
nitramiz
c4be27d1cb
tf: update auth endpoint
2021-02-22 10:42:49 -08:00
nitramiz
77e920be6f
increase max file size for btc-src orders
2021-01-28 10:16:34 -08:00
Igor Freire
35b61e0685
Handle auth/ and btc-src/ via LB
2021-01-28 07:03:12 -08:00
Igor Freire
2ae72ccc59
Add lower limit of one satoshi on bids
...
Many Lightning wallets do not support payments below 1 sat (in
millisatoshis). For wider compliance, set a lower limit of 1 sat on orders,
while preserving the minimum bid per byte requirement for orders whose absolute
bid exceeds 1 sat.
2021-01-22 17:16:45 -03:00
Igor Freire
d27e5152f1
Update default minimum bid per byte
2021-01-22 17:16:44 -03:00
nitramiz
8140500367
CI: update docker and alpine + remove cache_from + add network=host to build_ci_image job (and test_build job)
2021-01-19 14:30:29 -08:00
nitramiz
414341b3fa
tf: update the LB's cert-renewer.service to reload nginx
2020-12-31 07:35:39 -08:00
nitramiz
9c04dd66d0
lower min per byte bid to 1msat/byte
2020-12-07 12:45:48 -08:00
nitramiz
0cc8cb10f7
CI: update job tags
2020-12-07 09:46:08 -08:00
nitramiz
b6ea319c0a
LB gossip order fix
2020-11-04 05:27:29 -08:00
Chase Sillevis
0ab56847c2
more LB patches: /gossip/order protection fix, 2MB upload limit
2020-11-03 10:31:28 +01:00
Chase Sillevis
c9cd6a31ea
nginx lb: also protect /gossip/order
2020-11-02 19:10:18 +01:00
nitramiz
bb0845af89
LB nits
2020-10-29 08:50:58 -07:00
nitramiz
cfe2cf3136
handle /gossip via LB
2020-10-29 08:34:07 -07:00
nitramiz
17aa8c0319
tf: fix interpolation syntax
2020-10-28 08:51:17 -07:00
nitramiz
81885d4142
CI: add init after workspace select
2020-09-25 15:12:36 -07:00