mirror of
https://github.com/LBRYFoundation/pool.git
synced 2025-08-23 09:27:25 +00:00
sample database change, coins hasmasternodes
This commit is contained in:
parent
79413164c8
commit
1824eb7d64
9 changed files with 24 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -6,3 +6,5 @@ stratum/config/
|
||||||
*.log
|
*.log
|
||||||
web/yaamp/runtime/*
|
web/yaamp/runtime/*
|
||||||
cookies/
|
cookies/
|
||||||
|
bin/blocknotify
|
||||||
|
|
||||||
|
|
0
README.md
Executable file → Normal file
0
README.md
Executable file → Normal file
6
bin/blocknotify.sh
Executable file
6
bin/blocknotify.sh
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#
|
||||||
|
# callback script... replaced by blocknotify binary
|
||||||
|
#
|
||||||
|
# blocknotify="blocknotify.sh --host yaamp --port $stratum_port --id $coin->id --block %s --password tu8tu5"
|
||||||
|
|
|
@ -18,7 +18,7 @@ all: $(SOURCES) $(OUTPUT)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
strip -s $(OUTPUT)
|
strip -s $(OUTPUT)
|
||||||
cp $(OUTPUT) /usr/local/bin/
|
mv $(OUTPUT) ../bin/
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o
|
rm -f *.o
|
||||||
|
|
5
sql/2015-07-01-accounts_hostaddr.sql
Normal file
5
sql/2015-07-01-accounts_hostaddr.sql
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
-- Changes since first yaamp release (already in sql.gz)
|
||||||
|
|
||||||
|
ALTER TABLE `accounts` ADD `login` varchar(45) DEFAULT NULL AFTER `coinsymbol`;
|
||||||
|
ALTER TABLE `accounts` ADD `hostaddr` varchar(39) DEFAULT NULL AFTER `login`;
|
||||||
|
|
4
sql/2015-07-15-coins_hasmasternodes.sql
Normal file
4
sql/2015-07-15-coins_hasmasternodes.sql
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
-- Recent additions to add after db init (.gz)
|
||||||
|
|
||||||
|
ALTER TABLE `coins` ADD `hasmasternodes` TINYINT(1) NOT NULL DEFAULT '0' AFTER `hassubmitblock`;
|
||||||
|
|
4
sql/README.md
Normal file
4
sql/README.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
Please do not replace this .gz in git,
|
||||||
|
|
||||||
|
the best way would be to separate the structure from the data... (2 different sql files)
|
||||||
|
|
|
@ -2,8 +2,9 @@
|
||||||
|
|
||||||
ini_set('date.timezone', 'UTC');
|
ini_set('date.timezone', 'UTC');
|
||||||
|
|
||||||
define('YAAMP_LOGS', '/var/log/yaamp');
|
define('YAAMP_LOGS', '/var/log');
|
||||||
define('YAAMP_HTDOCS', '/var/web');
|
define('YAAMP_HTDOCS', '/var/web');
|
||||||
|
define('YAAMP_BIN', '/var/bin');
|
||||||
|
|
||||||
define('YAAMP_DBHOST', 'localhost');
|
define('YAAMP_DBHOST', 'localhost');
|
||||||
define('YAAMP_DBNAME', 'yaamp');
|
define('YAAMP_DBNAME', 'yaamp');
|
||||||
|
|
Loading…
Add table
Reference in a new issue