Commit graph

886 commits

Author SHA1 Message Date
Tanguy Pruvot
1c230f4d60 add decred algo port + sample conf 2016-02-13 11:00:33 +01:00
Tanguy Pruvot
984cb266cf decred: prevent auto_ready reset on gbt error 2016-02-13 10:22:37 +01:00
Tanguy Pruvot
b7b01648d0 rpc curl code cleanup, to allow multiple connections
remove dead code and keep curl session initialized until coind disconnect
2016-02-13 08:44:14 +01:00
Tanguy Pruvot
55ada4b908 decred: prepare a usegetwork setting 2016-02-13 07:38:38 +01:00
Tanguy Pruvot
b6045518ed getwork: fix result bool value 2016-02-12 22:37:40 +01:00
Tanguy Pruvot
3b06670e1c coin id 2016-02-12 22:09:10 +01:00
Tanguy Pruvot
97e8dea474 decred: use getwork... sigh 2016-02-12 22:09:06 +01:00
Tanguy Pruvot
8d34b5a187 decred: submit block override, to test 2016-02-12 15:31:59 +01:00
Tanguy Pruvot
5ef293e938 decred stratum hack with extranonce field
override the coinbase field with the static part of the decred header...
2016-02-12 14:49:18 +01:00
Tanguy Pruvot
e4d7dfe37d stratum makefile cleanup 2016-02-12 09:01:47 +01:00
Tanguy Pruvot
c55b75e6b5 wallet: complete the send/sell to market dialog
also fix and style the flash messages
2016-02-05 09:20:51 +01:00
Tanguy Pruvot
319fe43370 payouts: use a variable for the default account name 2016-02-04 20:08:02 +01:00
Tanguy Pruvot
b47be3a075 stratum: fix the template warning 2016-02-04 06:00:08 +01:00
Tanguy Pruvot
a24bf3dd3c stratum: allow to use curl (optional) for HTTP/1.1 chunks
Todo: SSL RPC connections... user/pw vars may be required...

Also, update the make files and handle better the getwork client requests..

Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2016-02-04 04:23:06 +01:00
Tanguy Pruvot
c615d086b4 stratum: workaround for HTTP/1.1 chunked data (decred gbt)
fallback to HTTP 1.0 if a wallet send chunked data transfers
Else show a message if Content-Length header is not returned (gbt)

But... decred gbt format remains too much different...

Store default account (its not the empty one "" in decred)

Note: This commit also fix some possible segfaults when the wallet
doesn't return what is expected...
2016-02-03 09:20:04 +01:00
Tanguy Pruvot
20c8056943 stratum: prepare future rpc of TLS
split "https://mycert@host" host field
2016-02-03 05:05:50 +01:00
Tanguy Pruvot
05abacb584 Handle TLS wallets
Sample RPC host name : https://dcrd@127.0.0.1
2016-02-03 02:04:24 +01:00
Tanguy Pruvot
f929225964 coin: add links and rpcencoding fields to the form 2016-02-03 01:31:06 +01:00
Tanguy Pruvot
87466a31f8 payouts: txmessage and add some traces 2016-02-02 23:16:20 +01:00
Tanguy Pruvot
23e43aa6a2 handle payout of coins without btc price 2016-02-02 23:14:16 +01:00
Tanguy Pruvot
be1bd1f278 cryptsy: disable markets 2016-01-31 19:04:57 +01:00
Tanguy Pruvot
e27aa0e69f safecex: remove useless break 2016-01-31 19:04:52 +01:00
Tanguy Pruvot
09d4a1f1f7 stratum: small issue seen on bitcoin wallet 2016-01-27 16:57:10 +01:00
Tanguy Pruvot
d9d1be135e Add support for VNL blake 2016-01-27 16:56:28 +01:00
Tanguy Pruvot
9d1c34f894 argon2: clean stratum code
remove dead code detected after cpuminer implementation
2016-01-25 03:12:21 +01:00
Tanguy Pruvot
52580a5636 Add argon2 algo support 2016-01-24 17:15:40 +01:00
Tanguy Pruvot
f4371654d7 stratum: some cleanup about coinbase and txmessage
txmessage/pos change was suggested by bitbandi...
2016-01-24 17:15:37 +01:00
Tanguy Pruvot
655ca8cd71 stats: also hide unused algos from the dropdown list 2016-01-23 15:33:24 +01:00
Tanguy Pruvot
2badfd40c9 api: do not output disabled algos stats 2016-01-23 15:07:17 +01:00
Tanguy Pruvot
61f280b64d algos: enable whirlpool and myr-gr
drop fresh
2016-01-23 14:37:15 +01:00
crackfoo
1f68e1c0cc Added BTC balance pending to stats page 2016-01-23 11:41:56 +01:00
Tanguy Pruvot
fa47829c4e stratum: attempt to reduce memory leaks 2016-01-20 14:49:58 +01:00
Tanguy Pruvot
31e908531a admin: allow multiple ips 2016-01-19 14:12:12 +01:00
Tanguy Pruvot
13d56d462d bittrex cleanup + c11 sample conf 2016-01-19 13:42:05 +01:00
Tanguy Pruvot
4cce4a3739 charity: add charity fields on the form and notes 2016-01-18 13:37:20 +01:00
Tanguy Pruvot
2a6ccf6e8f stratum: implement mandatory foundation txs (dev fees)
At least 2 coins are using this system (EGC and LTCR)

