Commit Graph

65 Commits

Author SHA1 Message Date
Felix
af75c33b16
Add criptoya.com api to price providers (#748)
Co-authored-by: Reckless_Satoshi <90936742+Reckless-Satoshi@users.noreply.github.com>
2023-07-24 17:49:55 +00:00
Reckless_Satoshi
5ff70bccb7
Add core-lightning as backend lightning node vendor (#611)
* Add CLN node backend image and service (#418)

* Add cln service

* Add hodlvoice Dockerfile and entrypoint

* Add lnnode vendor switch (#431)

* Add LNNode vendor switch

* Add CLN version to frontend and other fixes

* init

* first draft

* add unsettled_local_balance and unsettled_remote_balance

* gen_hold_invoice now takes 3 more variables to build a label for cln

* remove unneeded payment_hash from gen_hold_invoice

* remove comment

* add get_cln_version

* first draft of clns follow_send_payment

* fix name of get_lnd_version

* enable flake8

* flake8 fixes

* renaming cln file, class and get_version

* remove lnd specific commented code

* get_version: add try/except, refactor to top to mimic lnd.py

* rename htlc_cltv to htlc_expiry

* add clns lookup_invoice_status

* refactored double_check_htlc_is_settled to the end to match lnds file

* fix generate_rpc

* Add sample environmental variables, small fixes

* Fix CLN gRPC port

* Fix gen_hold_invoice, plus some other tiny fixes (#435)

* Fix channel_balance to use int object inside Amount (#438)

* Add CLN/LND volume to celery-beat service

* Add CLN/LND volume to celery-beat service

* Bump CLN to v23.05

* changes for 0.5 and some small fixes

* change invoice expiry from absolute to relative duration

* add try/except to catch timeout error

* fix failure_reason to be ln_payment failure reasons, albeit inaccurate sometimes

* refactor follow_send_payment and add pending check to expired case

* fix status comments

* add send_keysend method

* fix wrong state ints in cancel and settle

* switch to use hodlinvoicelookup in double_check

* move pay command after lnpayment status update

* remove loop in follow_send_payment and add error result for edge case

* fix typeerror for payment_hash

* rework follow_send_payment logic and payment_hash, watch harder if pending

* use fully qualified names for status instead of raw int

* missed 2 status from prev commit

* Always copy the cln-grpc-hodl plugin on start up

* Fix ALLOW_SELF_KEYSEND linting error

* Fix missing definition of failure_reason

---------

Co-authored-by: daywalker90 <admin@noserver4u.de>
2023-05-22 14:56:15 +00:00
Reckless_Satoshi
0a620901a7
Add keysend devfund donations functionality (#589) 2023-05-16 17:12:15 +00:00
Reckless_Satoshi
7b6ebd0eab
Simplify coordinator updates, automatic migrations and collect statics (#583) 2023-05-15 09:46:59 +00:00
Reckless_Satoshi
0f28990bea
Add new api for external prices (non-tor only) bitpay 2023-05-10 14:05:52 -07:00
Reckless_Satoshi
4d62ea1549
Delete coordinator referral program functionality 2023-05-05 05:32:52 -07:00
Reckless_Satoshi
e6ddcf9e4b
Add RobotTokenSHA256 middleware, /api/robot and frontend entropy calc (#512)
* Add RobotTokenSHA256 middleware for in-the-fly robot generation/login

* Add RobotView, fix middleware, upgrade frontend

* Token header as base91

* Add OAS schema of RobotView

* Use RobotView on new fetchRobot(), mimick old fetchRobot() functionality

* Upgrade websockets for token based authentication

* Small fixes

* Add frontend token entropy checks, add token on route /robot/<token>

* Rename admin panel

* Collect phrases
2023-05-05 10:12:38 +00:00
Reckless_Satoshi
b9aaf9f1bc
Add permissioned payouts mode debugging envvar 2023-04-25 03:13:28 -07:00
Reckless_Satoshi
399f8102f2
Add notification for new in-app chat messages (#403)
* Add TG message for new in-app chat messages

* Add emojis and collect phrases
2023-03-27 09:37:36 +00:00
Reckless_Satoshi
7fdbebb2aa
Add envvars for target_conf 2023-03-18 03:39:37 -07:00
Reckless_Satoshi
82c8f2280b
Add MAX_SWAP_AMOUNT envvar (#389) 2023-03-14 19:54:31 +00:00
Reckless_Satoshi
ef55207812
Add envvar for spend_unconfirmed 2023-03-10 04:52:33 -08:00
Reckless_Satoshi
588691c4c8
Add new payment methods and rename posgres_db envvar 2022-08-09 02:44:29 -07:00
Reckless_Satoshi
5281176e3c
Add use_tor boolean to envvars 2022-08-08 08:58:06 -07:00
Reckless_Satoshi
5ed4245298
Add tor proxy setting to envvars 2022-08-03 14:21:02 -07:00
zx9r
3ae6087a87
Add bitcoin RPC methods for onchain address validation (#198)
* Added params to connect to bitcoin core daemon. Needed by api.utils.validate_onchain_address()

* Fixes issue#194

* Modified BITCOIND_RPCUSER and BITCOIND_RPCPASSWORD to default development environment

* Modified BITCOIND_RPCURL port number to default development environment
2022-07-31 14:35:12 +00:00
Reckless_Satoshi
8423896285
Tight CLTV expiry dynamically 2022-07-21 06:19:47 -07:00
Reckless_Satoshi
03e4bbc1a5
Create django.yml 2022-07-13 13:28:24 -07:00
Reckless_Satoshi
b76b333413
Fix clean onchain_payment, also deletes 'created' objects. Fix rewards timeout 2022-07-10 04:04:27 -07:00
Reckless_Satoshi
4dff7efbb7
Raise max amount to 3M Sats. Fix testnet/platform alternative site. Bump LND. 2022-07-10 03:54:00 -07:00
Reckless_Satoshi
65f781af43
functional, but chat does not send messages (it does receive) 2022-06-26 15:43:57 -07:00
Reckless_Satoshi
e8fb090f18
Raise max trade size to 2.2m. Update send/receive icon. 2022-06-18 08:30:57 -07:00
Reckless_Satoshi
164a960b62
Merge branch 'onchain-buyer-payouts' into main #160 2022-06-17 05:19:59 -07:00
Reckless_Satoshi
efed6b3c0a
Pay buyer onchain-tx 2022-06-16 08:31:30 -07:00
Reckless_Satoshi
b1d68a39f7
Add onchain logics pt3 2022-06-09 10:41:21 -07:00
Reckless_Satoshi
9da33b60e6
Lower time between retries to 1min. Disable ResetMC. Increase timeout. 2022-06-09 03:56:17 -07:00
Reckless_Satoshi
cf82a4d6ae
Add onchain logics pt2 2022-06-06 13:37:51 -07:00
Reckless_Satoshi
f538d26355
Create Balance model and log task 2022-06-06 02:32:39 -07:00
Reckless_Satoshi
4ac3618fd7
Add routing timeout to .env 2022-06-05 09:15:40 -07:00
Reckless_Satoshi
f20a7d5636
Raise max to 1.5m, update docs and fix links 2022-06-04 15:13:58 -07:00
Reckless_Satoshi
7623d30670
Add new PGP keys validation on backend. Raise default bond size to 3% and minimum to 2% 2022-06-01 16:49:27 -07:00
Reckless_Satoshi
d31bd63edc
Add maker selects fidelity bond size 2022-03-18 15:09:38 -07:00
Reckless_Satoshi
a36f23b572
Add maker selects public duration 2022-03-18 14:21:13 -07:00
Reckless_Satoshi
5c5e7918e8
Add datetime picker for public order expiration 2022-03-15 13:40:54 -07:00
Reckless_Satoshi
ce25a6b3c7
Reward robots for counterpart slashed bonds 2022-03-07 13:46:52 -08:00
Reckless_Satoshi
4677f73720
Increase max trade limit to 800K Sats 2022-03-07 09:04:29 -08:00
Reckless_Satoshi
87365b4b8b
Add envvar for reward routing fee limit 2022-03-06 10:10:05 -08:00
Reckless_Satoshi
4ee6778e11
Implement referral attributes and logics 2022-03-05 10:45:42 -08:00
Reckless_Satoshi
c4cf995dbf
Add maker_fee_split. Show maker/taker fee split in app 2022-03-03 04:47:55 -08:00
Reckless_Satoshi
fba6749500
Implement max public orders limit 2022-02-25 12:08:22 -08:00
Reckless_Satoshi
df320ea4d0
Add telegram functionality to backend. Messages: welcome and order taken. 2022-02-21 15:41:36 -08:00
Reckless_Satoshi
0b7542bf68
Add postgresql envvars 2022-02-20 04:03:53 -08:00
Reckless_Satoshi
03bfc487ea
Clarificatory patch. You MUST provide a contact in disputes. Fiat INSTANT methods are needed. 2022-02-20 03:12:57 -08:00
Reckless_Satoshi
1e0bd51f1f
Add BTC (rBTC, wBTC, swaps...). Fix setup guide and env-sample. 2022-02-16 14:02:21 -08:00
Reckless_Satoshi
d77b8404c6
Merge branch 'stabilize-runtime' of github.com:Reckless-Satoshi/robosats into stabilize-runtime 2022-02-13 09:55:52 -08:00
Reckless_Satoshi
3ce5d8304c
Typo robosat -> robot. Shorten welcome back msg 2022-02-13 09:55:44 -08:00
rs
a9a344fddf Fix taker bond is not return on maker cancel. Update all libs. Add extra hosts. 2022-02-13 16:43:49 +00:00
rs
04e097536e Add allowed local host alias 2022-02-12 23:09:13 +00:00
Reckless_Satoshi
d257848940
Add statsfornerds: alternative site, node alias, node id, 1ML link 2022-02-12 05:59:59 -08:00
Reckless_Satoshi
27ebf29397
Add secret_key to env, fix docker CMD bug 2022-02-10 13:38:56 -08:00