Commit graph

25 commits

Author SHA1 Message Date
crackfoo
00e5dd024c stratum: update DGB addy check to include multi-alogs (#316) 2018-09-26 16:39:55 +02:00
Tanguy Pruvot
ab24ba8145 stratum: getaddressinfo doesnt return isvalid 2018-05-25 19:22:10 +02:00
Tanguy Pruvot
b5e22c5a00 stratum: DGB getaddressinfo to check master wallet 2018-05-25 15:59:16 +02:00
Tanguy Pruvot
c72dd91511 Revert "stratum: handle ismine check moved in getaddressinfo"
most wallets are not ready for that...

This reverts commit afc80e2a68.
2018-05-25 15:48:33 +02:00
Tanguy Pruvot
afc80e2a68 stratum: handle ismine check moved in getaddressinfo 2018-05-25 15:12:06 +02:00
Tanguy Pruvot
495dcbba00 stratum: detect if master wallet is p2sh + mn started field 2018-05-11 11:18:45 +02:00
Tanguy Pruvot
669ab6bb0f stratum: ensure all blocks are put in db (#241)
may be important for pool op noobs who dunno what they do,
doesn't setup blocknotify or have server efficiency issues..

squashed commit of today's commits, sorry for the mess ;)

prevent job delays if no blocks were submitted
double check coin id on blocknotify
remove noblocknotify boolean
prevent notify debuglog on normal blocks
2018-03-12 19:00:24 +01:00
Tanguy Pruvot
a79e21491a stratum: avoid the use of getinfo 2018-01-30 02:16:51 +01:00
Tanguy Pruvot
12ca8997fe stratum: enhance the script pub key check 2017-02-23 02:17:13 +01:00
Tanguy Pruvot
372a657199 stratum: base58 decode was failing on prefixed addresses 2017-02-21 21:37:08 +01:00
Tanguy Pruvot
4eaab8c05d link new coin fields, auto filled 2016-05-11 21:25:42 +02:00
Tanguy Pruvot
f61d53bc67 stratum: handle block confirmations on multialgos coins
+ var typo fix
2016-05-11 19:59:28 +02:00
Tanguy Pruvot
74b80292a6 stratum/decred: link new db coin rpc fields
And use rpcencoding='DCR' for decred checks,
to handle testnet instances or future forks..
2016-04-20 00:13:11 +02:00
Tanguy Pruvot
284cbcdae7 decred: rename blocknotifygo to blocknotify-dcr
also add a small delay before blockconfirm

also, for locked accounts, use iptables reject with the specific port
2016-03-04 15:16:24 +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
88733a14e6 stratum: new rpc curl ini/conf setting 2016-02-13 11:00:45 +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
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
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
6fb14b3346 stratum: handle coins with a diff under stratum conf
sometimes the nbits value can be under the minimum allowed by the pool
in this case, force it to the minimum (instead of 0).
2016-01-12 15:21:15 +01:00
Tanguy Pruvot
db2efc310d stratum: only accept compatible addresses
add cflag to only allow compatible mining addresses

and set user coinid directly on connect,
Without that, there are wallet conflicts (CHC vs CTO)

assign the right coin job when exchange is disabled

backend: share only the mined coin
2015-07-23 06:00:19 +02:00
Tanguy Pruvot
2738fe1439 stratum: attempt to support skeincoin wallet
accountaddress doesnt return an array but a simple string....
2015-07-23 05:56:46 +02:00
root
cc92c825ef stratum code 2015-07-02 20:58:24 +02:00