Commit graph

263 commits

Author SHA1 Message Date
Tanguy Pruvot
5460cb205d stratum: increase decred blocks purge time
show some user diff and finder id on block accept

curl: increase the credentials field size to allow very long passwords
2016-02-23 19:27:39 +01:00
Tanguy Pruvot
4d23f95d04 decred: dust seems to be 0.025, under the tx fee 2016-02-22 12:47:12 +01:00
Tanguy Pruvot
4f0ad69619 stratum: fix wrong yaamp default diff field on connect
global change, not related to recent changes or decred additions
2016-02-21 02:05:20 +01:00
Tanguy Pruvot
bd0cf57a9c blocknotify: sample decred relay daemon
go websocket connector which call our blocknotify tool
its specific to decred, which doesn't handle the "blocknotify=" config key

Thanks to Davec for the sample tool :)
2016-02-20 15:35:51 +01:00
Tanguy Pruvot
f1779325fc poloniex: fix some weird issues 2016-02-20 14:40:22 +01:00
Tanguy Pruvot
52e99b4d77 rpc/curl: retry getwork if no data was received
seems to happen with a high number of workers... (overflow)
2016-02-20 14:30:36 +01:00
Tanguy Pruvot
9ec0fe758f workers: show current stratum session shares 2016-02-20 14:28:36 +01:00
Tanguy Pruvot
993cb428f5 wallet: show rpc listtransactions error 2016-02-20 09:15:53 +01:00
Tanguy Pruvot
0399cc2c95 payments: handle deleted coins 2016-02-19 20:25:57 +01:00
Tanguy Pruvot
01964f7ff9 payments: show failed payout users in the table
this admin view is made to show owed balances...
2016-02-19 19:41:46 +01:00
Tanguy Pruvot
75969e2d0b payments: improve layout, add immataure and failed columns 2016-02-19 08:12:18 +01:00
Tanguy Pruvot
e3374b88c2 noblocknofify: add a small delay before declaring it orphan 2016-02-19 00:27:42 +01:00
Tanguy Pruvot
051e3fc786 noblocknotifiy: use the right blockhash 2016-02-18 12:10:26 +01:00
Tanguy Pruvot
48964e8393 stratum: allow to bypass blocknotify requests
for decred, to detect new blocks faster and store finder infos
2016-02-17 17:30:24 +01:00
Tanguy Pruvot
62f8e3e344 enhance "payout check" command for VNL
and allow to link account data to the payout model
2016-02-17 06:24:54 +01:00
Tanguy Pruvot
8a313b1281 decred: coinbase cleanup, to finish...
their coinbase structure is still a bit different
2016-02-16 09:58:44 +01:00
Tanguy Pruvot
35e0ada99d wallet: ignore spent blocks in listtransactions and fix order
unlike other wallets, a send operation generate 2 "transactions"
one for the send, and another with a bad time for the "spent" block
2016-02-16 06:05:43 +01:00
Tanguy Pruvot
c28400a92e payouts: use a new config variable for the minimum 2016-02-16 05:37:03 +01:00
Tanguy Pruvot
b103cee988 payouts: prevent dust payments under tx fee amount 2016-02-15 17:19:08 +01:00
Tanguy Pruvot
9cbd9bf5e3 stratum: prepare real decred stratum
not finished, commited to test on another server

but, remains the problem of decred custom header fields... stakeroot etc
which should be passed to the miner..
2016-02-15 08:19:12 +01:00
Tanguy Pruvot
e2f982300c decred: detect generated blocks + stratum fix
backend:
  generated blocks were not auto detected (to double check)

stratum:
  seen on a new setup, if dcrd doesnt have --miningaddr set
  stratum is not able to distribute jobs and was crashing
2016-02-14 14:07:13 +01:00
Tanguy Pruvot
cc364febfc decred: listtransactions doesnt use account name 2016-02-14 07:27:59 +01:00
Tanguy Pruvot
e669e1cc05 remove banx exchange, closing 2016-02-14 05:47:11 +01:00
Tanguy Pruvot
63ecb1515c extend maximum user address length to 35 chars 2016-02-14 04:21:01 +01:00
Tanguy Pruvot
51e846c1fd yiimp: handle decred default account 2016-02-14 04:09:23 +01:00
Tanguy Pruvot
49a5d8068c stratum: getwork sleep typo + new time funcs 2016-02-13 13:30:27 +01:00
Tanguy Pruvot
88733a14e6 stratum: new rpc curl ini/conf setting 2016-02-13 11:00:45 +01:00
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