Fields are present in the database but were not used, link them.
2016-01-18 12:08:44 +01:00
Tanguy Pruvot
d2e22b3d27 cryptsy: rip... sigh 2016-01-16 02:12:08 +01:00
Tanguy Pruvot
a81493224d add banx private api (v3) support
get deposit addresses...
2016-01-15 20:40:44 +01:00
Tanguy Pruvot
ea8abb3032 yiimp: add exchange command, for private api tests 2016-01-15 16:13:18 +01:00
Tanguy Pruvot
b54a5c8102 exchanges: reduce api calls to check deposit addresses 2016-01-15 16:13:16 +01:00
Tanguy Pruvot
3a6ec3201a memcache: allow yii to use cache too (db structure)
cache is now enabled in yiimp console too
2016-01-15 15:08:14 +01:00
Tanguy Pruvot
235dc7411b bleutrade: try to reduce SSL errors with TLS 2016-01-15 15:03:28 +01:00
Tanguy Pruvot
6d12e9aa80 cryptopia: add private api function/balance 2016-01-15 14:49:02 +01:00
Tanguy Pruvot
2a1ce0da24 safecex: reduce private api queries to the minimum
deposit addresses call is not required each 15/20 minutes..

so only check for changed/new deposit addresses on new coins
and/or when a market address is (re)set to an empty value
and/or each 12 hours...

also, handle the new name field for new coins in public api

todo: apply to other exchanges,
2016-01-14 15:34:15 +01:00
Tanguy Pruvot
e3bd3de87d exchanges: allow to ignore some with empty keys/secret
- cryptsy is now used in low priority as default market

- remove keys.php from default defines, only loaded when used

- safecex prepare balances and deposit addresses (not ready yet)
2016-01-13 14:17:35 +01:00
Tanguy Pruvot
07699af80d blocks: enhance view and use explorer site define
now sortable, with links to explorer and admin wallet
2016-01-13 10:20:05 +01:00
Tanguy Pruvot
486014e92e config: add default defines and explorer/safecex keys 2016-01-13 10:20:02 +01:00
Tanguy Pruvot
9d0e376cab earnings: save sort to allow multiple ops on filter 2016-01-12 21:35:42 +01:00
Tanguy Pruvot
34094fe3a2 explorer: new multi algos definition 2016-01-12 21:17:32 +01:00
Tanguy Pruvot
01b31e5b8b explorer: handle ppc block's time returned as text date 2016-01-12 18:08:36 +01:00