Tanguy Pruvot
ae6af25dec
stratum: ensure share params are all strings
2018-06-22 09:25:28 +02:00
Tanguy Pruvot
609f6126ca
stratum: remove duplicated code, merge issue
2018-06-22 08:54:29 +02:00
Tanguy Pruvot
27176b2e09
phi2 changes to handle lux smart contracts
...
adds a smart contract roots field (stateroot+utxoroot) to mining.notify
like lbry do with their claimtrie.
These fields are optional, means there are 2 variants of the phi2 algo
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
2018-06-21 17:27:33 +02:00
Tanguy Pruvot
9038f0941a
coindb: avoid html in retrieved icons
2018-06-21 17:27:20 +02:00
opensourcerulez
0606c9ada8
blocks: prevent duplicated blocks in some conditions... ( #278 )
...
Could happen if you run twice the blocks thread by mistake,
and if block was not notified (inserted asap as status 'new').. unlikely but..
2018-06-13 13:13:04 +02:00
opensourcerulez
9dbce85dcc
stratum: dev/charity fees for coins with masternodes ( #276 )
2018-06-11 21:00:55 +02:00
Tanguy Pruvot
7afdd17e5d
explorer: better check of block PoS type
2018-06-11 04:39:46 +02:00
Tanguy Pruvot
6d52259c11
history: prefer block algo field in case of algo change
...
will not be used in normal cases, but you can temporary display 2 coin algos with that :
in web/yaamp/modules/site/results/found_results.php
@@ -19,6 +19,10 @@ WriteBoxHeader("Last $count Blocks ($algo)");
$criteria->condition .= " AND IFNULL(coin.visible,1)=1"; // ifnull for rental
+if($algo == 'phi2') {
+ $criteria->condition .= " AND t.algo IN(:algo,'phi')";
+ $criteria->params = array(':algo'=>$algo);
+} else
if($algo != 'all') {
2018-06-11 03:56:34 +02:00
Tanguy Pruvot
035d304150
checkup: delete images containing cloudcrap scripts
...
<script src="/_Incapsula_Resource?...>
2018-06-09 08:22:26 +02:00
itamarcps
eee06c920b
stratum: add aergo algo ( #274 )
...
+ spaces fixes
2018-06-08 19:57:04 +02:00
Tanguy Pruvot
6e87460216
stratum: reduce valid ntime range
2018-06-07 11:08:01 +02:00
crackfoo
8841bf4201
explorer: support for DUO multialgo ( #272 )
2018-06-06 18:38:20 +02:00
Tanguy Pruvot
5e0f1e1d1c
handle phi2 algo
2018-06-06 18:30:37 +02:00
Tanguy Pruvot
411a6c7343
stratum: more string params checks
2018-06-03 18:42:40 +02:00
Tanguy Pruvot
ba20dc3ffa
stratum: check if blocknotify string param is set
2018-06-01 18:11:28 +02:00
Tanguy Pruvot
b0a0e53293
rpc: also prevent dangerous methods in core btc class
2018-05-31 15:11:30 +02:00
Tanguy Pruvot
3343328da5
rpc: prevent any dump command
2018-05-31 00:56:59 +02:00
Tanguy Pruvot
c1f2ad7cf0
api: disable rental apis if not enabled
2018-05-30 15:23:22 +02:00
Tanguy Pruvot
5fcb58e9c9
api: add mbtc_mh_factor (mBTC/MH) to status api
...
1000 means mBTC/GH
0.001 for mBTC/kH
2018-05-28 11:48:08 +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
2b932a8a96
stratum: check json version string ptr validity
2018-05-21 15:53:19 +02:00
Jakub Jelen
f3d9f253b3
ci: add travis config ( #212 )
2018-05-18 13:35:17 +02:00
Tanguy Pruvot
8c1964d0d9
lyra2z: prevent filenames with different cases
...
+ rename blake2 to blake2s and reorder algo makefile
2018-05-18 13:09:07 +02:00
crackfoo
a9dc8c5dfd
trading: don't send coins to exchange which have late tx already
2018-05-16 15:16:18 +02:00
Tanguy Pruvot
a3103af7ba
stratum: fix client memory leak in yescrypt
2018-05-14 17:41:03 +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
a98b631a87
coindb: avoid incapsuda html on cryptopia icons
2018-05-09 00:26:13 +02:00
Tanguy Pruvot
f358e723c8
exchanges: ignore coins 'created' by tradesatoshi
...
they have a very huge amount of scams...
2018-05-09 00:13:15 +02:00
Tanguy Pruvot
ca974e661f
backend: keep blocks history at least 7 days
2018-05-08 23:50:10 +02:00
Tanguy Pruvot
b114a1c66f
stratum: common p2sh_pack_tx func for p2sh masternodes
2018-05-07 16:16:40 +02:00
Nico
ed97818e61
stratum: support for MAC P2SH masternodes too ( #266 )
...
note: a field "isscript" should be added to getblocktemplate masternode/superblock objects
if the type of address can vary over time...
Code may be refactored later (common func and p2sh fields in coind object)
2018-05-07 15:41:20 +02:00
Tanguy Pruvot
db7a145c0b
stratum: fix superblock script order
...
was not easy to code without the future wallet code to test it ;)
2018-05-07 15:03:18 +02:00
Tanguy Pruvot
d428130df3
allium: fix pool diff ratio, same as lyra2v2, cf cpuminer-opt
2018-05-06 17:11:20 +02:00
Tanguy Pruvot
b43d646548
handle allium algo, kind of double lyra2
2018-05-06 16:52:57 +02:00
Tanguy Pruvot
daac1a10c6
stratum: merge P2SH superblock code to prevent duplicated code
2018-05-04 21:46:26 +02:00
Tanguy Pruvot
d4b00a8b0b
Revert "stratum: support for Machinecoin 0.16 mn+segwit ( #265 )"
...
This reverts commit a78ec34d37
.
2018-05-04 21:41:06 +02:00
Tanguy Pruvot
fe47cca831
stratum: also prepare normal optional mn+segwit
2018-05-04 19:56:27 +02:00
Nico
a78ec34d37
stratum: support for Machinecoin 0.16 mn+segwit ( #265 )
2018-05-04 19:52:44 +02:00
Tanguy Pruvot
adbdad424e
backend: prevent php bug on empty masternode payee field (LUX)
2018-05-02 16:33:21 +02:00
Jia Wu
8fb9a74164
stratum: add vitalium algo ( #261 )
...
note: beware of the masterscams
2018-05-02 14:27:39 +02:00
crackfoo
6fe2208e2e
yiimp: log ip in debug message for unknown address ( #263 )
2018-05-02 14:11:02 +02:00
crackfoo
078ace3a65
stratum: log ip of new clients ( #262 )
2018-05-02 14:10:39 +02:00
Tanguy Pruvot
138b0079bb
stratum: pre-check bad usernames before db add
2018-05-01 15:36:42 +02:00
Tanguy Pruvot
1bfec2be32
stratum: precheck addresses are valid base58
2018-05-01 15:05:11 +02:00
Tanguy Pruvot
b517afb571
dashboard: some cleanup, remove unused state
2018-04-29 18:42:06 +02:00
Tanguy Pruvot
b22b599b3e
explorer: only allow hexa chars in query params
2018-04-23 15:55:38 +02:00
Lukáš Nový
10be25ee82
stratum: correctly create blocks with 253-255 transactions ( #260 )
...
According to [1], varints of 0xfd to 0xff are prefixed with 0xfd too.
[1]: http://learnmeabitcoin.com/glossary/varint
2018-04-22 04:25:40 +02:00