Config updates. Renamed BITCOIND to CORE_RPC.

This commit is contained in:
softsimon
2021-01-11 14:53:18 +07:00
parent 008bf695f1
commit b356ffc452
4 changed files with 19 additions and 19 deletions

View File

@@ -15,10 +15,10 @@ class BitcoinApi implements AbstractBitcoinApi {
constructor() {
this.bitcoindClient = new bitcoin.Client({
host: config.BITCOIND.HOST,
port: config.BITCOIND.PORT,
user: config.BITCOIND.USERNAME,
pass: config.BITCOIND.PASSWORD,
host: config.CORE_RPC.HOST,
port: config.CORE_RPC.PORT,
user: config.CORE_RPC.USERNAME,
pass: config.CORE_RPC.PASSWORD,
timeout: 60000,
});
}

View File

@@ -7,10 +7,10 @@ class BitcoinBaseApi {
constructor() {
this.bitcoindClient = new bitcoin.Client({
host: config.BITCOIND.HOST,
port: config.BITCOIND.PORT,
user: config.BITCOIND.USERNAME,
pass: config.BITCOIND.PASSWORD,
host: config.CORE_RPC.HOST,
port: config.CORE_RPC.PORT,
user: config.CORE_RPC.USERNAME,
pass: config.CORE_RPC.PASSWORD,
timeout: 60000,
});
}