Commit graph

28 commits

Author SHA1 Message Date
Tanguy Pruvot
0bf982da95 sql: add hasgetinfo and no_explorer fields to coins table
wallets without getinfo will be handled in a later commit...

ps: remember to restart memcached service after the db change..
2018-02-02 06:03:07 +01:00
Tanguy Pruvot
cbe55a3a84 Squashed commit for segwit support:
commit c59abe5d203fabdabcca81ff5f9c6ff133cfae3b
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Nov 28 11:13:52 2017 +0100

    segwit: show a segwit icon on blocks history

    + remove some inline styles...

commit b4a8639370e6837ebc5a2047e7c334e9f931abfc
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Tue Nov 28 09:55:40 2017 +0100

    segwit: cleanup + masternode case

    tested ok with BSD (block 400996), and with real BTX segwit txs (block 90958)

    also ok on VTC and GRS

commit 926dbd11757ebff7f7d4930266de9b9061c8ab16
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Nov 25 18:41:01 2017 +0100

    sql: add segwit fields, and ui config

    and fill block segwit field if it contains segwit txs,
    an icon is added in the dashboard "last blocks" for these blocks

commit 0b13bf55e9dd1d2229d188f0f8382b27642b20da
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Sat Nov 25 13:47:20 2017 +0100

    segwit: include commitment in coinbase + .conf toggle

    tested ok on BTX, GRS and VTC with normal txs, but the commitment merkle hash maybe need some more love...

    so, to prevent useless bigger blocks, only generate segwit commitment if a segwit tx is present in mempool

    to check with real segwit txs... not seen any yet..

commit b508bc87943d9e426cda994c2f53c16c11e8d4c3
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu Mar 2 11:18:34 2017 +0100

    segwit: prepare the witness data, but disabled

    need more test, may affect the coinbase merkle and the miners...

commit 19bd3a83b9ddddd8b5ed4b7a1bdf8cf8c233e346
Author: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Date:   Thu Mar 2 10:30:29 2017 +0100

    stratum: handle and auto toggle segwit if supported
2017-11-28 11:55:20 +01:00
Tanguy Pruvot
550db2d7de markets: always use official symbols 2017-05-28 08:36:29 +02:00
Tanguy Pruvot
0b4818c36e sql: new coins fields for stratum/pow settings
Also some more fields to cache the available balance (to allow triggers)
2016-11-24 00:10:29 +01:00
Tanguy Pruvot
7a302e9751 benchs: allow to filter by chip 2016-07-01 08:12:24 +02:00
Tanguy Pruvot
53638b1d90 bench: add a task to add new submitted chips
also remove "safe" model rules, seems to create import problems
2016-06-08 19:49:59 +02:00
Tanguy Pruvot
a9eaf75270 sql: add chip table to analyse benchmark results 2016-06-04 11:02:09 +02:00
Tanguy Pruvot
3552577ad3 cli: move deletecoin command to yiimp coin 2016-06-03 12:03:53 +02:00
Tanguy Pruvot
dbdd50321e Add basic notify rules check
sample db rule which mail the admin:

enabled, description, conditiontype, conditionvalue, notifytype

1, 'DCR Greater than X', 'price >', 0.0035, 'email'

see core/backend/notify.php for more details...
2016-06-01 17:32:20 +02:00
Tanguy Pruvot
0f6e93f1ca db: prepare a notification rules table 2016-06-01 14:33:11 +02:00
Tanguy Pruvot
e3a485179b markets: allow to change base coin (experimental) 2016-05-24 23:38:33 +02:00
Tanguy Pruvot
53b1e06b63 users: move delete with deps to the model 2016-05-24 00:34:58 +02:00
Tanguy Pruvot
ad89a55256 sql: add bookmarks table and link to wallet 2016-05-24 00:34:13 +02:00
Tanguy Pruvot
8387b5ed72 benchmarks: simplify and prepare adv search 2016-05-18 21:00:59 +02:00
Tanguy Pruvot
e433228508 benchmarks: basic interface to show results 2016-05-15 23:01:25 +02:00
Tanguy Pruvot
f3c65e270c explorer: dynamic generation of all explorer links
will use a more friendly format if the coin is visible

bitcoins txs will be linked to an external site, and if the site explorer
is disabled, hyperlinks should be disabled (text only)

+ some other changes related to the explorer...
2016-05-03 21:37:18 +02:00
Tanguy Pruvot
6d2ab6efa1 markets: attempt to handle LTC markets
for the test, i added (manually) a market record named "c-cex LTC"
with base_coin set to "LTC", you may have to disable any BTC market(s) for the coin

In this case, the coin BTC price/balance is computed, based on LTC price,
even if the database coin "BTC price" is under 1 sat.

require LTC to be enabled or... "watched" to also update LTC/BTC price

implemented for cryptopia, nova and c-cex, not bleutrade (DOGE only)

+ various small log fixes..
2016-04-28 18:51:23 +02:00
Tanguy Pruvot
7e0c9f69ce sql: settings table for exchange variables
only applied to bittrex as sample, default values are kept if unset.
2016-04-27 09:58:32 +02:00
Tanguy Pruvot
bf7fc3534f sql: keep btc and user defined markets history
will allow to do internal graphes and compute better exchange orders

Also track in the new table a (BTC/EUR) alternative, from kraken public api
this second currency should be user definable later.
2016-04-24 10:23:21 +02:00
Tanguy Pruvot
e4ef728d40 coins: link the new fields in form
notes:
- account "default" should be set for decred
- payout_min handled (should be > txfee)
- payout_max to handle...

stratum rpc/account changes will be made in a second commit
2016-04-03 16:02:04 +02: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
f929225964 coin: add links and rpcencoding fields to the form 2016-02-03 01:31:06 +01:00
Tanguy Pruvot
4cce4a3739 charity: add charity fields on the form and notes 2016-01-18 13:37:20 +01:00
Tanguy Pruvot
b8df948174 hide test coins (non visible) from pool stats
use an advanced yii db criteria and a relation definition
2015-12-15 22:21:15 +01:00
Tanguy Pruvot
9bcb761119 coin: update model to handle form labels 2015-10-30 12:18:45 +01:00
Tanguy Pruvot
bb31cec957 dos2unix all files, we are on linux
trim them, btw... its important to start on a clean base...
2015-07-12 04:40:50 +02:00
Tanguy Pruvot
cfc0d15ae3 some security fixes + lighttpd config sample 2015-07-02 22:48:12 +02:00
root
b5a202e155 init 2015-07-02 20:58:45 +02:00