PATH:
home
/
letacommog
/
laindinois
/
wp-content
/
plugins
/
mycred
/
addons
/
buy-creds
/
gateways
/
Bitpay
/
Network
<?php /** * @license Copyright 2011-2014 BitPay Inc., MIT License * see https://github.com/bitpay/php-bitpay-client/blob/master/LICENSE */ namespace Bitpay\Network; /** * * @package Bitcore */ class Customnet implements NetworkInterface { protected $host_url; protected $host_port; public $isPortRequiredInUrl; public function __construct($url, $port, $isPortRequiredInUrl = false) { $this->host_url = $url; $this->host_port = $port; $this->isPortRequiredInUrl = $isPortRequiredInUrl; } public function getName() { return 'Custom Network'; } public function getAddressVersion() { return 0x00; } public function getApiHost() { return $this->host_url; } public function getApiPort() { return $this->host_port; } }
[+]
..
[-] Customnet.php
[edit]
[-] NetworkAwareInterface.php
[edit]
[-] NetworkAware.php
[edit]
[-] Testnet.php
[edit]
[-] Livenet.php
[edit]
[-] NetworkInterface.php
[edit]