Skip to content

Commit ba2d6e2

Browse files
Merge pull request #14 from dynamiccreator/dynamiccreator-TESTNET-parameter
server testnet parameter
2 parents 366db89 + 54fca58 commit ba2d6e2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

config.js

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = function () {
55
cnf_username = "";
66
cnf_password = "";
77
cnf_read_block_height = 1700000; //(0 for sync from block 0 or a higher value for quick testing)
8+
cnf_server_mode= "testnet";
89

910
//Maria DB
1011
cnf_db_host = "localhost";

server.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ io.on('connection', socket => {
248248
result.sync_id=sync_id;
249249
result.alias_prices=alias_prices;
250250
result.server_donation_address=cnf_donation_address;
251+
result.server_mode=cnf_server_mode;
251252
socket.emit("server_respond_sync_data",result);
252253
}
253254
else{
@@ -544,4 +545,4 @@ async function get_blockhash_by_blockheight(list){
544545
var result= await alias_database.get_blockhash_by_blockheight(list);
545546
return result;
546547

547-
}
548+
}

0 commit comments

Comments
 (0)