Browse Source

bntn ac

custom-ac-example
pbca26 7 years ago
parent
commit
53fece0997
  1. 11
      routes/electrumjs/electrumServers.js
  2. 1
      routes/ports.js
  3. 2
      routes/shepherd/dashboardUpdate.js
  4. 4
      routes/shepherd/electrum/network.js
  5. 4
      version
  6. 2
      version_build

11
routes/electrumjs/electrumServers.js

@ -1,4 +1,15 @@
let electrumServers = { let electrumServers = {
bntn: { // !estimatefee
address: 'electrum1.cipig.net',
port: 10026,
proto: 'tcp',
txfee: 10000,
abbr: 'BNTN',
serverList: [
'electrum1.cipig.net:10026',
'electrum2.cipig.net:10026'
],
},
oot: { // !estimatefee oot: { // !estimatefee
address: 'electrum1.utrum.io', address: 'electrum1.utrum.io',
port: 10088, port: 10088,

1
routes/ports.js

@ -30,6 +30,7 @@ const assetChainPorts = {
'VOTE2018': '15488', 'VOTE2018': '15488',
'NINJA': '8427', 'NINJA': '8427',
'BTCH': '8800', 'BTCH': '8800',
'BNTN': '14358',
}; };
module.exports = assetChainPorts; module.exports = assetChainPorts;

2
routes/shepherd/dashboardUpdate.js

@ -152,7 +152,7 @@ module.exports = (shepherd) => {
amount: sum, amount: sum,
spendable: spendableSum, spendable: spendableSum,
canspend, canspend,
type: a === 0 ? 'public': 'private', type: a === 0 ? 'public' : 'private',
}; };
} }
} }

4
routes/shepherd/electrum/network.js

@ -89,6 +89,7 @@ module.exports = (shepherd) => {
coin === 'VOTE2018' || coin === 'VOTE2018' ||
coin === 'NINJA' || coin === 'NINJA' ||
coin === 'KOMODO' || coin === 'KOMODO' ||
coin === 'BNTN' ||
coinUC === 'SUPERNET' || coinUC === 'SUPERNET' ||
coinUC === 'REVS' || coinUC === 'REVS' ||
coinUC === 'SUPERNET' || coinUC === 'SUPERNET' ||
@ -116,7 +117,8 @@ module.exports = (shepherd) => {
coinUC === 'VOTE2018' || coinUC === 'VOTE2018' ||
coinUC === 'NINJA' || coinUC === 'NINJA' ||
coinUC === 'KMD' || coinUC === 'KMD' ||
coinUC === 'KOMODO') { coinUC === 'KOMODO' ||
coinUC === 'BNTN') {
return shepherd.electrumJSNetworks.komodo; return shepherd.electrumJSNetworks.komodo;
} else { } else {
return shepherd.electrumJSNetworks[network]; return shepherd.electrumJSNetworks[network];

4
version

@ -1,3 +1,3 @@
version=0.2.31 version=0.2.32
type=beta type=beta
minversion=0.2.31 minversion=0.2.32

2
version_build

@ -1 +1 @@
0.2.31-beta 0.2.32-beta
Loading…
Cancel
Save